instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: What is the total number of wins that has byes less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (wins VARCHAR, byes INTEGER)
SELECT COUNT(wins) FROM table_name_84 WHERE byes < 0
Write a SQL query that answers the following question: What is the most money for the score 75-74-72-67=288?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (money___ INTEGER, score VARCHAR)
SELECT MAX(money___) AS $__ FROM table_name_16 WHERE score = 75 - 74 - 72 - 67 = 288
Write a SQL query that answers the following question: What's the American pronunciation when the Australian is əʉ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (american VARCHAR, australian VARCHAR)
SELECT american FROM table_name_11 WHERE australian = "əʉ"
Write a SQL query that answers the following question: What is the 17th c. pronunciation when the british is əʊ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (british VARCHAR)
SELECT 17 AS th_c FROM table_name_68 WHERE british = "əʊ"
Write a SQL query that answers the following question: What's the British pronunciation when the American and Australian is i?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (british VARCHAR, american VARCHAR, australian VARCHAR)
SELECT british FROM table_name_44 WHERE american = "i" AND australian = "i"
Write a SQL query that answers the following question: What is the Height if the weight is kg (lb), the club is Sainte-foy and the pos is cf?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (height VARCHAR, pos VARCHAR, weight VARCHAR, club VARCHAR)
SELECT height FROM table_name_15 WHERE weight = "kg (lb)" AND club = "sainte-foy" AND pos = "cf"
Write a SQL query that answers the following question: What is the height of valérie dionne at Club Sainte-Foy?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (height VARCHAR, club VARCHAR, name VARCHAR)
SELECT height FROM table_name_48 WHERE club = "sainte-foy" AND name = "valérie dionne"
Write a SQL query that answers the following question: Who has a Date of Birth 1980-07-29?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (name VARCHAR, date_of_birth VARCHAR)
SELECT name FROM table_name_64 WHERE date_of_birth = "1980-07-29"
Write a SQL query that answers the following question: What is the name of the team from cisne fairfield school?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (team_name VARCHAR, schools VARCHAR)
SELECT team_name FROM table_name_84 WHERE schools = "cisne fairfield"
Write a SQL query that answers the following question: What is the name of the team from goreville vienna school?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (team_name VARCHAR, schools VARCHAR)
SELECT team_name FROM table_name_80 WHERE schools = "goreville vienna"
Write a SQL query that answers the following question: What are the colors of the team hosted by Christopher?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (colors VARCHAR, host VARCHAR)
SELECT colors FROM table_name_77 WHERE host = "christopher"
Write a SQL query that answers the following question: What is team 1 if Renova is team 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_99 WHERE team_2 = "renova"
Write a SQL query that answers the following question: What is the highest to par for the 76-70-76-76=298 score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (to_par INTEGER, score VARCHAR)
SELECT MAX(to_par) FROM table_name_96 WHERE score = 76 - 70 - 76 - 76 = 298
Write a SQL query that answers the following question: What score has a to par of 12 and is from Jersey?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (score VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT score FROM table_name_25 WHERE to_par = 12 AND country = "jersey"
Write a SQL query that answers the following question: What is the average money for a to par of 15, and is from the United States?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (money___ INTEGER, to_par VARCHAR, country VARCHAR)
SELECT AVG(money___) AS $__ FROM table_name_55 WHERE to_par = 15 AND country = "united states"
Write a SQL query that answers the following question: What is the total amount of money that has a t2 place, is from the United States for player Leo Diegel?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (money___ VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR)
SELECT COUNT(money___) AS $__ FROM table_name_49 WHERE place = "t2" AND country = "united states" AND player = "leo diegel"
Write a SQL query that answers the following question: What county has less than $188 and a score of 74-76-73-75=298?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (country VARCHAR, money___$__ VARCHAR, score VARCHAR)
SELECT country FROM table_name_3 WHERE money___$__ < 188 AND score = 74 - 76 - 73 - 75 = 298
Write a SQL query that answers the following question: What is Opponent, when Location is "Winnipeg, Manitoba , Canada"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (opponent VARCHAR, location VARCHAR)
SELECT opponent FROM table_name_27 WHERE location = "winnipeg, manitoba , canada"
Write a SQL query that answers the following question: What is Res., when Location is "Butte, Montana , United States", and when Opponent is "Jerome Smith"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (res VARCHAR, location VARCHAR, opponent VARCHAR)
SELECT res FROM table_name_81 WHERE location = "butte, montana , united states" AND opponent = "jerome smith"
Write a SQL query that answers the following question: What is Method, when Time is "3:20"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (method VARCHAR, time VARCHAR)
SELECT method FROM table_name_40 WHERE time = "3:20"
Write a SQL query that answers the following question: What is Location, when Opponent is "Mario Rinaldi"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (location VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_86 WHERE opponent = "mario rinaldi"
Write a SQL query that answers the following question: How much Grid has a Time/Retired of +0.785, and Laps larger than 29?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)
SELECT SUM(grid) FROM table_name_19 WHERE time_retired = "+0.785" AND laps > 29
Write a SQL query that answers the following question: Which Grid has more than 8 Laps, and a Manufacturer of honda, and a Time/Retired of retirement?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR)
SELECT grid FROM table_name_61 WHERE laps > 8 AND manufacturer = "honda" AND time_retired = "retirement"
Write a SQL query that answers the following question: How many Laps have a Grid smaller than 5, and a Time/Retired of retirement?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
SELECT SUM(laps) FROM table_name_97 WHERE grid < 5 AND time_retired = "retirement"
Write a SQL query that answers the following question: Which Time/Retired has Laps smaller than 14, and a Rider of darren barton?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (time_retired VARCHAR, laps VARCHAR, rider VARCHAR)
SELECT time_retired FROM table_name_78 WHERE laps < 14 AND rider = "darren barton"
Write a SQL query that answers the following question: What was the lowest lost entry for a team with fewer than 21 goals for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (lost INTEGER, goals_for INTEGER)
SELECT MIN(lost) FROM table_name_39 WHERE goals_for < 21
Write a SQL query that answers the following question: What was the position has a played entry of more than 24?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (position VARCHAR, played INTEGER)
SELECT COUNT(position) FROM table_name_68 WHERE played > 24
Write a SQL query that answers the following question: What is the highest position for Nelson, with a played entry of more than 24?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (position INTEGER, team VARCHAR, played VARCHAR)
SELECT MAX(position) FROM table_name_10 WHERE team = "nelson" AND played > 24
Write a SQL query that answers the following question: What was the average Lost entry for Newton, for games with a drawn less than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (lost INTEGER, team VARCHAR, drawn VARCHAR)
SELECT AVG(lost) FROM table_name_78 WHERE team = "newton" AND drawn < 5
Write a SQL query that answers the following question: What is the highest lost entry that has a drawn entry less than 6, goals against less than 44, and a points 1 entry of 27?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (lost INTEGER, points_1 VARCHAR, drawn VARCHAR, goals_against VARCHAR)
SELECT MAX(lost) FROM table_name_40 WHERE drawn < 6 AND goals_against < 44 AND points_1 = "27"
Write a SQL query that answers the following question: Who has a Snatch of 157.0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (name VARCHAR, snatch VARCHAR)
SELECT name FROM table_name_78 WHERE snatch = "157.0"
Write a SQL query that answers the following question: What is the total bodyweight of everyone that has a Snatch of 153.0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (bodyweight INTEGER, snatch VARCHAR)
SELECT SUM(bodyweight) FROM table_name_98 WHERE snatch = "153.0"
Write a SQL query that answers the following question: What ranking is the Battersea Power Station?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (rank VARCHAR, name VARCHAR)
SELECT rank FROM table_name_86 WHERE name = "battersea power station"
Write a SQL query that answers the following question: What ranking is the structure with 01.0 87 floors?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (rank VARCHAR, floors VARCHAR)
SELECT rank FROM table_name_51 WHERE floors = "01.0 87"
Write a SQL query that answers the following question: What is the highest Attendance, when Date is "Oct. 26"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (attendance INTEGER, date VARCHAR)
SELECT MAX(attendance) FROM table_name_25 WHERE date = "oct. 26"
Write a SQL query that answers the following question: What is the lowest Opponents, when Raiders Poinsts is greater than 38, and when Attendance is greater than 51,267?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (opponents INTEGER, raiders_points VARCHAR, attendance VARCHAR)
SELECT MIN(opponents) FROM table_name_79 WHERE raiders_points > 38 AND attendance > 51 OFFSET 267
Write a SQL query that answers the following question: What is the total number of Opponents, when Raiders Points is "42", when Attendance is less than 52,505?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (opponents VARCHAR, raiders_points VARCHAR, attendance VARCHAR)
SELECT COUNT(opponents) FROM table_name_16 WHERE raiders_points = 42 AND attendance < 52 OFFSET 505
Write a SQL query that answers the following question: What is the total number of Raiders First Downs, when Date is "Nov. 2", and when Raiders Points is greater than 42?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (raiders_first_downs VARCHAR, date VARCHAR, raiders_points VARCHAR)
SELECT COUNT(raiders_first_downs) FROM table_name_21 WHERE date = "nov. 2" AND raiders_points > 42
Write a SQL query that answers the following question: What is the average Tournaments, when Highest Rank is "Maegashira 1"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (tournaments INTEGER, highest_rank VARCHAR)
SELECT AVG(tournaments) FROM table_name_90 WHERE highest_rank = "maegashira 1"
Write a SQL query that answers the following question: What is Top Division Debut, when Tournaments is "12", and when Name is "Yamamotoyama"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (top_division_debut VARCHAR, tournaments VARCHAR, name VARCHAR)
SELECT top_division_debut FROM table_name_67 WHERE tournaments = 12 AND name = "yamamotoyama"
Write a SQL query that answers the following question: What is the lowest Tournaments, when Name is "Baruto"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (tournaments INTEGER, name VARCHAR)
SELECT MIN(tournaments) FROM table_name_76 WHERE name = "baruto"
Write a SQL query that answers the following question: What is the highest Tournaments, when Pro Debut is "July 2002"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (tournaments INTEGER, pro_debut VARCHAR)
SELECT MAX(tournaments) FROM table_name_13 WHERE pro_debut = "july 2002"
Write a SQL query that answers the following question: What is Pro Debut, when Tournament is greater than 11, and when Highest Rank is "Maegashira 1"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (pro_debut VARCHAR, tournaments VARCHAR, highest_rank VARCHAR)
SELECT pro_debut FROM table_name_68 WHERE tournaments > 11 AND highest_rank = "maegashira 1"
Write a SQL query that answers the following question: How many League Cup Goals have 0 as the total goals, with delroy facey as the name?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (league_cup_goals VARCHAR, total_goals VARCHAR, name VARCHAR)
SELECT COUNT(league_cup_goals) FROM table_name_90 WHERE total_goals = 0 AND name = "delroy facey"
Write a SQL query that answers the following question: How many total goals have 0 (3) as total apps, with league goals less than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (total_goals VARCHAR, total_apps VARCHAR, league_goals VARCHAR)
SELECT COUNT(total_goals) FROM table_name_80 WHERE total_apps = "0 (3)" AND league_goals < 0
Write a SQL query that answers the following question: What is the lowest league goals that have 0 as the FA Cup Apps, with 1 (3) as totals apps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (league_goals INTEGER, fa_cup_apps VARCHAR, total_apps VARCHAR)
SELECT MIN(league_goals) FROM table_name_46 WHERE fa_cup_apps = "0" AND total_apps = "1 (3)"
Write a SQL query that answers the following question: What was Stockholm's score when Malmo scored 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (stockholm VARCHAR, malmö VARCHAR)
SELECT stockholm FROM table_name_54 WHERE malmö = "2"
Write a SQL query that answers the following question: What did Vaxjo score when Karlstad scored 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (växjö VARCHAR, karlstad VARCHAR)
SELECT växjö FROM table_name_53 WHERE karlstad = "1"
Write a SQL query that answers the following question: What did Sundsvall score when Falun scored 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (sundsvall VARCHAR, falun VARCHAR)
SELECT sundsvall FROM table_name_94 WHERE falun = "2"
Write a SQL query that answers the following question: What was the highest total when Norrkoping scored 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (total INTEGER, norrköping VARCHAR)
SELECT MAX(total) FROM table_name_21 WHERE norrköping = "12"
Write a SQL query that answers the following question: What did Orebro score when Umea scored 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (örebro VARCHAR, umeå VARCHAR)
SELECT örebro FROM table_name_67 WHERE umeå = "2"
Write a SQL query that answers the following question: What was the result of the game that was attended by 80,886 people?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_38 WHERE attendance = "80,886"
Write a SQL query that answers the following question: What was the result of the game that was attended by 72,703 people?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_76 WHERE attendance = "72,703"
Write a SQL query that answers the following question: What was the result of the game that was attended by 41,650 people?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_56 WHERE attendance = "41,650"
Write a SQL query that answers the following question: When was the game against Indiana?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (date VARCHAR, opponent_number VARCHAR)
SELECT date FROM table_name_78 WHERE opponent_number = "indiana"
Write a SQL query that answers the following question: Which country is Brian Henninger from, who had a score larger than 69?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (country VARCHAR, score VARCHAR, player VARCHAR)
SELECT country FROM table_name_98 WHERE score > 69 AND player = "brian henninger"
Write a SQL query that answers the following question: What is Darren Clarke's total score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (score VARCHAR, player VARCHAR)
SELECT COUNT(score) FROM table_name_45 WHERE player = "darren clarke"
Write a SQL query that answers the following question: Who was the away team on 9 February 1988?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (away_team VARCHAR, date VARCHAR)
SELECT away_team FROM table_name_3 WHERE date = "9 february 1988"
Write a SQL query that answers the following question: Who was the away team on 30 January 1988, when the home team was Everton?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (away_team VARCHAR, home_team VARCHAR, date VARCHAR)
SELECT away_team FROM table_name_45 WHERE home_team = "everton" AND date = "30 january 1988"
Write a SQL query that answers the following question: On which date was the Tie no 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (date VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_41 WHERE tie_no = "2"
Write a SQL query that answers the following question: What was the Tie no when Manchester United was the home team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (tie_no VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_51 WHERE home_team = "manchester united"
Write a SQL query that answers the following question: What was the score when the Tie no was 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_56 WHERE tie_no = "9"
Write a SQL query that answers the following question: Which away team goes against the home team Mauritius?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_94 WHERE home_team = "mauritius"
Write a SQL query that answers the following question: Who is the away team that goes against Team Zambia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_13 WHERE home_team = "zambia"
Write a SQL query that answers the following question: Which away team has Tie no 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_80 WHERE tie_no = "3"
Write a SQL query that answers the following question: What is the away team playing at Everton?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_88 WHERE home_team = "everton"
Write a SQL query that answers the following question: What is the home team that Bradford City is playing against?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_72 WHERE away_team = "bradford city"
Write a SQL query that answers the following question: Which Location has a Method of decision (unanimous), and Res of win x?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (location VARCHAR, method VARCHAR, res VARCHAR)
SELECT location FROM table_name_99 WHERE method = "decision (unanimous)" AND res = "win x"
Write a SQL query that answers the following question: Which Round has a Time of 0:37?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (round VARCHAR, time VARCHAR)
SELECT round FROM table_name_26 WHERE time = "0:37"
Write a SQL query that answers the following question: Which result has a Record of 16-6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (res VARCHAR, record VARCHAR)
SELECT res FROM table_name_20 WHERE record = "16-6"
Write a SQL query that answers the following question: What Champion had a Score of 9–1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (champion VARCHAR, score VARCHAR)
SELECT champion FROM table_name_82 WHERE score = "9–1"
Write a SQL query that answers the following question: What score has 3 as the place?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (score VARCHAR, place VARCHAR)
SELECT score FROM table_name_87 WHERE place = "3"
Write a SQL query that answers the following question: What player has t7 as the place, with tje United States as the country?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (player VARCHAR, place VARCHAR, country VARCHAR)
SELECT player FROM table_name_12 WHERE place = "t7" AND country = "united states"
Write a SQL query that answers the following question: What score has hal sutton as the player?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_17 WHERE player = "hal sutton"
Write a SQL query that answers the following question: Who was the artist after 2012 with CD, LP as the format?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (artist VARCHAR, year VARCHAR, format VARCHAR)
SELECT artist FROM table_name_64 WHERE year > 2012 AND format = "cd, lp"
Write a SQL query that answers the following question: What year had a title of Die Shaolin Affen EP and EP as the type?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (year INTEGER, type VARCHAR, title VARCHAR)
SELECT AVG(year) FROM table_name_50 WHERE type = "ep" AND title = "die shaolin affen ep"
Write a SQL query that answers the following question: What is the title of the Misfits with a CD format?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (title VARCHAR, format VARCHAR, artist VARCHAR)
SELECT title FROM table_name_67 WHERE format = "cd" AND artist = "misfits"
Write a SQL query that answers the following question: What was the highest number of bronze medals for the entry with rank 2 and fewer than 3 silver medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (bronze INTEGER, rank VARCHAR, silver VARCHAR)
SELECT MAX(bronze) FROM table_name_15 WHERE rank = "2" AND silver < 3
Write a SQL query that answers the following question: What is the average number of gold medals won by Brazil for entries with more than 1 bronze medal but a total smaller than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (gold INTEGER, bronze VARCHAR, total VARCHAR, nation VARCHAR)
SELECT AVG(gold) FROM table_name_19 WHERE total < 4 AND nation = "brazil" AND bronze > 1
Write a SQL query that answers the following question: What is the sum of silver medals for the entry with rank 3 and a total of 4 medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (silver INTEGER, total VARCHAR, rank VARCHAR)
SELECT SUM(silver) FROM table_name_43 WHERE total = 4 AND rank = "3"
Write a SQL query that answers the following question: What season had a goal of 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (season VARCHAR, goals VARCHAR)
SELECT season FROM table_name_98 WHERE goals = "1"
Write a SQL query that answers the following question: What club was in Netherlands and had 22 goals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (club VARCHAR, country VARCHAR, goals VARCHAR)
SELECT club FROM table_name_82 WHERE country = "netherlands" AND goals = "22"
Write a SQL query that answers the following question: What season had Belgium and 1 goal?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (season VARCHAR, country VARCHAR, goals VARCHAR)
SELECT season FROM table_name_29 WHERE country = "belgium" AND goals = "1"
Write a SQL query that answers the following question: Which Year has a Category of best film?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (year INTEGER, category VARCHAR)
SELECT MAX(year) FROM table_name_66 WHERE category = "best film"
Write a SQL query that answers the following question: Who is the incumbent from the democratic party in the washington 7 district?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (incumbent VARCHAR, party VARCHAR, district VARCHAR)
SELECT incumbent FROM table_name_35 WHERE party = "democratic" AND district = "washington 7"
Write a SQL query that answers the following question: When was the earliest incumbent dave reichert was first elected?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (first_elected INTEGER, incumbent VARCHAR)
SELECT MIN(first_elected) FROM table_name_86 WHERE incumbent = "dave reichert"
Write a SQL query that answers the following question: What is the total of the first elected year of incumbent norm dicks?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (first_elected VARCHAR, incumbent VARCHAR)
SELECT COUNT(first_elected) FROM table_name_29 WHERE incumbent = "norm dicks"
Write a SQL query that answers the following question: What is the total of the first elected year of the incumbent from the washington 8 district?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (first_elected VARCHAR, district VARCHAR)
SELECT COUNT(first_elected) FROM table_name_91 WHERE district = "washington 8"
Write a SQL query that answers the following question: WHAT IS THE START THAT HAS A FINISH BIGGER THAN 3, FROM FORD, AFTER 1969?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (start INTEGER, year VARCHAR, finish VARCHAR, manufacturer VARCHAR)
SELECT MAX(start) FROM table_name_83 WHERE finish > 3 AND manufacturer = "ford" AND year > 1969
Write a SQL query that answers the following question: WHAT MANUFACTURER AFTER 1966 HAD A START SMALLER THAN 5, A WOOD TEAM AND FINISHED 35?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (manufacturer VARCHAR, finish VARCHAR, team VARCHAR, year VARCHAR, start VARCHAR)
SELECT manufacturer FROM table_name_5 WHERE year > 1966 AND start < 5 AND team = "wood" AND finish = 35
Write a SQL query that answers the following question: WHAT WAS THE FINISH NUMBER WITH A START SMALLER THAN 20 IN 1969?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (finish VARCHAR, start VARCHAR, year VARCHAR)
SELECT COUNT(finish) FROM table_name_6 WHERE start < 20 AND year = 1969
Write a SQL query that answers the following question: What is the total number of Pleasure(s), when Psychological Dependence is greater than 1.9, and when Drug is "Benzodiazepines"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (pleasure VARCHAR, psychological_dependence VARCHAR, drug VARCHAR)
SELECT COUNT(pleasure) FROM table_name_69 WHERE psychological_dependence > 1.9 AND drug = "benzodiazepines"
Write a SQL query that answers the following question: What is the highest Psychological Dependence, when Pleasure is less than 2.3, when Drug is "Cannabis", and when Physical Dependence is less than 0.8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (psychological_dependence INTEGER, physical_dependence VARCHAR, pleasure VARCHAR, drug VARCHAR)
SELECT MAX(psychological_dependence) FROM table_name_55 WHERE pleasure < 2.3 AND drug = "cannabis" AND physical_dependence < 0.8
Write a SQL query that answers the following question: What is the average Mean, when Drug is "Alcohol", and when Psychological Dependence is greater than 1.9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (mean INTEGER, drug VARCHAR, psychological_dependence VARCHAR)
SELECT AVG(mean) FROM table_name_98 WHERE drug = "alcohol" AND psychological_dependence > 1.9
Write a SQL query that answers the following question: What is the total number of Psychological Dependence, when Pleasure is "2.3", and when Mean is less than 1.9300000000000002?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (psychological_dependence VARCHAR, pleasure VARCHAR, mean VARCHAR)
SELECT COUNT(psychological_dependence) FROM table_name_91 WHERE pleasure = 2.3 AND mean < 1.9300000000000002
Write a SQL query that answers the following question: What is the sum of Pleasure, when Drug is "LSD", and when Psychological Dependence is greater than 1.1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (pleasure INTEGER, drug VARCHAR, psychological_dependence VARCHAR)
SELECT SUM(pleasure) FROM table_name_57 WHERE drug = "lsd" AND psychological_dependence > 1.1
Write a SQL query that answers the following question: What Country's team is Rajasthan Royals at the 2008 Indian Premier League?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (country VARCHAR, domestic_tournament VARCHAR, team VARCHAR)
SELECT country FROM table_name_87 WHERE domestic_tournament = "2008 indian premier league" AND team = "rajasthan royals"
Write a SQL query that answers the following question: What is the Domestic Tournament with Chennai Super Kings Team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (domestic_tournament VARCHAR, team VARCHAR)
SELECT domestic_tournament FROM table_name_42 WHERE team = "chennai super kings"
Write a SQL query that answers the following question: What is the Dolphins Group?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (group VARCHAR, team VARCHAR)
SELECT group FROM table_name_42 WHERE team = "dolphins"
Write a SQL query that answers the following question: Who is the player that won in the year 1978?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (player VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_81 WHERE year_s__won = "1978"