output
stringlengths
18
557
instruction
stringlengths
22
540
SELECT safari FROM table_name_58 WHERE period = "2012 q4"
CREATE TABLE table_name_58 (safari VARCHAR, period VARCHAR), What safari has 2012 q4 as the period?
SELECT period FROM table_name_36 WHERE internet_explorer = "53.52%"
CREATE TABLE table_name_36 (period VARCHAR, internet_explorer VARCHAR), What period has 53.52% as the internet explorer?
SELECT other FROM table_name_85 WHERE firefox = "20.80%"
CREATE TABLE table_name_85 (other VARCHAR, firefox VARCHAR), What is the other that has 20.80% as the firefox?
SELECT opera FROM table_name_48 WHERE firefox = "19.87%"
CREATE TABLE table_name_48 (opera VARCHAR, firefox VARCHAR), What opera has 19.87% as the firefox?
SELECT COUNT(time) FROM table_name_76 WHERE react = 0.209 AND rank > 7
CREATE TABLE table_name_76 (time VARCHAR, react VARCHAR, rank VARCHAR), How many total Time listings have a 0.209 React entry and a Rank that is greater than 7?
SELECT COUNT(rank) FROM table_name_16 WHERE athlete = "liu xiaosheng" AND react < 0.245
CREATE TABLE table_name_16 (rank VARCHAR, athlete VARCHAR, react VARCHAR), How many total Rank listings have Liu Xiaosheng listed as the athlete with a react entry that is smaller than 0.245?
SELECT AVG(rank) FROM table_name_7 WHERE lane < 4 AND nationality = "san marino"
CREATE TABLE table_name_7 (rank INTEGER, lane VARCHAR, nationality VARCHAR), What is the total average for Rank entries where the Lane listed is smaller than 4 and the Nationality listed is San Marino?
SELECT lane FROM table_name_84 WHERE react > 0.209 AND rank > 6
CREATE TABLE table_name_84 (lane VARCHAR, react VARCHAR, rank VARCHAR), What Lane has a 0.209 React entered with a Rank entry that is larger than 6?
SELECT notes FROM table_name_74 WHERE competition = "world championships" AND position = "2nd"
CREATE TABLE table_name_74 (notes VARCHAR, competition VARCHAR, position VARCHAR), Which Notes have a Competition of world championships, and a Position of 2nd?
SELECT venue FROM table_name_4 WHERE year > 2012
CREATE TABLE table_name_4 (venue VARCHAR, year INTEGER), What was the venue after 2012?
SELECT notes FROM table_name_89 WHERE year = 2011
CREATE TABLE table_name_89 (notes VARCHAR, year VARCHAR), What were the notes in 2011?
SELECT AVG(year) FROM table_name_63 WHERE position = "9th"
CREATE TABLE table_name_63 (year INTEGER, position VARCHAR), Which Year has a Position of 9th?
SELECT MAX(csa_cma_2009_population) FROM table_name_89 WHERE state__province = "ia-il"
CREATE TABLE table_name_89 (csa_cma_2009_population INTEGER, state__province VARCHAR), What's the CSA/CMA Population in IA-IL?
SELECT projected_2025_population FROM table_name_68 WHERE state__province = "in-mi"
CREATE TABLE table_name_68 (projected_2025_population VARCHAR, state__province VARCHAR), What's the projected population of IN-MI?
SELECT rank FROM table_name_90 WHERE lane = 6 AND heat = 2
CREATE TABLE table_name_90 (rank VARCHAR, lane VARCHAR, heat VARCHAR), Can you tell me the Rank that has the Lane of 6, and the Heat of 2?
SELECT time FROM table_name_72 WHERE heat = 1 AND lane = 2
CREATE TABLE table_name_72 (time VARCHAR, heat VARCHAR, lane VARCHAR), Can you tell me the Time that has the Heat of 1, and the Lane of 2?
SELECT SUM(game) FROM table_name_46 WHERE score = "87-92"
CREATE TABLE table_name_46 (game INTEGER, score VARCHAR), What is the Game # that scored 87-92?
SELECT MIN(rank) FROM table_name_7 WHERE nation = "spain"
CREATE TABLE table_name_7 (rank INTEGER, nation VARCHAR), What is the lowest rank that spain got?
SELECT result FROM table_name_58 WHERE competition = "2000 asian cup qualification"
CREATE TABLE table_name_58 (result VARCHAR, competition VARCHAR), What was the result from the 2000 asian cup qualification?
SELECT date FROM table_name_91 WHERE score = "7–0"
CREATE TABLE table_name_91 (date VARCHAR, score VARCHAR), On what date was the game that had a score of 7–0?
SELECT result FROM table_name_38 WHERE date = "february 27, 2000"
CREATE TABLE table_name_38 (result VARCHAR, date VARCHAR), What was the result of the game that was played on february 27, 2000?
SELECT competition FROM table_name_95 WHERE score = "3–1"
CREATE TABLE table_name_95 (competition VARCHAR, score VARCHAR), During what competition was a game played with a score of 3–1?
SELECT score FROM table_name_31 WHERE competition = "king's cup 2000"
CREATE TABLE table_name_31 (score VARCHAR, competition VARCHAR), What was the score from the king's cup 2000?
SELECT tie_no FROM table_name_72 WHERE home_team = "port vale"
CREATE TABLE table_name_72 (tie_no VARCHAR, home_team VARCHAR), What is the tie number when the home team is Port Vale?
SELECT score FROM table_name_67 WHERE home_team = "liverpool"
CREATE TABLE table_name_67 (score VARCHAR, home_team VARCHAR), What is the score in the Liverpool home game?
SELECT away_team FROM table_name_28 WHERE tie_no = "3"
CREATE TABLE table_name_28 (away_team VARCHAR, tie_no VARCHAR), Which away team has a tie number of 3?
SELECT murder__2012__rate_per_100, 000 FROM table_name_26 WHERE peace__2012__gpi = 1.616
CREATE TABLE table_name_26 (murder__2012__rate_per_100 VARCHAR, peace__2012__gpi VARCHAR), What murder (2012) rate per 100,00 also has a 1.616 as the peace (2012) GPI?
SELECT COUNT(poverty__2009__hpi_1__percentage) FROM table_name_69 WHERE gdp__ppp___2012__us$_per_capita = "11,284"
CREATE TABLE table_name_69 (poverty__2009__hpi_1__percentage VARCHAR, gdp__ppp___2012__us$_per_capita VARCHAR), What is the sum of poverty (2009) HPI-1 % when the GDP (PPP) (2012) US$ per capita of 11,284?
SELECT notes FROM table_name_94 WHERE time = "6:24.21"
CREATE TABLE table_name_94 (notes VARCHAR, time VARCHAR), What are the notes with the time 6:24.21?
SELECT country FROM table_name_68 WHERE rank = 2
CREATE TABLE table_name_68 (country VARCHAR, rank VARCHAR), What country is ranked #2?
SELECT time FROM table_name_78 WHERE rank = 3
CREATE TABLE table_name_78 (time VARCHAR, rank VARCHAR), What's the time of Rank 3?
SELECT championship_titles FROM table_name_83 WHERE fastest_laps < 3 AND podiums = 22
CREATE TABLE table_name_83 (championship_titles VARCHAR, fastest_laps VARCHAR, podiums VARCHAR), How many titles for the nation with less than 3 fastest laps and 22 podiums?
SELECT MIN(fastest_laps) FROM table_name_74 WHERE race_entries__starts_ = "32 (30)" AND podiums < 2
CREATE TABLE table_name_74 (fastest_laps INTEGER, race_entries__starts_ VARCHAR, podiums VARCHAR), How many fastest laps for the nation with 32 (30) entries and starts and fewer than 2 podiums?
SELECT jury FROM table_name_51 WHERE singer = "kostas bigalis & mirella fragkopoulou"
CREATE TABLE table_name_51 (jury VARCHAR, singer VARCHAR), Kostas Bigalis & Mirella Fragkopoulou the singer had what has the jury?
SELECT MAX(draw) FROM table_name_62 WHERE place = "4th"
CREATE TABLE table_name_62 (draw INTEGER, place VARCHAR), What is the greatest draw that has 4th for place?
SELECT jury FROM table_name_6 WHERE singer = "maria-louiza & not 4 sale"
CREATE TABLE table_name_6 (jury VARCHAR, singer VARCHAR), Singer Maria-Louiza & Not 4 Sale had what jury?
SELECT song FROM table_name_73 WHERE televoting__votes_ = "2nd (25,517)"
CREATE TABLE table_name_73 (song VARCHAR, televoting__votes_ VARCHAR), What song was 2nd (25,517) in televoting (votes)?
SELECT AVG(rank) FROM table_name_59 WHERE group = "a" AND athlete = "yanina karolchyk" AND result > 18
CREATE TABLE table_name_59 (rank INTEGER, result VARCHAR, group VARCHAR, athlete VARCHAR), What is the average rank for Group A athlete Yanina Karolchyk, and a result higher than 18?
SELECT athlete FROM table_name_43 WHERE result = 18.55
CREATE TABLE table_name_43 (athlete VARCHAR, result VARCHAR), Which athlete, has an 18.55 result
SELECT name FROM table_name_12 WHERE result = 54.67
CREATE TABLE table_name_12 (name VARCHAR, result VARCHAR), Who has a Result of 54.67?
SELECT nationality FROM table_name_16 WHERE heat < 2 AND rank = 15
CREATE TABLE table_name_16 (nationality VARCHAR, heat VARCHAR, rank VARCHAR), Which Nationality has a Heat smaller than 2, and a Rank of 15?
SELECT MAX(rank) FROM table_name_73 WHERE name = "tsvetelina kirilova" AND result < 55.97
CREATE TABLE table_name_73 (rank INTEGER, name VARCHAR, result VARCHAR), Which Rank has a Name of tsvetelina kirilova, and a Result smaller than 55.97?
SELECT MIN(heat) FROM table_name_30 WHERE nationality = "bulgaria" AND result > 55.97
CREATE TABLE table_name_30 (heat INTEGER, nationality VARCHAR, result VARCHAR), Which Heat has a Nationality of bulgaria, and a Result larger than 55.97?
SELECT notes FROM table_name_23 WHERE builder = "ford" AND total = "5"
CREATE TABLE table_name_23 (notes VARCHAR, builder VARCHAR, total VARCHAR), What are the notes for Ford when the total is 5?
SELECT builder FROM table_name_30 WHERE fleet_series = "s057-s061"
CREATE TABLE table_name_30 (builder VARCHAR, fleet_series VARCHAR), Which builder has a fleet series of s057-s061?
SELECT total FROM table_name_84 WHERE builder = "international"
CREATE TABLE table_name_84 (total VARCHAR, builder VARCHAR), How many international builders are there?
SELECT model FROM table_name_60 WHERE fleet_series = "s410-s434"
CREATE TABLE table_name_60 (model VARCHAR, fleet_series VARCHAR), Which model with a fleet series of s410-s434?
SELECT MIN(total) FROM table_name_31 WHERE silver < 18 AND rank = "14"
CREATE TABLE table_name_31 (total INTEGER, silver VARCHAR, rank VARCHAR), What is the lowest total for those receiving less than 18 but more than 14?
SELECT COUNT(draws) FROM table_name_94 WHERE losses > 5 AND club = "mortlake"
CREATE TABLE table_name_94 (draws VARCHAR, losses VARCHAR, club VARCHAR), How many draws did Mortlake have when the losses were more than 5?
SELECT MAX(draws) FROM table_name_73 WHERE losses > 8 AND wins < 2
CREATE TABLE table_name_73 (draws INTEGER, losses VARCHAR, wins VARCHAR), What is the draw when the losses were more than 8 and less than 2 wins?
SELECT COUNT(wins) FROM table_name_90 WHERE club = "cobden" AND draws > 0
CREATE TABLE table_name_90 (wins VARCHAR, club VARCHAR, draws VARCHAR), How many wins did Cobden have when draws were more than 0?
SELECT COUNT(losses) FROM table_name_35 WHERE draws = 0 AND wins > 11
CREATE TABLE table_name_35 (losses VARCHAR, draws VARCHAR, wins VARCHAR), What's the number of losses when the wins were more than 11 and had 0 draws?
SELECT score FROM table_name_98 WHERE date = "16 december 1978" AND tie_no = "9"
CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR, tie_no VARCHAR), What is the score for the date of 16 december 1978, with a tie no of 9?
SELECT tie_no FROM table_name_26 WHERE home_team = "swansea city"
CREATE TABLE table_name_26 (tie_no VARCHAR, home_team VARCHAR), What is the tie no for the home team swansea city?
SELECT date FROM table_name_57 WHERE tie_no = "replay" AND away_team = "watford"
CREATE TABLE table_name_57 (date VARCHAR, tie_no VARCHAR, away_team VARCHAR), What date had a tie no of replay, and an away team of watford?
SELECT away_team FROM table_name_95 WHERE home_team = "colchester united"
CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR), Waht was the away team when the home team is colchester united?
SELECT tie_no FROM table_name_59 WHERE away_team = "altrincham"
CREATE TABLE table_name_59 (tie_no VARCHAR, away_team VARCHAR), What is the tie no for the away team altrincham?
SELECT pos FROM table_name_25 WHERE name = "michael lee"
CREATE TABLE table_name_25 (pos VARCHAR, name VARCHAR), Which position did Michael Lee play?
SELECT weight FROM table_name_50 WHERE name = "serhiy alfyorov"
CREATE TABLE table_name_50 (weight VARCHAR, name VARCHAR), What was the weight of Serhiy Alfyorov?
SELECT weight FROM table_name_63 WHERE born = "1980"
CREATE TABLE table_name_63 (weight VARCHAR, born VARCHAR), What is the weight of the person born in 1980?
SELECT pos FROM table_name_20 WHERE born = "1984" AND height = "1.80"
CREATE TABLE table_name_20 (pos VARCHAR, born VARCHAR, height VARCHAR), What is the position of the player born in 1984 with a height of 1.80m?
SELECT weight FROM table_name_58 WHERE height = "2.00"
CREATE TABLE table_name_58 (weight VARCHAR, height VARCHAR), What is the weight of the player with a height of 2.00m?
SELECT MAX(round) FROM table_name_68 WHERE school_club_team = "arizona" AND pick < 298
CREATE TABLE table_name_68 (round INTEGER, school_club_team VARCHAR, pick VARCHAR), Which Round has a School/Club Team of arizona, and a Pick smaller than 298?
SELECT player FROM table_name_99 WHERE position = "linebacker"
CREATE TABLE table_name_99 (player VARCHAR, position VARCHAR), Who plays linebacker?
SELECT player FROM table_name_48 WHERE pick = 160
CREATE TABLE table_name_48 (player VARCHAR, pick VARCHAR), Which player's pick is 160?
SELECT status FROM table_name_18 WHERE total_votes = "0" AND couples_team = "purple team"
CREATE TABLE table_name_18 (status VARCHAR, total_votes VARCHAR, couples_team VARCHAR), Who had 0 total votes in the purple team?
SELECT total_votes FROM table_name_27 WHERE members = "holly scouler"
CREATE TABLE table_name_27 (total_votes VARCHAR, members VARCHAR), What were Holly Scouler's total votes?
SELECT total_votes FROM table_name_62 WHERE members = "holly scouler"
CREATE TABLE table_name_62 (total_votes VARCHAR, members VARCHAR), What was Holly Scouler's total votes
SELECT max_aperture FROM table_name_77 WHERE focal_length = "20mm"
CREATE TABLE table_name_77 (max_aperture VARCHAR, focal_length VARCHAR), What is the maximum aperture of the lens(es) with a focal length of 20mm?
SELECT 35 AS mm_efl_and_equivalent_aperture FROM table_name_67 WHERE max_aperture = "f /2.5"
CREATE TABLE table_name_67 (max_aperture VARCHAR), What is the 35mm EFL and the equivalent aperture of the lens(es) with a maximum aperture of f /2.5?
SELECT MIN(rank) FROM table_name_54 WHERE notes = "fb" AND athlete = "andre vonarburg"
CREATE TABLE table_name_54 (rank INTEGER, notes VARCHAR, athlete VARCHAR), What is the lowest rank for Andre Vonarburg, when the notes are FB?
SELECT athlete FROM table_name_44 WHERE country = "norway"
CREATE TABLE table_name_44 (athlete VARCHAR, country VARCHAR), Which athlete is from Norway?
SELECT notes FROM table_name_46 WHERE athlete = "lassi karonen"
CREATE TABLE table_name_46 (notes VARCHAR, athlete VARCHAR), What is listed in notes for the athlete, lassi karonen?
SELECT MAX(rank) FROM table_name_10 WHERE time = "6:50.40"
CREATE TABLE table_name_10 (rank INTEGER, time VARCHAR), What is the highest rank for the team that raced a time of 6:50.40?
SELECT SUM(rank) FROM table_name_59 WHERE country = "india"
CREATE TABLE table_name_59 (rank INTEGER, country VARCHAR), What is the sum of the ranks for india?
SELECT nation FROM table_name_84 WHERE performance = "9.69"
CREATE TABLE table_name_84 (nation VARCHAR, performance VARCHAR), Which nation ran a time of 9.69 seconds?
SELECT place FROM table_name_49 WHERE nation = "cuba"
CREATE TABLE table_name_49 (place VARCHAR, nation VARCHAR), What is the Place associated with Cuba?
SELECT place FROM table_name_50 WHERE nation = "jamaica" AND performance = "19.30"
CREATE TABLE table_name_50 (place VARCHAR, nation VARCHAR, performance VARCHAR), Which place had a performance of 19.30 seconds by Jamaica?
SELECT game FROM table_name_85 WHERE year = 2005
CREATE TABLE table_name_85 (game VARCHAR, year VARCHAR), What game was in 2005?
SELECT game FROM table_name_66 WHERE year = 2001
CREATE TABLE table_name_66 (game VARCHAR, year VARCHAR), What game was in 2001?
SELECT game FROM table_name_7 WHERE year = 2011
CREATE TABLE table_name_7 (game VARCHAR, year VARCHAR), What game was in 2011?
SELECT platform_s_ FROM table_name_33 WHERE developer_s_ = "rockstar games"
CREATE TABLE table_name_33 (platform_s_ VARCHAR, developer_s_ VARCHAR), What's the platform that has Rockstar Games as the developer?
SELECT genre FROM table_name_23 WHERE year < 2002 AND game = "the sims"
CREATE TABLE table_name_23 (genre VARCHAR, year VARCHAR, game VARCHAR), What's the genre of The Sims before 2002?
SELECT actor FROM table_name_73 WHERE character = "marie-rose de putter"
CREATE TABLE table_name_73 (actor VARCHAR, character VARCHAR), What actor plays Marie-Rose De Putter?
SELECT character FROM table_name_93 WHERE duration = "13 years" AND actor = "vicky versavel"
CREATE TABLE table_name_93 (character VARCHAR, duration VARCHAR, actor VARCHAR), What character did Vicky Versavel play for 13 years?
SELECT years FROM table_name_74 WHERE torque = "n·m (lb·ft)@1750-3000" AND model = "sdrive16d"
CREATE TABLE table_name_74 (years VARCHAR, torque VARCHAR, model VARCHAR), What years did the sdrive16d model have a Torque of n·m (lb·ft)@1750-3000?
SELECT torque FROM table_name_60 WHERE power = "ps (kw; hp)@4000" AND model = "xdrive20d"
CREATE TABLE table_name_60 (torque VARCHAR, power VARCHAR, model VARCHAR), What is the torque of the xdrive20d model, which has a power of ps (kw; hp)@4000?
SELECT engine_code FROM table_name_11 WHERE model = "xdrive23d"
CREATE TABLE table_name_11 (engine_code VARCHAR, model VARCHAR), What is the engine code of the xdrive23d model?
SELECT model FROM table_name_60 WHERE torque = "n·m (lb·ft)@1500-2500"
CREATE TABLE table_name_60 (model VARCHAR, torque VARCHAR), What model is the n·m (lb·ft)@1500-2500 torque?
SELECT ihsaa_football_class FROM table_name_78 WHERE ihsaa_class = "aaa" AND location = "decatur"
CREATE TABLE table_name_78 (ihsaa_football_class VARCHAR, ihsaa_class VARCHAR, location VARCHAR), What's the IHSAA Football Class in Decatur with an AAA IHSAA class?
SELECT MAX(enrollment) FROM table_name_73 WHERE location = "kendallville"
CREATE TABLE table_name_73 (enrollment INTEGER, location VARCHAR), What's the enrollment for Kendallville?
SELECT country FROM table_name_77 WHERE medal = "silver" AND event = "boxing, heavyweight"
CREATE TABLE table_name_77 (country VARCHAR, medal VARCHAR, event VARCHAR), What country has a silver medal in the boxing, heavyweight event?
SELECT event FROM table_name_68 WHERE medal = "bronze" AND olympics = "2000 summer olympics"
CREATE TABLE table_name_68 (event VARCHAR, medal VARCHAR, olympics VARCHAR), What is the event in the 2000 summer olympics with a bronze medal?
SELECT event FROM table_name_57 WHERE olympics = "1952 summer olympics"
CREATE TABLE table_name_57 (event VARCHAR, olympics VARCHAR), Which event is in the 1952 summer olympics?
SELECT country FROM table_name_16 WHERE olympics = "2008 summer olympics" AND name = "vadim devyatovskiy"
CREATE TABLE table_name_16 (country VARCHAR, olympics VARCHAR, name VARCHAR), Which country in the 2008 summer olympics is vadim devyatovskiy from?
SELECT AVG(gold) FROM table_name_19 WHERE nation = "netherlands" AND bronze > 0
CREATE TABLE table_name_19 (gold INTEGER, nation VARCHAR, bronze VARCHAR), What is the average Gold entry for the Netherlands that also has a Bronze entry that is greater than 0?
SELECT nation FROM table_name_28 WHERE gold > 0 AND total > 2 AND bronze = 0 AND silver > 1
CREATE TABLE table_name_28 (nation VARCHAR, silver VARCHAR, bronze VARCHAR, gold VARCHAR, total VARCHAR), What Nation has a Gold entry that is greater than 0, a Total that is greater than 2, a Silver entry that is larger than 1, and 0 Bronze?
SELECT AVG(gold) FROM table_name_90 WHERE bronze < 2 AND nation = "turkey" AND total > 1
CREATE TABLE table_name_90 (gold INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR), What is Turkey's average Gold entry that also has a Bronze entry that is smaller than 2 and the Total is greater than 1?
SELECT MIN(losses) FROM table_name_41 WHERE byes < 0
CREATE TABLE table_name_41 (losses INTEGER, byes INTEGER), What were the losses when the byes were less than 0?
SELECT play FROM table_name_11 WHERE company = "national theatre of greece"
CREATE TABLE table_name_11 (play VARCHAR, company VARCHAR), what is the play when the company is national theatre of greece?