instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Who remixed the version with a length of 3:58?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (remixed_by VARCHAR, length VARCHAR)
SELECT remixed_by FROM table_name_74 WHERE length = "3:58"
Write a SQL query that answers the following question: Which album is the royal g's club mix version, which is remixed by royal garden sound, from?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (album VARCHAR, remixed_by VARCHAR, version VARCHAR)
SELECT album FROM table_name_20 WHERE remixed_by = "royal garden sound" AND version = "royal g's club mix"
Write a SQL query that answers the following question: How many were in attendance in a week less than 4 with a record of 2–1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (attendance VARCHAR, week VARCHAR, record VARCHAR)
SELECT attendance FROM table_name_81 WHERE week < 4 AND record = "2–1"
Write a SQL query that answers the following question: How many were in attendance at Griffith Stadium with Philadelphia Eagles as an opponent?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (attendance VARCHAR, game_site VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_78 WHERE game_site = "griffith stadium" AND opponent = "philadelphia eagles"
Write a SQL query that answers the following question: In what week was the attendance 25,000?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (week VARCHAR, attendance VARCHAR)
SELECT week FROM table_name_92 WHERE attendance = "25,000"
Write a SQL query that answers the following question: What game site had a result at l 21–13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (game_site VARCHAR, result VARCHAR)
SELECT game_site FROM table_name_27 WHERE result = "l 21–13"
Write a SQL query that answers the following question: What score has 34-19-6 as the record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_18 WHERE record = "34-19-6"
Write a SQL query that answers the following question: What is the average February that has 56 as the game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (february INTEGER, game VARCHAR)
SELECT AVG(february) FROM table_name_77 WHERE game = 56
Write a SQL query that answers the following question: What is the sum of team impul with the date of 8 july
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (round INTEGER, team VARCHAR, date VARCHAR)
SELECT SUM(round) FROM table_name_64 WHERE team = "team impul" AND date = "8 july"
Write a SQL query that answers the following question: what is the pole position of Round 9
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (pole_position VARCHAR, round VARCHAR)
SELECT pole_position FROM table_name_4 WHERE round = 9
Write a SQL query that answers the following question: what is the lowest round pole position of satoshi motoyama
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (round INTEGER, pole_position VARCHAR)
SELECT MIN(round) FROM table_name_22 WHERE pole_position = "satoshi motoyama"
Write a SQL query that answers the following question: What was the home team with the away team of rushden & diamonds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_73 WHERE away_team = "rushden & diamonds"
Write a SQL query that answers the following question: For the attendance of 2 january 1999 with a home team of plymouth argyle what is the tie no. ?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (tie_no VARCHAR, attendance VARCHAR, home_team VARCHAR)
SELECT tie_no FROM table_name_5 WHERE attendance = "2 january 1999" AND home_team = "plymouth argyle"
Write a SQL query that answers the following question: Which Lost has a Drawn larger than 1, and Games smaller than 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (lost INTEGER, drawn VARCHAR, games VARCHAR)
SELECT MIN(lost) FROM table_name_8 WHERE drawn > 1 AND games < 7
Write a SQL query that answers the following question: Which Drawn has Games smaller than 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (drawn INTEGER, games INTEGER)
SELECT SUM(drawn) FROM table_name_41 WHERE games < 7
Write a SQL query that answers the following question: How many Games have a Drawn smaller than 1, and a Lost larger than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (games VARCHAR, drawn VARCHAR, lost VARCHAR)
SELECT COUNT(games) FROM table_name_5 WHERE drawn < 1 AND lost > 4
Write a SQL query that answers the following question: what is the winning driver in taunus
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (winning_driver VARCHAR, circuit VARCHAR)
SELECT winning_driver FROM table_name_19 WHERE circuit = "taunus"
Write a SQL query that answers the following question: Which Record has a Home of Montreal Canadiens and a Date of April 22?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (record VARCHAR, home VARCHAR, date VARCHAR)
SELECT record FROM table_name_49 WHERE home = "montreal canadiens" AND date = "april 22"
Write a SQL query that answers the following question: What Score has a Home of Montreal Canadiens and a Date of April 22?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (score VARCHAR, home VARCHAR, date VARCHAR)
SELECT score FROM table_name_74 WHERE home = "montreal canadiens" AND date = "april 22"
Write a SQL query that answers the following question: What is the lowest number of bronze medals received by a nation with fewer than 0 gold medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (bronze INTEGER, gold INTEGER)
SELECT MIN(bronze) FROM table_name_68 WHERE gold < 0
Write a SQL query that answers the following question: What is the lowest number of silver medals for a nation with fewer than 1 total medals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (silver INTEGER, total INTEGER)
SELECT MIN(silver) FROM table_name_1 WHERE total < 1
Write a SQL query that answers the following question: Which Rank has a Total larger than 17, and a Silver smaller than 13?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (rank VARCHAR, total VARCHAR, silver VARCHAR)
SELECT rank FROM table_name_94 WHERE total > 17 AND silver < 13
Write a SQL query that answers the following question: Which Total is the highest one that has a Gold of 1, and a Nation of czechoslovakia?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (total INTEGER, gold VARCHAR, nation VARCHAR)
SELECT MAX(total) FROM table_name_29 WHERE gold = 1 AND nation = "czechoslovakia"
Write a SQL query that answers the following question: How much Total has a Silver smaller than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (total VARCHAR, silver INTEGER)
SELECT COUNT(total) FROM table_name_38 WHERE silver < 0
Write a SQL query that answers the following question: Which Total has a Rank of 4, and a Silver smaller than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (total INTEGER, rank VARCHAR, silver VARCHAR)
SELECT AVG(total) FROM table_name_36 WHERE rank = "4" AND silver < 4
Write a SQL query that answers the following question: Which Silver is the lowest one that has a Bronze smaller than 1, and a Gold larger than 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
SELECT MIN(silver) FROM table_name_56 WHERE bronze < 1 AND gold > 0
Write a SQL query that answers the following question: WHich Year has a Music director(s) of anu malik?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (year INTEGER, music_director_s_ VARCHAR)
SELECT SUM(year) FROM table_name_5 WHERE music_director_s_ = "anu malik"
Write a SQL query that answers the following question: Which Year has a Film of baazigar?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (year INTEGER, film VARCHAR)
SELECT MAX(year) FROM table_name_32 WHERE film = "baazigar"
Write a SQL query that answers the following question: Which Opponent has a Streak of lost 1, and a Date of april 30?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (opponent VARCHAR, streak VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_10 WHERE streak = "lost 1" AND date = "april 30"
Write a SQL query that answers the following question: What is the number of sequences for the name Alifoldz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (number_of_sequences_number_of_sequences VARCHAR, name VARCHAR)
SELECT number_of_sequences_number_of_sequences AS :_ FROM table_name_72 WHERE name = "alifoldz"
Write a SQL query that answers the following question: What is the alignment that predicts an alignment of the linuxbinary link?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (_ VARCHAR, alignment_alignment VARCHAR, link VARCHAR)
SELECT alignment_alignment AS :_predicts_an_alignment_, _ FROM table_name_27 WHERE link = "linuxbinary"
Write a SQL query that answers the following question: Which Playoffs have a Year smaller than 2012, and an Open Cup of did not enter?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (playoffs VARCHAR, year VARCHAR, open_cup VARCHAR)
SELECT playoffs FROM table_name_83 WHERE year < 2012 AND open_cup = "did not enter"
Write a SQL query that answers the following question: Which Year is the lowest one that has a Regular Season of 5th, atlantic, and a Division larger than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (year INTEGER, regular_season VARCHAR, division VARCHAR)
SELECT MIN(year) FROM table_name_12 WHERE regular_season = "5th, atlantic" AND division > 4
Write a SQL query that answers the following question: Which Year has Playoffs which did not qualify?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (year INTEGER, playoffs VARCHAR)
SELECT AVG(year) FROM table_name_94 WHERE playoffs = "did not qualify"
Write a SQL query that answers the following question: Can you tell me the Gold that has the Silver of south korea, and the Year of 1986?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (gold VARCHAR, silver VARCHAR, year VARCHAR)
SELECT gold FROM table_name_39 WHERE silver = "south korea" AND year = 1986
Write a SQL query that answers the following question: When was Lee Phillips the director?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (year VARCHAR, director VARCHAR)
SELECT year FROM table_name_35 WHERE director = "lee phillips"
Write a SQL query that answers the following question: What is the movie that Paul Schneider directed?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (title VARCHAR, director VARCHAR)
SELECT title FROM table_name_97 WHERE director = "paul schneider"
Write a SQL query that answers the following question: The box office was $961,147 in what year?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (year VARCHAR, box_office VARCHAR)
SELECT year FROM table_name_18 WHERE box_office = "$961,147"
Write a SQL query that answers the following question: Three Men and a Little Lady from Touchstone Pictures was from what year?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (year VARCHAR, distributor_s_ VARCHAR, title VARCHAR)
SELECT year FROM table_name_12 WHERE distributor_s_ = "touchstone pictures" AND title = "three men and a little lady"
Write a SQL query that answers the following question: What is the name of the movie from 1997 distributed from HBO Pictures?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (title VARCHAR, year VARCHAR, distributor_s_ VARCHAR)
SELECT title FROM table_name_99 WHERE year = "1997" AND distributor_s_ = "hbo pictures"
Write a SQL query that answers the following question: What movie earned $1,659,542 at the box office?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (title VARCHAR, box_office VARCHAR)
SELECT title FROM table_name_29 WHERE box_office = "$1,659,542"
Write a SQL query that answers the following question: Which accession number has a protein name of ccdc165, and a divergence from human lineage (MYA) smaller than 296?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (accession_number VARCHAR, protein_name VARCHAR, divergence_from_human_lineage__mya_ VARCHAR)
SELECT accession_number FROM table_name_29 WHERE protein_name = "ccdc165" AND divergence_from_human_lineage__mya_ < 296
Write a SQL query that answers the following question: Which sequence identity to human protein has a divergence from human lineage (MYA) larger than 8.8, and a sequence length (aa) larger than 1587, and a protein name of soga2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (sequence_identity_to_human_protein VARCHAR, protein_name VARCHAR, divergence_from_human_lineage__mya_ VARCHAR, sequence_length__aa_ VARCHAR)
SELECT sequence_identity_to_human_protein FROM table_name_51 WHERE divergence_from_human_lineage__mya_ > 8.8 AND sequence_length__aa_ > 1587 AND protein_name = "soga2"
Write a SQL query that answers the following question: What's the record of the team who played the Cleveland Browns?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_56 WHERE opponent = "cleveland browns"
Write a SQL query that answers the following question: What is the hometown of the player who plays pr?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (hometown VARCHAR, position VARCHAR)
SELECT hometown FROM table_name_17 WHERE position = "pr"
Write a SQL query that answers the following question: Which college's overall number is more than 158 when Travian Robertson is the name?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (college VARCHAR, overall VARCHAR, name VARCHAR)
SELECT college FROM table_name_87 WHERE overall > 158 AND name = "travian robertson"
Write a SQL query that answers the following question: Which round's name is Jonathan Massaquoi?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (round VARCHAR, name VARCHAR)
SELECT round FROM table_name_40 WHERE name = "jonathan massaquoi"
Write a SQL query that answers the following question: What is the mean round number for center position when the pick number is less than 23?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (round INTEGER, position VARCHAR, pick__number VARCHAR)
SELECT AVG(round) FROM table_name_39 WHERE position = "center" AND pick__number < 23
Write a SQL query that answers the following question: Which Altitude (mslm) has a Density (inhabitants/km 2) smaller than 1233, and a Rank of 9th?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (altitude__mslm_ INTEGER, density__inhabitants_km_2__ VARCHAR, rank VARCHAR)
SELECT SUM(altitude__mslm_) FROM table_name_85 WHERE density__inhabitants_km_2__ < 1233 AND rank = "9th"
Write a SQL query that answers the following question: Which Altitude (mslm) has a Density (inhabitants/km 2) smaller than 1467.5, and a Common of moncalieri?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (altitude__mslm_ INTEGER, density__inhabitants_km_2__ VARCHAR, common_of VARCHAR)
SELECT SUM(altitude__mslm_) FROM table_name_89 WHERE density__inhabitants_km_2__ < 1467.5 AND common_of = "moncalieri"
Write a SQL query that answers the following question: How much Area (km 2) has a Common of collegno, and a Population smaller than 50137?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (area__km_2__ VARCHAR, common_of VARCHAR, population VARCHAR)
SELECT COUNT(area__km_2__) FROM table_name_60 WHERE common_of = "collegno" AND population < 50137
Write a SQL query that answers the following question: How many people have an Altitude (mslm) larger than 302, and an Area (km 2) of 29.2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (population VARCHAR, altitude__mslm_ VARCHAR, area__km_2__ VARCHAR)
SELECT COUNT(population) FROM table_name_41 WHERE altitude__mslm_ > 302 AND area__km_2__ = 29.2
Write a SQL query that answers the following question: Which Population is the highest one that has an Altitude (mslm) smaller than 229, and an Area (km 2) larger than 32.7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (population INTEGER, altitude__mslm_ VARCHAR, area__km_2__ VARCHAR)
SELECT MAX(population) FROM table_name_19 WHERE altitude__mslm_ < 229 AND area__km_2__ > 32.7
Write a SQL query that answers the following question: what builder launched 20 jun 1953?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (builder VARCHAR, launched VARCHAR)
SELECT builder FROM table_name_75 WHERE launched = "20 jun 1953"
Write a SQL query that answers the following question: what is the commissioned date with laid down of 17 dec 1951?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (commissioned VARCHAR, laid_down VARCHAR)
SELECT commissioned FROM table_name_8 WHERE laid_down = "17 dec 1951"
Write a SQL query that answers the following question: What round was matt brait?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (round VARCHAR, player VARCHAR)
SELECT round FROM table_name_51 WHERE player = "matt brait"
Write a SQL query that answers the following question: Which player is in position center for round 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (player VARCHAR, round VARCHAR, position VARCHAR)
SELECT player FROM table_name_88 WHERE round = "2" AND position = "center"
Write a SQL query that answers the following question: What position is Sweden in round 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (position VARCHAR, nationality VARCHAR, round VARCHAR)
SELECT position FROM table_name_55 WHERE nationality = "sweden" AND round = "2"
Write a SQL query that answers the following question: What is the height of number 52?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (height VARCHAR, number VARCHAR)
SELECT height FROM table_name_80 WHERE number = 52
Write a SQL query that answers the following question: What number is Tony Dixon?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (number VARCHAR, name VARCHAR)
SELECT number FROM table_name_22 WHERE name = "tony dixon"
Write a SQL query that answers the following question: What is the average Draw for the artist(s), whose language is Swedish, and scored less than 10 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (draw INTEGER, language VARCHAR, points VARCHAR)
SELECT AVG(draw) FROM table_name_99 WHERE language = "swedish" AND points < 10
Write a SQL query that answers the following question: Which Economic Class has a Barangay of imelda bliss village?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (economic_class VARCHAR, barangay VARCHAR)
SELECT economic_class FROM table_name_77 WHERE barangay = "imelda bliss village"
Write a SQL query that answers the following question: What 1997 has grand slams for the 1999?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (Id VARCHAR)
SELECT 1997 FROM table_name_23 WHERE 1999 = "grand slams"
Write a SQL query that answers the following question: What 1992 has atp masters series for the 1995?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (Id VARCHAR)
SELECT 1992 FROM table_name_50 WHERE 1995 = "atp masters series"
Write a SQL query that answers the following question: What 1995 has 1r as the 1999, and a 1998 of 4r?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (Id VARCHAR)
SELECT 1995 FROM table_name_48 WHERE 1999 = "1r" AND 1998 = "4r"
Write a SQL query that answers the following question: What 1998 has 2r as a 1993, and 1r as a 1990?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (Id VARCHAR)
SELECT 1998 FROM table_name_46 WHERE 1993 = "2r" AND 1990 = "1r"
Write a SQL query that answers the following question: What 1997, has qf as a 1994, and 1r as a 1999?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (Id VARCHAR)
SELECT 1997 FROM table_name_6 WHERE 1994 = "qf" AND 1999 = "1r"
Write a SQL query that answers the following question: What 1993 has 2r as a 1994, and 1r as a 1995?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (Id VARCHAR)
SELECT 1993 FROM table_name_18 WHERE 1994 = "2r" AND 1995 = "1r"
Write a SQL query that answers the following question: Which Driver has a Sponsor of pdvsa?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (driver_s_ VARCHAR, sponsor_s_ VARCHAR)
SELECT driver_s_ FROM table_name_26 WHERE sponsor_s_ = "pdvsa"
Write a SQL query that answers the following question: What are the colours of the team with benedikt guðmundsson as head coach?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (colours VARCHAR, head_coach VARCHAR)
SELECT colours FROM table_name_26 WHERE head_coach = "benedikt guðmundsson"
Write a SQL query that answers the following question: What is the city and region of the team in the dalhús arena?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (city VARCHAR, _region VARCHAR, arena VARCHAR)
SELECT city, _region FROM table_name_35 WHERE arena = "dalhús"
Write a SQL query that answers the following question: What team is in the toyota höllin arena?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (team VARCHAR, arena VARCHAR)
SELECT team FROM table_name_42 WHERE arena = "toyota höllin"
Write a SQL query that answers the following question: What team is in the dhl-höllin arena?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (team VARCHAR, arena VARCHAR)
SELECT team FROM table_name_5 WHERE arena = "dhl-höllin"
Write a SQL query that answers the following question: What is the number of points for the team with 49 tries against and 14 lost?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (points_against VARCHAR, tries_against VARCHAR, lost VARCHAR)
SELECT points_against FROM table_name_19 WHERE tries_against = "49" AND lost = "14"
Write a SQL query that answers the following question: What is the losing bonus for the team that has 33 tries against and 5 lost?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (losing_bonus VARCHAR, tries_against VARCHAR, lost VARCHAR)
SELECT losing_bonus FROM table_name_35 WHERE tries_against = "33" AND lost = "5"
Write a SQL query that answers the following question: What is the tries against for the team that has a losing bonus?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (tries_against VARCHAR, losing_bonus VARCHAR)
SELECT tries_against FROM table_name_48 WHERE losing_bonus = "losing bonus"
Write a SQL query that answers the following question: What is the number of tries for the team that has 22 plays with 33 tries against and 60 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (tries_for VARCHAR, points VARCHAR, played VARCHAR, tries_against VARCHAR)
SELECT tries_for FROM table_name_22 WHERE played = "22" AND tries_against = "33" AND points = "60"
Write a SQL query that answers the following question: What is the losing bonus of the team with 22 pays and 428 points against?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (losing_bonus VARCHAR, played VARCHAR, points_against VARCHAR)
SELECT losing_bonus FROM table_name_9 WHERE played = "22" AND points_against = "428"
Write a SQL query that answers the following question: Name the years for spain with 215 goals
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (years VARCHAR, nationality VARCHAR, goals VARCHAR)
SELECT years FROM table_name_31 WHERE nationality = "spain" AND goals = 215
Write a SQL query that answers the following question: Name the most goals for josep samitier
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (goals INTEGER, name VARCHAR)
SELECT MAX(goals) FROM table_name_8 WHERE name = "josep samitier"
Write a SQL query that answers the following question: Which Record has a December smaller than 22 and a Score of 4–3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (record VARCHAR, december VARCHAR, score VARCHAR)
SELECT record FROM table_name_58 WHERE december < 22 AND score = "4–3"
Write a SQL query that answers the following question: Which Score has a Record of 15–12–2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_28 WHERE record = "15–12–2"
Write a SQL query that answers the following question: Which December has a Game of 37 and Points smaller than 47?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (december INTEGER, game VARCHAR, points VARCHAR)
SELECT AVG(december) FROM table_name_35 WHERE game = 37 AND points < 47
Write a SQL query that answers the following question: Which Points have a December smaller than 6, and a Score of 1–1 ot, and a Game smaller than 28?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (points INTEGER, game VARCHAR, december VARCHAR, score VARCHAR)
SELECT MIN(points) FROM table_name_1 WHERE december < 6 AND score = "1–1 ot" AND game < 28
Write a SQL query that answers the following question: Which Game has a Score of 4–0 and Points of 44?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (game VARCHAR, score VARCHAR, points VARCHAR)
SELECT game FROM table_name_3 WHERE score = "4–0" AND points = 44
Write a SQL query that answers the following question: Which Previous conference has a Year joined smaller than 1976, and an IHSAA Class of A?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (previous_conference VARCHAR, year_joined VARCHAR, ihsaa_class VARCHAR)
SELECT previous_conference FROM table_name_23 WHERE year_joined < 1976 AND ihsaa_class = "a"
Write a SQL query that answers the following question: Which Enrollment has a Mascot of norsemen?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (enrollment INTEGER, mascot VARCHAR)
SELECT SUM(enrollment) FROM table_name_5 WHERE mascot = "norsemen"
Write a SQL query that answers the following question: Which Mascot has a Previous conference of independents, and a Location of akron?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (mascot VARCHAR, previous_conference VARCHAR, location VARCHAR)
SELECT mascot FROM table_name_38 WHERE previous_conference = "independents" AND location = "akron"
Write a SQL query that answers the following question: Which IHSAA Class has a Mascot of wildcats?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (ihsaa_class VARCHAR, mascot VARCHAR)
SELECT ihsaa_class FROM table_name_2 WHERE mascot = "wildcats"
Write a SQL query that answers the following question: Which School in Wabash has a Mascot of knights?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (school VARCHAR, location VARCHAR, mascot VARCHAR)
SELECT school FROM table_name_96 WHERE location = "wabash" AND mascot = "knights"
Write a SQL query that answers the following question: Which Win percentage has a Name of red kelly?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (win_percentage INTEGER, name VARCHAR)
SELECT SUM(win_percentage) FROM table_name_55 WHERE name = "red kelly"
Write a SQL query that answers the following question: Which Name has Games of 105?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (name VARCHAR, games VARCHAR)
SELECT name FROM table_name_53 WHERE games = 105
Write a SQL query that answers the following question: Which Win percentage has Points smaller than 472, and a Record (W–L–T/OTL) of 140–220–40?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (win_percentage INTEGER, points VARCHAR, record__w_l_t___otl_ VARCHAR)
SELECT AVG(win_percentage) FROM table_name_79 WHERE points < 472 AND record__w_l_t___otl_ = "140–220–40"
Write a SQL query that answers the following question: Which round has an H/A of A with Notts County as opponents?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (round VARCHAR, h___a VARCHAR, opponents VARCHAR)
SELECT round FROM table_name_72 WHERE h___a = "a" AND opponents = "notts county"
Write a SQL query that answers the following question: What was the Premiership Years that had in the Competition of 1983-1992?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (premiership_years VARCHAR, years_in_competition VARCHAR)
SELECT premiership_years FROM table_name_65 WHERE years_in_competition = "1983-1992"
Write a SQL query that answers the following question: What was the Years in competition that had a Premiership of 1982, 1984, 1999, 2002-03, 2008-09-10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (years_in_competition VARCHAR, premiership_years VARCHAR)
SELECT years_in_competition FROM table_name_2 WHERE premiership_years = "1982, 1984, 1999, 2002-03, 2008-09-10"
Write a SQL query that answers the following question: What is the Nickname in the Competition of 1982-1994?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (nickname VARCHAR, years_in_competition VARCHAR)
SELECT nickname FROM table_name_76 WHERE years_in_competition = "1982-1994"
Write a SQL query that answers the following question: What was the Nickname that had a No. 0, and Years in Competition of 1982-2003?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (nickname VARCHAR, no_of_premierships VARCHAR, years_in_competition VARCHAR)
SELECT nickname FROM table_name_26 WHERE no_of_premierships = 0 AND years_in_competition = "1982-2003"
Write a SQL query that answers the following question: Which highest Points has a Score of 1–1 ot?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (points INTEGER, score VARCHAR)
SELECT MAX(points) FROM table_name_49 WHERE score = "1–1 ot"
Write a SQL query that answers the following question: Which College/Junior/Club team has a Round of 6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (college_junior_club_team VARCHAR, round VARCHAR)
SELECT college_junior_club_team FROM table_name_13 WHERE round = 6