instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the ISBN of Japanese Title of 霧の訪問者 (kiri no hōmonsha)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (isbn VARCHAR, japanese_title VARCHAR)
SELECT isbn FROM table_name_54 WHERE japanese_title = "霧の訪問者 (kiri no hōmonsha)"
Write a SQL query that answers the following question: What is the First Publisher in 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (first_publisher VARCHAR, year VARCHAR)
SELECT first_publisher FROM table_name_8 WHERE year = 2007
Write a SQL query that answers the following question: What is the Year of Kodansha Novels' Tokyo Nightmare?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (year VARCHAR, first_publisher VARCHAR, english_title VARCHAR)
SELECT year FROM table_name_80 WHERE first_publisher = "kodansha novels" AND english_title = "tokyo nightmare"
Write a SQL query that answers the following question: What Year has an ISBN OF ISBN 4-06-182042-7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (year INTEGER, isbn VARCHAR)
SELECT AVG(year) FROM table_name_37 WHERE isbn = "isbn 4-06-182042-7"
Write a SQL query that answers the following question: What is the bronze number for the nation with less than 0 gold?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (bronze INTEGER, gold INTEGER)
SELECT MIN(bronze) FROM table_name_53 WHERE gold < 0
Write a SQL query that answers the following question: What is the January climate figure for Eastman?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (january VARCHAR, region VARCHAR)
SELECT january FROM table_name_26 WHERE region = "eastman"
Write a SQL query that answers the following question: In what city is the July temperature 23/9°c (73/48°f)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (city VARCHAR, july VARCHAR)
SELECT city FROM table_name_49 WHERE july = "23/9°c (73/48°f)"
Write a SQL query that answers the following question: What is the July temperature where the annual precipitation is 514mm (20.2in)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (july VARCHAR, annual_precipitation VARCHAR)
SELECT july FROM table_name_23 WHERE annual_precipitation = "514mm (20.2in)"
Write a SQL query that answers the following question: What is the July temperature where plant hardiness zone is 2B and January figure is −12/−23°c (10-9°f)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (july VARCHAR, plant_hardiness_zone VARCHAR, january VARCHAR)
SELECT july FROM table_name_32 WHERE plant_hardiness_zone = "2b" AND january = "−12/−23°c (10-9°f)"
Write a SQL query that answers the following question: What is the plant hardiness zone in the Northern region where the annual precipitation is 443mm (17.4in)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (plant_hardiness_zone VARCHAR, region VARCHAR, annual_precipitation VARCHAR)
SELECT plant_hardiness_zone FROM table_name_36 WHERE region = "northern" AND annual_precipitation = "443mm (17.4in)"
Write a SQL query that answers the following question: In what city is the plant hardiness zone 2B and January temp is −12/−23°c (10/-9°f)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (city VARCHAR, plant_hardiness_zone VARCHAR, january VARCHAR)
SELECT city FROM table_name_52 WHERE plant_hardiness_zone = "2b" AND january = "−12/−23°c (10/-9°f)"
Write a SQL query that answers the following question: What is the Total Apps listing for Paul Wilson?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (total_apps VARCHAR, name VARCHAR)
SELECT total_apps FROM table_name_78 WHERE name = "paul wilson"
Write a SQL query that answers the following question: Who was the winner at Milan Circuit Race?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (winner VARCHAR, course VARCHAR)
SELECT winner FROM table_name_84 WHERE course = "milan circuit race"
Write a SQL query that answers the following question: Who was the winner at Rest Day course?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (winner VARCHAR, course VARCHAR)
SELECT winner FROM table_name_67 WHERE course = "rest day"
Write a SQL query that answers the following question: What's the type on Sestri Levante to Riomaggiore?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (type VARCHAR, course VARCHAR)
SELECT type FROM table_name_39 WHERE course = "sestri levante to riomaggiore"
Write a SQL query that answers the following question: Which player competed in 12 events?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (player VARCHAR, events VARCHAR)
SELECT player FROM table_name_49 WHERE events = 12
Write a SQL query that answers the following question: what is the highest finishes when the points is less than 337, the stage wins is 2 and the wins is more than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (finishes INTEGER, wins VARCHAR, points VARCHAR, stage_wins VARCHAR)
SELECT MAX(finishes) FROM table_name_48 WHERE points < 337 AND stage_wins = 2 AND wins > 0
Write a SQL query that answers the following question: what is the average starts when the chassis is focus rs wrc 08 and finishes is more than 27?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (starts INTEGER, chassis VARCHAR, finishes VARCHAR)
SELECT AVG(starts) FROM table_name_94 WHERE chassis = "focus rs wrc 08" AND finishes > 27
Write a SQL query that answers the following question: what is the finishes when points is more than 337 and starts is more than 26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (finishes INTEGER, points VARCHAR, starts VARCHAR)
SELECT SUM(finishes) FROM table_name_90 WHERE points > 337 AND starts > 26
Write a SQL query that answers the following question: what is the average starts when the podiums is more than 0, stage wins is more than 39 and points is more than 456?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (starts INTEGER, points VARCHAR, podiums VARCHAR, stage_wins VARCHAR)
SELECT AVG(starts) FROM table_name_35 WHERE podiums > 0 AND stage_wins > 39 AND points > 456
Write a SQL query that answers the following question: Which School has a Mascot of squires?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (school VARCHAR, mascot VARCHAR)
SELECT school FROM table_name_35 WHERE mascot = "squires"
Write a SQL query that answers the following question: Which School has a #/ County of 85 wabash, and an IHSAA Football Class of A, and a Mascot of norsemen?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (school VARCHAR, mascot VARCHAR, _number___county VARCHAR, ihsaa_football_class VARCHAR)
SELECT school FROM table_name_43 WHERE _number___county = "85 wabash" AND ihsaa_football_class = "a" AND mascot = "norsemen"
Write a SQL query that answers the following question: Which IHSAA Football Class has a School of whitko?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (ihsaa_football_class VARCHAR, school VARCHAR)
SELECT ihsaa_football_class FROM table_name_99 WHERE school = "whitko"
Write a SQL query that answers the following question: Which IHSAA Football Class has a Location of wabash, and a School of wabash?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (ihsaa_football_class VARCHAR, location VARCHAR, school VARCHAR)
SELECT ihsaa_football_class FROM table_name_50 WHERE location = "wabash" AND school = "wabash"
Write a SQL query that answers the following question: With a Total of more than 149, what is Davis Love III's To par?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (to_par INTEGER, player VARCHAR, total VARCHAR)
SELECT AVG(to_par) FROM table_name_88 WHERE player = "davis love iii" AND total > 149
Write a SQL query that answers the following question: What is the Total of the Player with a To par of 6 and Year won after 1993?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (total INTEGER, year_won VARCHAR, to_par VARCHAR)
SELECT MIN(total) FROM table_name_87 WHERE year_won > 1993 AND to_par = 6
Write a SQL query that answers the following question: What is the Year won of Davis Love III with a Total of less than 149?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (year_won VARCHAR, player VARCHAR, total VARCHAR)
SELECT COUNT(year_won) FROM table_name_93 WHERE player = "davis love iii" AND total < 149
Write a SQL query that answers the following question: What is the genre of the Mass Effect game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (genre VARCHAR, game VARCHAR)
SELECT genre FROM table_name_14 WHERE game = "mass effect"
Write a SQL query that answers the following question: What is the genre of the game from 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (genre VARCHAR, year VARCHAR)
SELECT genre FROM table_name_72 WHERE year = "2006"
Write a SQL query that answers the following question: What is the genre of the game developed by Nintendo EAD?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (genre VARCHAR, developer_s_ VARCHAR)
SELECT genre FROM table_name_85 WHERE developer_s_ = "nintendo ead"
Write a SQL query that answers the following question: What is the platform of the game built in 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (platform_s_ VARCHAR, year VARCHAR)
SELECT platform_s_ FROM table_name_53 WHERE year = "2006"
Write a SQL query that answers the following question: What game was developed by Ubisoft Montreal?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (game VARCHAR, developer_s_ VARCHAR)
SELECT game FROM table_name_53 WHERE developer_s_ = "ubisoft montreal"
Write a SQL query that answers the following question: What is the genre for Portal 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (genre VARCHAR, game VARCHAR)
SELECT genre FROM table_name_32 WHERE game = "portal 2"
Write a SQL query that answers the following question: Which platforms can you play Portal 2 on?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (platform_s_ VARCHAR, game VARCHAR)
SELECT platform_s_ FROM table_name_88 WHERE game = "portal 2"
Write a SQL query that answers the following question: What event had the 1500m freestyle?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (meet VARCHAR, event VARCHAR)
SELECT meet FROM table_name_4 WHERE event = "1500m freestyle"
Write a SQL query that answers the following question: Who is from italy has 0 giro wins, 0 young rider and less than 3 maglia rosa?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (name VARCHAR, maglia_rosa VARCHAR, young_rider VARCHAR, country VARCHAR, giro_wins VARCHAR)
SELECT name FROM table_name_92 WHERE country = "italy" AND giro_wins = 0 AND young_rider = 0 AND maglia_rosa < 3
Write a SQL query that answers the following question: How many bronze medals for the United Kingdom when the silver was less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (bronze INTEGER, nation VARCHAR, silver VARCHAR)
SELECT AVG(bronze) FROM table_name_18 WHERE nation = "united kingdom" AND silver < 0
Write a SQL query that answers the following question: How many bronze medals for West Germany having a total more than 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (bronze VARCHAR, total VARCHAR, nation VARCHAR)
SELECT COUNT(bronze) FROM table_name_65 WHERE total > 2 AND nation = "west germany"
Write a SQL query that answers the following question: What is the amount of silver for rank 11 having less than 0 gold?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (silver INTEGER, rank VARCHAR, gold VARCHAR)
SELECT MIN(silver) FROM table_name_21 WHERE rank = "11" AND gold < 0
Write a SQL query that answers the following question: What rank is Bulgaria with less than 3 silver and more than 1 bronze?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (rank VARCHAR, nation VARCHAR, silver VARCHAR, bronze VARCHAR)
SELECT rank FROM table_name_44 WHERE silver < 3 AND bronze > 1 AND nation = "bulgaria"
Write a SQL query that answers the following question: What is the mountains classification when stage is 17?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (mountains_classification VARCHAR, stage VARCHAR)
SELECT mountains_classification FROM table_name_60 WHERE stage = "17"
Write a SQL query that answers the following question: Who was the winner when points classification is Robbie Mcewen, and a Mountains classification is José Rujano?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (winner VARCHAR, points_classification VARCHAR, mountains_classification VARCHAR)
SELECT winner FROM table_name_45 WHERE points_classification = "robbie mcewen" AND mountains_classification = "josé rujano"
Write a SQL query that answers the following question: What is the Trofeo Fast Team when stage is 19?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (trofeo_fast_team VARCHAR, stage VARCHAR)
SELECT trofeo_fast_team FROM table_name_34 WHERE stage = "19"
Write a SQL query that answers the following question: What is the points classification when the Intergiro classification is Sven Krauß, and the mountains classification is koldo gil, Trofeo Super Team is Liquigas-Bianchi, and stage is 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (points_classification VARCHAR, stage VARCHAR, trofeo_super_team VARCHAR, intergiro_classification VARCHAR, mountains_classification VARCHAR)
SELECT points_classification FROM table_name_19 WHERE intergiro_classification = "sven krauß" AND mountains_classification = "koldo gil" AND trofeo_super_team = "liquigas-bianchi" AND stage = "9"
Write a SQL query that answers the following question: What is the Intergiro classification when the points classification is Paolo Bettini, Trofeo Super Team is Davitamon-Lotto, and the Mountains classification is José Rujano?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (intergiro_classification VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR, trofeo_super_team VARCHAR)
SELECT intergiro_classification FROM table_name_16 WHERE points_classification = "paolo bettini" AND trofeo_super_team = "davitamon-lotto" AND mountains_classification = "josé rujano"
Write a SQL query that answers the following question: What is the Stage when the points classification is Danilo Di Luca, Mountains classification is José Rujano, and general classification is Danilo Di Luca?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (stage VARCHAR, general_classification VARCHAR, points_classification VARCHAR, mountains_classification VARCHAR)
SELECT stage FROM table_name_67 WHERE points_classification = "danilo di luca" AND mountains_classification = "josé rujano" AND general_classification = "danilo di luca"
Write a SQL query that answers the following question: What is the average GEO ID with a latitude less than 46.57958, a latitude of -102.109898 and more than 35.99 square miles of land?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (geo_id INTEGER, land___sqmi__ VARCHAR, latitude VARCHAR, longitude VARCHAR)
SELECT AVG(geo_id) FROM table_name_4 WHERE latitude < 46.57958 AND longitude = -102.109898 AND land___sqmi__ > 35.99
Write a SQL query that answers the following question: What GEO ID has a longitude of -102.693028?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (geo_id VARCHAR, longitude VARCHAR)
SELECT geo_id FROM table_name_83 WHERE longitude = -102.693028
Write a SQL query that answers the following question: What is the highest latitude when there are more than 0.518 square miles of water, a longitude less than -99.830606, and a population of 18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (latitude INTEGER, pop__2010_ VARCHAR, water__sqmi_ VARCHAR, longitude VARCHAR)
SELECT MAX(latitude) FROM table_name_69 WHERE water__sqmi_ > 0.518 AND longitude < -99.830606 AND pop__2010_ = 18
Write a SQL query that answers the following question: What is the average lane for Australia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (lane INTEGER, nationality VARCHAR)
SELECT AVG(lane) FROM table_name_30 WHERE nationality = "australia"
Write a SQL query that answers the following question: What is the highest rank for Josefin Lillhage?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (rank INTEGER, name VARCHAR)
SELECT MAX(rank) FROM table_name_54 WHERE name = "josefin lillhage"
Write a SQL query that answers the following question: What was the attendance for the final quarter (1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (attendance VARCHAR, final VARCHAR)
SELECT attendance FROM table_name_97 WHERE final = "quarter (1)"
Write a SQL query that answers the following question: What stadium had the score 1 - 1 dodd 38'?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (stadium VARCHAR, score VARCHAR)
SELECT stadium FROM table_name_21 WHERE score = "1 - 1 dodd 38'"
Write a SQL query that answers the following question: What method was used in the Pride 17 event?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (method VARCHAR, event VARCHAR)
SELECT method FROM table_name_78 WHERE event = "pride 17"
Write a SQL query that answers the following question: What is the Rank of the building that has a Highest floor larger than 50?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (rank VARCHAR, highest_floor INTEGER)
SELECT rank FROM table_name_57 WHERE highest_floor > 50
Write a SQL query that answers the following question: what is the most free when the total is 81.167 and the rank is higher than 23?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (free INTEGER, total VARCHAR, rank VARCHAR)
SELECT MAX(free) FROM table_name_87 WHERE total = 81.167 AND rank > 23
Write a SQL query that answers the following question: How many tracks have an unformatted capacity per side of 2000kb?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (tracks VARCHAR, unformatted_capacity_per_side VARCHAR)
SELECT COUNT(tracks) FROM table_name_7 WHERE unformatted_capacity_per_side = "2000kb"
Write a SQL query that answers the following question: What is the unformatted capacity per side if the size is 8in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (unformatted_capacity_per_side VARCHAR, size VARCHAR)
SELECT unformatted_capacity_per_side FROM table_name_42 WHERE size = "8in"
Write a SQL query that answers the following question: How many tracks have a single density?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (tracks VARCHAR, density VARCHAR)
SELECT COUNT(tracks) FROM table_name_93 WHERE density = "single"
Write a SQL query that answers the following question: What's listed for Elevatated that has Cardinalatial title of Priest of SS. XII Apostoli?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (elevated VARCHAR, cardinalatial_title VARCHAR)
SELECT elevated FROM table_name_77 WHERE cardinalatial_title = "priest of ss. xii apostoli"
Write a SQL query that answers the following question: What Elector has the Place of birth of San Severino?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (elector VARCHAR, place_of_birth VARCHAR)
SELECT elector FROM table_name_33 WHERE place_of_birth = "san severino"
Write a SQL query that answers the following question: What's the Cardinalatial Title has the Elevated of December 18, 1182, the Place of birth of Lucca, and the Electo rof Pandolfo?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (cardinalatial_title VARCHAR, elector VARCHAR, elevated VARCHAR, place_of_birth VARCHAR)
SELECT cardinalatial_title FROM table_name_40 WHERE elevated = "december 18, 1182" AND place_of_birth = "lucca" AND elector = "pandolfo"
Write a SQL query that answers the following question: What's listed for the Elevated with a Cardinalatial title of Priest of S. Eusebio and Archbishop of Benevento?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (elevated VARCHAR, cardinalatial_title VARCHAR)
SELECT elevated FROM table_name_25 WHERE cardinalatial_title = "priest of s. eusebio and archbishop of benevento"
Write a SQL query that answers the following question: What Elector has the Place of Birth listed as Bavaria?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (elector VARCHAR, place_of_birth VARCHAR)
SELECT elector FROM table_name_4 WHERE place_of_birth = "bavaria"
Write a SQL query that answers the following question: What are the total apps that have 41 as the League apps, with total goals greater than 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (total_apps VARCHAR, league_apps VARCHAR, total_goals VARCHAR)
SELECT total_apps FROM table_name_16 WHERE league_apps = "41" AND total_goals > 1
Write a SQL query that answers the following question: What are the average league goals that have 2 (1) as the total apps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (league_goals INTEGER, total_apps VARCHAR)
SELECT AVG(league_goals) FROM table_name_18 WHERE total_apps = "2 (1)"
Write a SQL query that answers the following question: What is the highest league goals that have barry endean as the name, wirh FA cup apps greater than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (league_goals INTEGER, name VARCHAR, fa_cup_apps VARCHAR)
SELECT MAX(league_goals) FROM table_name_46 WHERE name = "barry endean" AND fa_cup_apps > 0
Write a SQL query that answers the following question: Which school left in 1968 and has the team name of Panthers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (school VARCHAR, team_name VARCHAR, year_left VARCHAR)
SELECT school FROM table_name_81 WHERE team_name = "panthers" AND year_left = "1968"
Write a SQL query that answers the following question: What year did a team from North Dearborn leave?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (year_left VARCHAR, school VARCHAR)
SELECT year_left FROM table_name_89 WHERE school = "north dearborn"
Write a SQL query that answers the following question: Which city has a school of North Vernon and a county of 40 Jennings?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (city VARCHAR, county VARCHAR, school VARCHAR)
SELECT city FROM table_name_48 WHERE county = "40 jennings" AND school = "north vernon"
Write a SQL query that answers the following question: What year did a school from Jennings County join?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (year_joined VARCHAR, school VARCHAR)
SELECT year_joined FROM table_name_5 WHERE school = "jennings county"
Write a SQL query that answers the following question: Which school are the Red Devils from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (school VARCHAR, team_name VARCHAR)
SELECT school FROM table_name_24 WHERE team_name = "red devils"
Write a SQL query that answers the following question: Which school comes from Brookville?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (school VARCHAR, city VARCHAR)
SELECT school FROM table_name_57 WHERE city = "brookville"
Write a SQL query that answers the following question: What's the lowest rank of Lane 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (rank INTEGER, lane VARCHAR)
SELECT MIN(rank) FROM table_name_70 WHERE lane = 3
Write a SQL query that answers the following question: What's the highest lane of rank 4 with a time less than 24.72?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (lane INTEGER, time VARCHAR, rank VARCHAR)
SELECT MAX(lane) FROM table_name_62 WHERE time < 24.72 AND rank = 4
Write a SQL query that answers the following question: What's the time of Britta Steffen in a lane less than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (time INTEGER, lane VARCHAR, name VARCHAR)
SELECT SUM(time) FROM table_name_50 WHERE lane < 4 AND name = "britta steffen"
Write a SQL query that answers the following question: What's the lowest rank of the United States with a time less than 24.63?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (rank INTEGER, nationality VARCHAR, time VARCHAR)
SELECT MIN(rank) FROM table_name_74 WHERE nationality = "united states" AND time < 24.63
Write a SQL query that answers the following question: What's the duration of the Archers with Norman Painting as an actor?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (duration VARCHAR, soap_opera VARCHAR, actor VARCHAR)
SELECT duration FROM table_name_98 WHERE soap_opera = "the archers" AND actor = "norman painting"
Write a SQL query that answers the following question: What's the duration of the Archers with Pauline Seville acting?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (duration VARCHAR, soap_opera VARCHAR, actor VARCHAR)
SELECT duration FROM table_name_45 WHERE soap_opera = "the archers" AND actor = "pauline seville"
Write a SQL query that answers the following question: Who's the actor for the Archers having a character of Martha Woodford?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (actor VARCHAR, soap_opera VARCHAR, character VARCHAR)
SELECT actor FROM table_name_14 WHERE soap_opera = "the archers" AND character = "martha woodford"
Write a SQL query that answers the following question: Who's the character when Margot Boyd was acting?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (character VARCHAR, actor VARCHAR)
SELECT character FROM table_name_34 WHERE actor = "margot boyd"
Write a SQL query that answers the following question: What were the notes for the time of 6:34.51?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (notes VARCHAR, time VARCHAR)
SELECT notes FROM table_name_56 WHERE time = "6:34.51"
Write a SQL query that answers the following question: What is the rank for the rowers with the time of 6:24.35?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (rank VARCHAR, time VARCHAR)
SELECT rank FROM table_name_51 WHERE time = "6:24.35"
Write a SQL query that answers the following question: Which rowers represented portugal and had notes of r?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (rowers VARCHAR, notes VARCHAR, country VARCHAR)
SELECT rowers FROM table_name_14 WHERE notes = "r" AND country = "portugal"
Write a SQL query that answers the following question: Which rowers represented the country of portugal?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (rowers VARCHAR, country VARCHAR)
SELECT rowers FROM table_name_4 WHERE country = "portugal"
Write a SQL query that answers the following question: what is the average races when points is 9 and poles is less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (races INTEGER, points VARCHAR, poles VARCHAR)
SELECT AVG(races) FROM table_name_61 WHERE points = "9" AND poles < 0
Write a SQL query that answers the following question: what is the series when wins is less than 3, points is 9 and podiums is 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (series VARCHAR, podiums VARCHAR, wins VARCHAR, points VARCHAR)
SELECT series FROM table_name_7 WHERE wins < 3 AND points = "9" AND podiums = 1
Write a SQL query that answers the following question: how many times is races more than 14, position is 9th and wins less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (season VARCHAR, wins VARCHAR, races VARCHAR, position VARCHAR)
SELECT COUNT(season) FROM table_name_48 WHERE races > 14 AND position = "9th" AND wins < 0
Write a SQL query that answers the following question: Who was the runner-up during the Mac Ice Classic?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (runner_up_skip VARCHAR, event VARCHAR)
SELECT runner_up_skip FROM table_name_51 WHERE event = "mac ice classic"
Write a SQL query that answers the following question: What's the date when Stu Harris was the Runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (date VARCHAR, runner_up_skip VARCHAR)
SELECT date FROM table_name_58 WHERE runner_up_skip = "stu harris"
Write a SQL query that answers the following question: What's the location of the Ramada Perth Masters event?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (location VARCHAR, event VARCHAR)
SELECT location FROM table_name_33 WHERE event = "ramada perth masters"
Write a SQL query that answers the following question: What's the location of the National event with Kevin Martin winning?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (location VARCHAR, winning_skip VARCHAR, event VARCHAR)
SELECT location FROM table_name_49 WHERE winning_skip = "kevin martin" AND event = "the national"
Write a SQL query that answers the following question: What's the event that happened in Gander, Newfoundland and Labrador with Randy Ferbey runner-up?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (event VARCHAR, runner_up_skip VARCHAR, location VARCHAR)
SELECT event FROM table_name_91 WHERE runner_up_skip = "randy ferbey" AND location = "gander, newfoundland and labrador"
Write a SQL query that answers the following question: What's the location of the National event?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (location VARCHAR, event VARCHAR)
SELECT location FROM table_name_97 WHERE event = "the national"
Write a SQL query that answers the following question: Which Arena has a Date of october 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (arena VARCHAR, date VARCHAR)
SELECT arena FROM table_name_13 WHERE date = "october 10"
Write a SQL query that answers the following question: Which Attendance has a Score of 4–3, and Points smaller than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (attendance INTEGER, score VARCHAR, points VARCHAR)
SELECT MAX(attendance) FROM table_name_13 WHERE score = "4–3" AND points < 5
Write a SQL query that answers the following question: Which Attendance has an Arena of arrowhead pond of anaheim, and Points smaller than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (attendance VARCHAR, arena VARCHAR, points VARCHAR)
SELECT attendance FROM table_name_20 WHERE arena = "arrowhead pond of anaheim" AND points < 5
Write a SQL query that answers the following question: How much Attendance has an Arena of arrowhead pond of anaheim, and Points of 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (attendance INTEGER, arena VARCHAR, points VARCHAR)
SELECT SUM(attendance) FROM table_name_30 WHERE arena = "arrowhead pond of anaheim" AND points = 5
Write a SQL query that answers the following question: How much 1969 has a 1967 smaller than 0.73, and a 1964 larger than 0.07?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (Id VARCHAR)
SELECT COUNT(1969) FROM table_name_18 WHERE 1967 < 0.73 AND 1964 > 0.07
Write a SQL query that answers the following question: Which 1964 has a Country of united states, and a 1969 smaller than 7.3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (country VARCHAR)
SELECT MIN(1964) FROM table_name_85 WHERE country = "united states" AND 1969 < 7.3