instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the Name of the Player with a Rank of 23 or less, Heat of 4 and Result of 55.91?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (name VARCHAR, result VARCHAR, heat VARCHAR, rank VARCHAR)
SELECT name FROM table_name_84 WHERE heat = 4 AND rank < 23 AND result = "55.91"
Write a SQL query that answers the following question: What is the Heat of the Player with a Rank of 18 or less and Result of 55.15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (heat VARCHAR, rank VARCHAR, result VARCHAR)
SELECT heat FROM table_name_54 WHERE rank < 18 AND result = "55.15"
Write a SQL query that answers the following question: What is the quantity preserved for fleet number(s) 3000–3015?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (quantity_preserved VARCHAR, fleet_number_s_ VARCHAR)
SELECT quantity_preserved FROM table_name_11 WHERE fleet_number_s_ = "3000–3015"
Write a SQL query that answers the following question: What manufacturer has a wheel arrangement of 4-6-6-4, and a Class of z-7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (manufacturer VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)
SELECT manufacturer FROM table_name_34 WHERE wheel_arrangement = "4-6-6-4" AND class = "z-7"
Write a SQL query that answers the following question: What is the Year for fleet number 5000?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (year_made VARCHAR, fleet_number_s_ VARCHAR)
SELECT year_made FROM table_name_98 WHERE fleet_number_s_ = "5000"
Write a SQL query that answers the following question: What year made has a Quantity made of 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (year_made VARCHAR, quantity_made VARCHAR)
SELECT year_made FROM table_name_63 WHERE quantity_made = "4"
Write a SQL query that answers the following question: What is the quantity preserved for the serial number of mallet and simple articulated locomotives?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (quantity_preserved VARCHAR, serial_numbers VARCHAR)
SELECT quantity_preserved FROM table_name_19 WHERE serial_numbers = "mallet and simple articulated locomotives"
Write a SQL query that answers the following question: How many silver medals did Estonia, which won more than 1 gold and less than 97 medals total, win?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (silver VARCHAR, nation VARCHAR, gold VARCHAR, total VARCHAR)
SELECT silver FROM table_name_20 WHERE gold > 1 AND total < 97 AND nation = "estonia"
Write a SQL query that answers the following question: How many gold medals did Denmark win?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (gold INTEGER, nation VARCHAR)
SELECT MIN(gold) FROM table_name_65 WHERE nation = "denmark"
Write a SQL query that answers the following question: What is the total number of gold medals won among nations that won more than 27 bronze and less than 305 medals total?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (gold VARCHAR, bronze VARCHAR, total VARCHAR)
SELECT COUNT(gold) FROM table_name_59 WHERE bronze > 27 AND total < 305
Write a SQL query that answers the following question: How many gold medals were won by the nation that won over 4 silver medals, over 14 bronze, and 97 medals total?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (gold VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT COUNT(gold) FROM table_name_88 WHERE silver > 4 AND bronze > 14 AND total = 97
Write a SQL query that answers the following question: What is the highest championship that has 1 as the league cup, and 17 as the total?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (championship INTEGER, league_cup VARCHAR, total VARCHAR)
SELECT MAX(championship) FROM table_name_85 WHERE league_cup = 1 AND total = "17"
Write a SQL query that answers the following question: How many league cups have an FA Cup less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (league_cup VARCHAR, fa_cup INTEGER)
SELECT COUNT(league_cup) FROM table_name_70 WHERE fa_cup < 0
Write a SQL query that answers the following question: What is the average rank of west germany (frg), which has more than 1 silver, less than 11 gold, and 2 bronze medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (rank INTEGER, nation VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT AVG(rank) FROM table_name_48 WHERE silver > 1 AND gold < 11 AND bronze = 2 AND nation = "west germany (frg)"
Write a SQL query that answers the following question: What's the date when Yelena Isinbayeva for Russia was in Beijing, China?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (date VARCHAR, athlete VARCHAR, nation VARCHAR, place VARCHAR)
SELECT date FROM table_name_82 WHERE nation = "russia" AND place = "beijing, china" AND athlete = "yelena isinbayeva"
Write a SQL query that answers the following question: What's the performance of Dire Tune?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (performance VARCHAR, athlete VARCHAR)
SELECT performance FROM table_name_89 WHERE athlete = "dire tune"
Write a SQL query that answers the following question: What place had 14:11.15 as the performance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (place VARCHAR, performance VARCHAR)
SELECT place FROM table_name_33 WHERE performance = "14:11.15"
Write a SQL query that answers the following question: What's the event that had a performance of 14:11.15 by Ethiopia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (event VARCHAR, nation VARCHAR, performance VARCHAR)
SELECT event FROM table_name_51 WHERE nation = "ethiopia" AND performance = "14:11.15"
Write a SQL query that answers the following question: What was the position of the player picked after 94, by the Boston Patriots?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (position VARCHAR, pick VARCHAR, team VARCHAR)
SELECT position FROM table_name_96 WHERE pick > 94 AND team = "boston patriots"
Write a SQL query that answers the following question: What college had the 93 pick?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (college VARCHAR, pick VARCHAR)
SELECT college FROM table_name_50 WHERE pick = 93
Write a SQL query that answers the following question: What venue has euro 2004 q. as the competition?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_60 WHERE competition = "euro 2004 q."
Write a SQL query that answers the following question: What county is Whiteland Community School in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (county VARCHAR, school VARCHAR)
SELECT county FROM table_name_72 WHERE school = "whiteland community"
Write a SQL query that answers the following question: What county has a football team in IHSAA class AAAAA and a school macot of the Grizzly Cubs?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (county VARCHAR, ihsaa_football_class VARCHAR, mascot VARCHAR)
SELECT county FROM table_name_25 WHERE ihsaa_football_class = "aaaaa" AND mascot = "grizzly cubs"
Write a SQL query that answers the following question: What county has a school mascot of the Pioneers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (county VARCHAR, mascot VARCHAR)
SELECT county FROM table_name_71 WHERE mascot = "pioneers"
Write a SQL query that answers the following question: What are the IHSAA classes of the Indianapolis schools?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (ihsaa_class VARCHAR, location VARCHAR)
SELECT ihsaa_class FROM table_name_34 WHERE location = "indianapolis"
Write a SQL query that answers the following question: Which Song has Points smaller than 53, and a Place larger than 8, and a Draw larger than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (song VARCHAR, draw VARCHAR, points VARCHAR, place VARCHAR)
SELECT song FROM table_name_52 WHERE points < 53 AND place > 8 AND draw > 1
Write a SQL query that answers the following question: What is the result for the Green-Communist party when the Left Bloc has 3.6%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (green_communist VARCHAR, left_bloc VARCHAR)
SELECT green_communist FROM table_name_64 WHERE left_bloc = "3.6%"
Write a SQL query that answers the following question: What is the result for the Green-Communist party when the Left Bloc has 3.0%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (green_communist VARCHAR, left_bloc VARCHAR)
SELECT green_communist FROM table_name_87 WHERE left_bloc = "3.0%"
Write a SQL query that answers the following question: What is the date released when the Left Bloc had 3.2%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (date_released VARCHAR, left_bloc VARCHAR)
SELECT date_released FROM table_name_35 WHERE left_bloc = "3.2%"
Write a SQL query that answers the following question: What is the cardinalatial order of the elector elevated circa 1116?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (cardinalatial_order_and_title VARCHAR, elevated VARCHAR)
SELECT cardinalatial_order_and_title FROM table_name_26 WHERE elevated = "circa 1116"
Write a SQL query that answers the following question: When was the elector from pisa elevated?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (elevated VARCHAR, nationality VARCHAR)
SELECT elevated FROM table_name_13 WHERE nationality = "pisa"
Write a SQL query that answers the following question: What is the cardinalatial order and title of bosone?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (cardinalatial_order_and_title VARCHAR, elector VARCHAR)
SELECT cardinalatial_order_and_title FROM table_name_92 WHERE elector = "bosone"
Write a SQL query that answers the following question: Who is the elevator from crema?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (elevator VARCHAR, nationality VARCHAR)
SELECT elevator FROM table_name_83 WHERE nationality = "crema"
Write a SQL query that answers the following question: What is the name of the swimmer from Australia in lane 4 with a heat larger than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (name VARCHAR, nationality VARCHAR, heat VARCHAR, lane VARCHAR)
SELECT name FROM table_name_16 WHERE heat > 4 AND lane = 4 AND nationality = "australia"
Write a SQL query that answers the following question: What is the lowest heat number for a swimmer with a time of 2:34.94?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (heat INTEGER, time VARCHAR)
SELECT MIN(heat) FROM table_name_5 WHERE time = "2:34.94"
Write a SQL query that answers the following question: What is the rank of the player from Ukraine with react less than 0.26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (rank VARCHAR, nationality VARCHAR, react VARCHAR)
SELECT COUNT(rank) FROM table_name_29 WHERE nationality = "ukraine" AND react < 0.26
Write a SQL query that answers the following question: What was the highest week with a w 21-17 result, and more than 45,254 in attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (week INTEGER, result VARCHAR, attendance VARCHAR)
SELECT MAX(week) FROM table_name_81 WHERE result = "w 21-17" AND attendance > 45 OFFSET 254
Write a SQL query that answers the following question: What's the Proto-Germanic when the Old English is /d/?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (proto_germanic VARCHAR, old_english VARCHAR)
SELECT proto_germanic FROM table_name_3 WHERE old_english = "/d/"
Write a SQL query that answers the following question: What's the Proto Germanic when then German is /s/ or /ts/?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (proto_germanic VARCHAR, german VARCHAR)
SELECT proto_germanic FROM table_name_41 WHERE german = "/s/ or /ts/"
Write a SQL query that answers the following question: What's the Dutch when then Old English is /d/?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (dutch VARCHAR, old_english VARCHAR)
SELECT dutch FROM table_name_66 WHERE old_english = "/d/"
Write a SQL query that answers the following question: What's the West Germanic when the German is /s/ or /ts/?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (west_germanic VARCHAR, german VARCHAR)
SELECT west_germanic FROM table_name_90 WHERE german = "/s/ or /ts/"
Write a SQL query that answers the following question: What's the Proto-Germanic when the German is /t/?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (proto_germanic VARCHAR, german VARCHAR)
SELECT proto_germanic FROM table_name_48 WHERE german = "/t/"
Write a SQL query that answers the following question: What is the to par for japan
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (to_par VARCHAR, country VARCHAR)
SELECT to_par FROM table_name_49 WHERE country = "japan"
Write a SQL query that answers the following question: what player has $187,500 and score 66-75-71-69=281
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (player VARCHAR, money___$__ VARCHAR, score VARCHAR)
SELECT player FROM table_name_4 WHERE money___$__ = "187,500" AND score = 66 - 75 - 71 - 69 = 281
Write a SQL query that answers the following question: what place has score 66-74-68-73=281
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_74 WHERE score = 66 - 74 - 68 - 73 = 281
Write a SQL query that answers the following question: what player has place t10
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (player VARCHAR, place VARCHAR)
SELECT player FROM table_name_37 WHERE place = "t10"
Write a SQL query that answers the following question: what is the to par for $242,813 with score 68-72-74-66=280
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (to_par VARCHAR, money___$__ VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_83 WHERE money___$__ = "242,813" AND score = 68 - 72 - 74 - 66 = 280
Write a SQL query that answers the following question: Which School has a Size larger than 408, and a Mascot of pacers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (school VARCHAR, size VARCHAR, mascot VARCHAR)
SELECT school FROM table_name_59 WHERE size > 408 AND mascot = "pacers"
Write a SQL query that answers the following question: Which Size has an IHSAA Class of aa, and a Location of milan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (size INTEGER, ihsaa_class VARCHAR, location VARCHAR)
SELECT SUM(size) FROM table_name_76 WHERE ihsaa_class = "aa" AND location = "milan"
Write a SQL query that answers the following question: Which County has a Mascot of pacers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (county VARCHAR, mascot VARCHAR)
SELECT county FROM table_name_36 WHERE mascot = "pacers"
Write a SQL query that answers the following question: Which Mascot has a County of 69 ripley, and an IHSAA Class of aa, and a School of south ripley?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (mascot VARCHAR, school VARCHAR, county VARCHAR, ihsaa_class VARCHAR)
SELECT mascot FROM table_name_30 WHERE county = "69 ripley" AND ihsaa_class = "aa" AND school = "south ripley"
Write a SQL query that answers the following question: Who was in Lane 5 and had a heat of 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (name VARCHAR, heat VARCHAR, lane VARCHAR)
SELECT name FROM table_name_32 WHERE heat = 7 AND lane = 5
Write a SQL query that answers the following question: What lane number was Hungary and had a heat of 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (lane VARCHAR, heat VARCHAR, nationality VARCHAR)
SELECT COUNT(lane) FROM table_name_22 WHERE heat = 4 AND nationality = "hungary"
Write a SQL query that answers the following question: What's the date when the score was 690.3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_77 WHERE score = "690.3"
Write a SQL query that answers the following question: What's the place of 1989 with a comp of ECH?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (place VARCHAR, comp VARCHAR, date VARCHAR)
SELECT place FROM table_name_94 WHERE comp = "ech" AND date = "1989"
Write a SQL query that answers the following question: Who was the shooter with a score of 686.4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (shooter VARCHAR, score VARCHAR)
SELECT shooter FROM table_name_59 WHERE score = "686.4"
Write a SQL query that answers the following question: what is the year for borderlands 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (year VARCHAR, game VARCHAR)
SELECT year FROM table_name_81 WHERE game = "borderlands 2"
Write a SQL query that answers the following question: what is the year for the game dead space 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (year VARCHAR, game VARCHAR)
SELECT year FROM table_name_53 WHERE game = "dead space 2"
Write a SQL query that answers the following question: who is the developers for demon's souls?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (developer_s_ VARCHAR, game VARCHAR)
SELECT developer_s_ FROM table_name_8 WHERE game = "demon's souls"
Write a SQL query that answers the following question: In what year is Zaxxon the Standalone?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (year VARCHAR, standalone VARCHAR)
SELECT year FROM table_name_88 WHERE standalone = "zaxxon"
Write a SQL query that answers the following question: What is the Standalone in the year when Space Invaders is the Console?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (standalone VARCHAR, console VARCHAR)
SELECT standalone FROM table_name_43 WHERE console = "space invaders"
Write a SQL query that answers the following question: What is the Standalone when Tron is the Arcade?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (standalone VARCHAR, arcade VARCHAR)
SELECT standalone FROM table_name_99 WHERE arcade = "tron"
Write a SQL query that answers the following question: What is the Console when Space Invaders is the Arcade?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (console VARCHAR, arcade VARCHAR)
SELECT console FROM table_name_59 WHERE arcade = "space invaders"
Write a SQL query that answers the following question: What position does the player from the Arizona Diamondbacks play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (position VARCHAR, team VARCHAR)
SELECT position FROM table_name_6 WHERE team = "arizona diamondbacks"
Write a SQL query that answers the following question: What school did P Jay Gehrke of the Kansas City Royals attend?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (school VARCHAR, player VARCHAR, position VARCHAR, team VARCHAR)
SELECT school FROM table_name_30 WHERE position = "p" AND team = "kansas city royals" AND player = "jay gehrke"
Write a SQL query that answers the following question: What country does Adam van Koeverden play for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (country VARCHAR, athletes VARCHAR)
SELECT country FROM table_name_31 WHERE athletes = "adam van koeverden"
Write a SQL query that answers the following question: what is the pick when the school is jasper hs (jasper, texas)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (pick VARCHAR, school VARCHAR)
SELECT pick FROM table_name_63 WHERE school = "jasper hs (jasper, texas)"
Write a SQL query that answers the following question: who is the player when the position is p and the team is oakland athletics?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (player VARCHAR, position VARCHAR, team VARCHAR)
SELECT player FROM table_name_99 WHERE position = "p" AND team = "oakland athletics"
Write a SQL query that answers the following question: what is the school when the team is new york yankees?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (school VARCHAR, team VARCHAR)
SELECT school FROM table_name_1 WHERE team = "new york yankees"
Write a SQL query that answers the following question: who is the player when the school is spring hs (spring, texas)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (player VARCHAR, school VARCHAR)
SELECT player FROM table_name_24 WHERE school = "spring hs (spring, texas)"
Write a SQL query that answers the following question: What's the melamine content of 英雄牌嬰幼兒配方乳粉 having more than 1 samples failed?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (melamine_content_mg_kg_ VARCHAR, samples_failed VARCHAR, product VARCHAR)
SELECT melamine_content_mg_kg_ FROM table_name_31 WHERE samples_failed > 1 AND product = "英雄牌嬰幼兒配方乳粉"
Write a SQL query that answers the following question: What's the most melamine content that has more than 1 samples failed and produced by Guangzhou Jinding Dairy Products Factory?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (melamine_content_mg_kg_ INTEGER, producer VARCHAR, samples_failed VARCHAR)
SELECT MAX(melamine_content_mg_kg_) FROM table_name_48 WHERE producer = "guangzhou jinding dairy products factory" AND samples_failed > 1
Write a SQL query that answers the following question: What's the product that has less than 98.6 melamine content, more than 1 sample failed and took less than 3 samples?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (product VARCHAR, samples_taken VARCHAR, melamine_content_mg_kg_ VARCHAR, samples_failed VARCHAR)
SELECT product FROM table_name_88 WHERE melamine_content_mg_kg_ < 98.6 AND samples_failed > 1 AND samples_taken < 3
Write a SQL query that answers the following question: What the most samples failed for 可淇牌嬰幼兒配方乳粉 and had less than 1 samples taken?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (samples_failed INTEGER, product VARCHAR, samples_taken VARCHAR)
SELECT MAX(samples_failed) FROM table_name_77 WHERE product = "可淇牌嬰幼兒配方乳粉" AND samples_taken < 1
Write a SQL query that answers the following question: How many samples taken from producer Qingdao Suncare Nutritional Technology with a melamine content less than 53.4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (samples_taken INTEGER, melamine_content_mg_kg_ VARCHAR, producer VARCHAR)
SELECT SUM(samples_taken) FROM table_name_12 WHERE melamine_content_mg_kg_ < 53.4 AND producer = "qingdao suncare nutritional technology"
Write a SQL query that answers the following question: What did the golfer from Australia score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (score VARCHAR, country VARCHAR)
SELECT score FROM table_name_13 WHERE country = "australia"
Write a SQL query that answers the following question: Which date has an Opera usage percentage of 5.1% and Internet Explorer usage of 59.5%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (date VARCHAR, opera VARCHAR, internet_explorer VARCHAR)
SELECT date FROM table_name_64 WHERE opera = "5.1%" AND internet_explorer = "59.5%"
Write a SQL query that answers the following question: Which source has a date of June 2008?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (source VARCHAR, date VARCHAR)
SELECT source FROM table_name_28 WHERE date = "june 2008"
Write a SQL query that answers the following question: Which source date has an Internet Explorer usage of 60.2%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (source VARCHAR, internet_explorer VARCHAR)
SELECT source FROM table_name_52 WHERE internet_explorer = "60.2%"
Write a SQL query that answers the following question: What city has the home team of the brisbane broncos?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (city VARCHAR, home_team_s VARCHAR)
SELECT city FROM table_name_88 WHERE home_team_s = "brisbane broncos"
Write a SQL query that answers the following question: What is the earliest closed year in the country of france?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (closed__as_a_rl_stadium_ INTEGER, country VARCHAR)
SELECT MIN(closed__as_a_rl_stadium_) FROM table_name_94 WHERE country = "france"
Write a SQL query that answers the following question: What is the result for the event that lasted 2:20?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (res VARCHAR, time VARCHAR)
SELECT res FROM table_name_7 WHERE time = "2:20"
Write a SQL query that answers the following question: Who was the fight against when loss was the result at the Gladiator Challenge 87: Collision Course event?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (opponent VARCHAR, res VARCHAR, event VARCHAR)
SELECT opponent FROM table_name_54 WHERE res = "loss" AND event = "gladiator challenge 87: collision course"
Write a SQL query that answers the following question: For the Cage Combat Fighting Championships: Mayhem, what was the record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (record VARCHAR, event VARCHAR)
SELECT record FROM table_name_13 WHERE event = "cage combat fighting championships: mayhem"
Write a SQL query that answers the following question: Who was the designer for The Grapefruit Moon?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (designer VARCHAR, restaurant_name VARCHAR)
SELECT designer FROM table_name_89 WHERE restaurant_name = "the grapefruit moon"
Write a SQL query that answers the following question: Who is the chef at Lakes Bar and Grill?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (chef VARCHAR, restaurant_name VARCHAR)
SELECT chef FROM table_name_21 WHERE restaurant_name = "lakes bar and grill"
Write a SQL query that answers the following question: What is the name of the Cobourg, ON restaurant that had Robin de Groot as designer?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (restaurant_name VARCHAR, designer VARCHAR, location VARCHAR)
SELECT restaurant_name FROM table_name_85 WHERE designer = "robin de groot" AND location = "cobourg, on"
Write a SQL query that answers the following question: What European competitions have a tier of 2 and a position of 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (european_competitions VARCHAR, tier VARCHAR, pos VARCHAR)
SELECT european_competitions FROM table_name_48 WHERE tier = 2 AND pos = 3
Write a SQL query that answers the following question: Which Nation won 5 Silver, and more than 4 Gold?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (nation VARCHAR, silver VARCHAR, gold VARCHAR)
SELECT nation FROM table_name_2 WHERE silver = 5 AND gold > 4
Write a SQL query that answers the following question: What is the sum of heat for christophe lebon when lane is less than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (heat VARCHAR, lane VARCHAR, name VARCHAR)
SELECT COUNT(heat) FROM table_name_74 WHERE lane < 4 AND name = "christophe lebon"
Write a SQL query that answers the following question: Who is from the united states, has a rank less than 9, and heat more than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (name VARCHAR, nationality VARCHAR, rank VARCHAR, heat VARCHAR)
SELECT name FROM table_name_79 WHERE rank < 9 AND heat > 5 AND nationality = "united states"
Write a SQL query that answers the following question: Serbia has a heat less than 2 and what sum of rank?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (rank VARCHAR, nationality VARCHAR, heat VARCHAR)
SELECT COUNT(rank) FROM table_name_38 WHERE nationality = "serbia" AND heat < 2
Write a SQL query that answers the following question: When rank is 33, what is the smallest lane?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (lane INTEGER, rank VARCHAR)
SELECT MIN(lane) FROM table_name_38 WHERE rank = 33
Write a SQL query that answers the following question: Which Model has a Number of CPUs of 1–10, and a Performance (MIPS) of 49–447?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (model VARCHAR, number_of_cpus VARCHAR, performance__mips_ VARCHAR)
SELECT model FROM table_name_6 WHERE number_of_cpus = "1–10" AND performance__mips_ = "49–447"
Write a SQL query that answers the following question: Which Year Introduced has a Memory (GB) of 0.125–2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (year_introduced INTEGER, memory__gb_ VARCHAR)
SELECT MAX(year_introduced) FROM table_name_26 WHERE memory__gb_ = "0.125–2"
Write a SQL query that answers the following question: Which Number of CPUs has a Memory (GB) of 0.5–16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (number_of_cpus VARCHAR, memory__gb_ VARCHAR)
SELECT number_of_cpus FROM table_name_59 WHERE memory__gb_ = "0.5–16"
Write a SQL query that answers the following question: Which Memory (GB) has a Number of CPUs of 1–6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (memory__gb_ VARCHAR, number_of_cpus VARCHAR)
SELECT memory__gb_ FROM table_name_57 WHERE number_of_cpus = "1–6"
Write a SQL query that answers the following question: Which Fuel Type that has a mpg-US Extra-Urban larger than 53.5, and a mpg-US Combined larger than 50 from renault?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (fuel_type VARCHAR, manufacturer VARCHAR, mpg_us_extra_urban VARCHAR, mpg_us_combined VARCHAR)
SELECT fuel_type FROM table_name_62 WHERE mpg_us_extra_urban > 53.5 AND mpg_us_combined > 50 AND manufacturer = "renault"
Write a SQL query that answers the following question: What is the Country of the Rowers with a Rank larger than 4 and Time of 5:59.56?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (country VARCHAR, rank VARCHAR, time VARCHAR)
SELECT country FROM table_name_26 WHERE rank > 4 AND time = "5:59.56"
Write a SQL query that answers the following question: What is the Time of the Belarus Player with a Rank larger than 2 and Notes of FB?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (time VARCHAR, country VARCHAR, rank VARCHAR, notes VARCHAR)
SELECT time FROM table_name_98 WHERE rank > 2 AND notes = "fb" AND country = "belarus"