instruction
stringlengths 67
299
| input
stringlengths 88
550
| output
stringlengths 32
484
|
|---|---|---|
Write a SQL query that answers the following question: Where was the game held that was played on 2002-03-07?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (venue VARCHAR, date VARCHAR)
|
SELECT venue FROM table_name_36 WHERE date = "2002-03-07"
|
Write a SQL query that answers the following question: What is the total gold from New zealand and a rank less than 14?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (gold INTEGER, nation VARCHAR, rank VARCHAR)
|
SELECT SUM(gold) FROM table_name_18 WHERE nation = "new zealand" AND rank < 14
|
Write a SQL query that answers the following question: What is the average of the silver that has less than 0 gold
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (silver INTEGER, gold INTEGER)
|
SELECT AVG(silver) FROM table_name_75 WHERE gold < 0
|
Write a SQL query that answers the following question: Which nation has 0 gold, 0 silver and 2 total?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (nation VARCHAR, total VARCHAR, gold VARCHAR, silver VARCHAR)
|
SELECT nation FROM table_name_53 WHERE gold = 0 AND silver = 0 AND total = 2
|
Write a SQL query that answers the following question: What is the total gold in Norway with more than 1 bronze?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (gold INTEGER, nation VARCHAR, bronze VARCHAR)
|
SELECT SUM(gold) FROM table_name_84 WHERE nation = "norway" AND bronze > 1
|
Write a SQL query that answers the following question: What is the total bronze from Puerto Rico with a total of less than 1?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (bronze INTEGER, nation VARCHAR, total VARCHAR)
|
SELECT SUM(bronze) FROM table_name_27 WHERE nation = "puerto rico" AND total < 1
|
Write a SQL query that answers the following question: Which season has the Celtic club?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (season VARCHAR, club VARCHAR)
|
SELECT season FROM table_name_53 WHERE club = "celtic"
|
Write a SQL query that answers the following question: What was Parker Moloney's party affiliation when he was the Minister for Markets?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (party VARCHAR, minister VARCHAR, title VARCHAR)
|
SELECT party FROM table_name_3 WHERE minister = "parker moloney" AND title = "minister for markets"
|
Write a SQL query that answers the following question: What was the starting date for the Minister for agriculture, fisheries and forestry that is in order number 25??
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (term_start VARCHAR, title VARCHAR, order VARCHAR)
|
SELECT term_start FROM table_name_47 WHERE title = "minister for agriculture, fisheries and forestry" AND order = "25"
|
Write a SQL query that answers the following question: What was the score in the venue of Seoul that resulted in 8-0?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (score VARCHAR, venue VARCHAR, result VARCHAR)
|
SELECT score FROM table_name_32 WHERE venue = "seoul" AND result = "8-0"
|
Write a SQL query that answers the following question: What date had a result of 8-0?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (date VARCHAR, result VARCHAR)
|
SELECT date FROM table_name_40 WHERE result = "8-0"
|
Write a SQL query that answers the following question: On July 26, 1977, what competition played at the venue of Kuala Lumpur, resulted in 4-0?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (competition VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR)
|
SELECT competition FROM table_name_89 WHERE venue = "kuala lumpur" AND result = "4-0" AND date = "july 26, 1977"
|
Write a SQL query that answers the following question: What venue were the 1986 Asian games resulting in 2-0 played at?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (venue VARCHAR, competition VARCHAR, result VARCHAR)
|
SELECT venue FROM table_name_44 WHERE competition = "1986 asian games" AND result = "2-0"
|
Write a SQL query that answers the following question: How many total League goals does Player John O'Flynn have?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (league_goals INTEGER, player VARCHAR)
|
SELECT SUM(league_goals) FROM table_name_45 WHERE player = "john o'flynn"
|
Write a SQL query that answers the following question: What is the earliest year that had a Lotus 49B chassis?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (year INTEGER, chassis VARCHAR)
|
SELECT MIN(year) FROM table_name_73 WHERE chassis = "lotus 49b"
|
Write a SQL query that answers the following question: Name the least lane for lenny krayzelburg
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (lane INTEGER, name VARCHAR)
|
SELECT MIN(lane) FROM table_name_18 WHERE name = "lenny krayzelburg"
|
Write a SQL query that answers the following question: Round of 9 involved what name?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (name VARCHAR, round VARCHAR)
|
SELECT name FROM table_name_67 WHERE round = 9
|
Write a SQL query that answers the following question: Name of calvin o'neal, and a Round smaller than 6 had what number total overall?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (overall VARCHAR, name VARCHAR, round VARCHAR)
|
SELECT COUNT(overall) FROM table_name_3 WHERE name = "calvin o'neal" AND round < 6
|
Write a SQL query that answers the following question: Name the work for years before 2007 that won blockbuster entertainment awards
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (work VARCHAR, year VARCHAR, award VARCHAR)
|
SELECT work FROM table_name_47 WHERE year < 2007 AND award = "blockbuster entertainment awards"
|
Write a SQL query that answers the following question: Name the Cole for years before 2009 where Dylan was nominated for big daddy at mtv movie awards
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (cole VARCHAR, award VARCHAR, work VARCHAR, year VARCHAR, dylan VARCHAR)
|
SELECT cole FROM table_name_94 WHERE year < 2009 AND dylan = "nominated" AND work = "big daddy" AND award = "mtv movie awards"
|
Write a SQL query that answers the following question: Position of running back involves which college?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (college VARCHAR, position VARCHAR)
|
SELECT college FROM table_name_57 WHERE position = "running back"
|
Write a SQL query that answers the following question: Round larger than 2, and a Position of guard involves what college?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (college VARCHAR, round VARCHAR, position VARCHAR)
|
SELECT college FROM table_name_6 WHERE round > 2 AND position = "guard"
|
Write a SQL query that answers the following question: Pick # smaller than 46, and a Round of 5, and a Position of defensive tackle involves which college?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (college VARCHAR, position VARCHAR, pick__number VARCHAR, round VARCHAR)
|
SELECT college FROM table_name_72 WHERE pick__number < 46 AND round = 5 AND position = "defensive tackle"
|
Write a SQL query that answers the following question: What is the percentage who speak Russian?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (percentage___percentage_ VARCHAR, language VARCHAR)
|
SELECT percentage___percentage_ FROM table_name_73 WHERE language = "russian"
|
Write a SQL query that answers the following question: How many speak german?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (number VARCHAR, language VARCHAR)
|
SELECT number FROM table_name_50 WHERE language = "german"
|
Write a SQL query that answers the following question: What is the percentage where males equal 99?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (percentage___percentage_ VARCHAR, males VARCHAR)
|
SELECT percentage___percentage_ FROM table_name_35 WHERE males = "99"
|
Write a SQL query that answers the following question: How many women speak German?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (females VARCHAR, language VARCHAR)
|
SELECT females FROM table_name_67 WHERE language = "german"
|
Write a SQL query that answers the following question: What is the lowest number of league cups associated with 0 FA cups?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (league_cup INTEGER, fa_cup INTEGER)
|
SELECT MIN(league_cup) FROM table_name_65 WHERE fa_cup < 0
|
Write a SQL query that answers the following question: How many FA cups for the player with under 5 champs, 0 league cups, and over 3 total?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (fa_cup INTEGER, total VARCHAR, championship VARCHAR, league_cup VARCHAR)
|
SELECT SUM(fa_cup) FROM table_name_13 WHERE championship < 5 AND league_cup = 0 AND total > 3
|
Write a SQL query that answers the following question: How many league cups associated with under 10 championships and a total of under 3?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (league_cup INTEGER, championship VARCHAR, total VARCHAR)
|
SELECT SUM(league_cup) FROM table_name_36 WHERE championship < 10 AND total < 3
|
Write a SQL query that answers the following question: Result F–A of 2–0 had what group position?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (group_position VARCHAR, result_f_a VARCHAR)
|
SELECT group_position FROM table_name_80 WHERE result_f_a = "2–0"
|
Write a SQL query that answers the following question: Result F–A of 5–0 had what group position?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (group_position VARCHAR, result_f_a VARCHAR)
|
SELECT group_position FROM table_name_93 WHERE result_f_a = "5–0"
|
Write a SQL query that answers the following question: Group position of 1st, and a Result F–A of 2–0 has what average attendance?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (attendance INTEGER, group_position VARCHAR, result_f_a VARCHAR)
|
SELECT AVG(attendance) FROM table_name_69 WHERE group_position = "1st" AND result_f_a = "2–0"
|
Write a SQL query that answers the following question: Result F–A of 5–0 had what date?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (date VARCHAR, result_f_a VARCHAR)
|
SELECT date FROM table_name_72 WHERE result_f_a = "5–0"
|
Write a SQL query that answers the following question: Date of 1 october 2003 had what attendance?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (attendance VARCHAR, date VARCHAR)
|
SELECT attendance FROM table_name_18 WHERE date = "1 october 2003"
|
Write a SQL query that answers the following question: what score is it with tathiana garbin as partner?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (score VARCHAR, partner VARCHAR)
|
SELECT score FROM table_name_84 WHERE partner = "tathiana garbin"
|
Write a SQL query that answers the following question: what date was giulia casoni the partner?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (date VARCHAR, partner VARCHAR)
|
SELECT date FROM table_name_48 WHERE partner = "giulia casoni"
|
Write a SQL query that answers the following question: for country of spain and iata of ibz, what's the city?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (city VARCHAR, country VARCHAR, iata VARCHAR)
|
SELECT city FROM table_name_29 WHERE country = "spain" AND iata = "ibz"
|
Write a SQL query that answers the following question: for fiumicino airport what is the icao?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (icao VARCHAR, airport VARCHAR)
|
SELECT icao FROM table_name_76 WHERE airport = "fiumicino airport"
|
Write a SQL query that answers the following question: for milan and the iata of lin what is the airport?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (airport VARCHAR, city VARCHAR, iata VARCHAR)
|
SELECT airport FROM table_name_95 WHERE city = "milan" AND iata = "lin"
|
Write a SQL query that answers the following question: what's the iata for the icao of eheh?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (iata VARCHAR, icao VARCHAR)
|
SELECT iata FROM table_name_39 WHERE icao = "eheh"
|
Write a SQL query that answers the following question: which aiport is in the united kingdom and has iata of lcy?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (airport VARCHAR, country VARCHAR, iata VARCHAR)
|
SELECT airport FROM table_name_58 WHERE country = "united kingdom" AND iata = "lcy"
|
Write a SQL query that answers the following question: Name the F. Goals for games of 22 22 and points of 012 12
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (games VARCHAR, points VARCHAR)
|
SELECT F.goals FROM table_name_31 WHERE games = "22 22" AND points = "012 12"
|
Write a SQL query that answers the following question: Name the points for games of 16 16
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (points VARCHAR, games VARCHAR)
|
SELECT points FROM table_name_43 WHERE games = "16 16"
|
Write a SQL query that answers the following question: Name the tries that has a points of 008 8 and games of 27 27
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (tries VARCHAR, points VARCHAR, games VARCHAR)
|
SELECT tries FROM table_name_98 WHERE points = "008 8" AND games = "27 27"
|
Write a SQL query that answers the following question: Name the F. Goals with tries of 0 0 and games of 05 5
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (tries VARCHAR, games VARCHAR)
|
SELECT F.goals FROM table_name_18 WHERE tries = "0 0" AND games = "05 5"
|
Write a SQL query that answers the following question: Name the player with tries of 02 2 and points of 008 8
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (player VARCHAR, tries VARCHAR, points VARCHAR)
|
SELECT player FROM table_name_83 WHERE tries = "02 2" AND points = "008 8"
|
Write a SQL query that answers the following question: Which area has a Name of william colenso college?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (area VARCHAR, name VARCHAR)
|
SELECT area FROM table_name_73 WHERE name = "william colenso college"
|
Write a SQL query that answers the following question: Which authority has a Name of tamatea high school?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (authority VARCHAR, name VARCHAR)
|
SELECT authority FROM table_name_41 WHERE name = "tamatea high school"
|
Write a SQL query that answers the following question: Which gender has a Decile of 8, an Area of taradale, and Years of 1–13?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (gender VARCHAR, years VARCHAR, decile VARCHAR, area VARCHAR)
|
SELECT gender FROM table_name_90 WHERE decile = 8 AND area = "taradale" AND years = "1–13"
|
Write a SQL query that answers the following question: Which Decile has Years of –, and a Gender of coed?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (decile VARCHAR, years VARCHAR, gender VARCHAR)
|
SELECT decile FROM table_name_69 WHERE years = "–" AND gender = "coed"
|
Write a SQL query that answers the following question: Name the total number of division for apps more than 5 for greece
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (division VARCHAR, apps VARCHAR, country VARCHAR)
|
SELECT COUNT(division) FROM table_name_83 WHERE apps > 5 AND country = "greece"
|
Write a SQL query that answers the following question: Name the average apps for smederevo
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (apps INTEGER, team VARCHAR)
|
SELECT AVG(apps) FROM table_name_73 WHERE team = "smederevo"
|
Write a SQL query that answers the following question: What model engine has a lotus 16 chassis?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (engine VARCHAR, chassis VARCHAR)
|
SELECT engine FROM table_name_64 WHERE chassis = "lotus 16"
|
Write a SQL query that answers the following question: How many points after 1960 for fred tuck cars?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (points INTEGER, entrant VARCHAR, year VARCHAR)
|
SELECT MAX(points) FROM table_name_80 WHERE entrant = "fred tuck cars" AND year > 1960
|
Write a SQL query that answers the following question: What is the distance for the unnamed race with 3 runners at Newcastle?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (dist__miles_ VARCHAR, course VARCHAR, race_name VARCHAR, runners VARCHAR)
|
SELECT dist__miles_ FROM table_name_94 WHERE race_name = "unnamed race" AND runners = "3" AND course = "newcastle"
|
Write a SQL query that answers the following question: Name the score when the record was 18-25
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (score VARCHAR, record VARCHAR)
|
SELECT score FROM table_name_51 WHERE record = "18-25"
|
Write a SQL query that answers the following question: Name the loss for the angels opponent
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (loss VARCHAR, opponent VARCHAR)
|
SELECT loss FROM table_name_10 WHERE opponent = "angels"
|
Write a SQL query that answers the following question: Name the total number of people that went when the record was 16-22
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (attendance VARCHAR, record VARCHAR)
|
SELECT COUNT(attendance) FROM table_name_32 WHERE record = "16-22"
|
Write a SQL query that answers the following question: Name the score for the mariners opponent on may 10
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (score VARCHAR, opponent VARCHAR, date VARCHAR)
|
SELECT score FROM table_name_20 WHERE opponent = "mariners" AND date = "may 10"
|
Write a SQL query that answers the following question: What was the Outcome for the Partner of Jürgen Melzer and the Date of January 7, 2012?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (outcome VARCHAR, partner VARCHAR, date VARCHAR)
|
SELECT outcome FROM table_name_25 WHERE partner = "jürgen melzer" AND date = "january 7, 2012"
|
Write a SQL query that answers the following question: What was the Surface for the Partner of Jürgen Melzer, and a Date of July 16, 2011?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (surface VARCHAR, partner VARCHAR, date VARCHAR)
|
SELECT surface FROM table_name_79 WHERE partner = "jürgen melzer" AND date = "july 16, 2011"
|
Write a SQL query that answers the following question: What's the Outcome for the Date of July 16, 2011?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (outcome VARCHAR, date VARCHAR)
|
SELECT outcome FROM table_name_76 WHERE date = "july 16, 2011"
|
Write a SQL query that answers the following question: What's the Outcome for the Partner of Jürgen Melzer on the Date of February 7, 2010?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (outcome VARCHAR, partner VARCHAR, date VARCHAR)
|
SELECT outcome FROM table_name_94 WHERE partner = "jürgen melzer" AND date = "february 7, 2010"
|
Write a SQL query that answers the following question: Name the nation with rank more than 9
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (nation VARCHAR, rank INTEGER)
|
SELECT nation FROM table_name_77 WHERE rank > 9
|
Write a SQL query that answers the following question: Name the least bronze for silver being less than 0
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (bronze INTEGER, silver INTEGER)
|
SELECT MIN(bronze) FROM table_name_45 WHERE silver < 0
|
Write a SQL query that answers the following question: Name the sum of rank for bronze less than 1 and gold of 1 with total less than 1
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (rank INTEGER, total VARCHAR, bronze VARCHAR, gold VARCHAR)
|
SELECT SUM(rank) FROM table_name_90 WHERE bronze < 1 AND gold = 1 AND total < 1
|
Write a SQL query that answers the following question: Name the sum of rank for silver less than 0
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (rank INTEGER, silver INTEGER)
|
SELECT SUM(rank) FROM table_name_55 WHERE silver < 0
|
Write a SQL query that answers the following question: Name the least rank when silver is less than 1 and bronze is less than 1 with total more than 1
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (rank INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)
|
SELECT MIN(rank) FROM table_name_5 WHERE silver < 1 AND total > 1 AND bronze < 1
|
Write a SQL query that answers the following question: What was the date of the game in which the series was 1-4?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (date VARCHAR, series VARCHAR)
|
SELECT date FROM table_name_90 WHERE series = "1-4"
|
Write a SQL query that answers the following question: What is the Score that has a Home of montreal canadiens on april 11?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (score VARCHAR, home VARCHAR, date VARCHAR)
|
SELECT score FROM table_name_6 WHERE home = "montreal canadiens" AND date = "april 11"
|
Write a SQL query that answers the following question: What is the Record on april 13?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (record VARCHAR, date VARCHAR)
|
SELECT record FROM table_name_32 WHERE date = "april 13"
|
Write a SQL query that answers the following question: When is Home of chicago black hawks has a Record of 0–1?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (date VARCHAR, home VARCHAR, record VARCHAR)
|
SELECT date FROM table_name_57 WHERE home = "chicago black hawks" AND record = "0–1"
|
Write a SQL query that answers the following question: What is the Date that chicago black hawks has a Record of 2–2?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (date VARCHAR, visitor VARCHAR, record VARCHAR)
|
SELECT date FROM table_name_5 WHERE visitor = "chicago black hawks" AND record = "2–2"
|
Write a SQL query that answers the following question: Which Record has a Score of 0–2?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (record VARCHAR, score VARCHAR)
|
SELECT record FROM table_name_38 WHERE score = "0–2"
|
Write a SQL query that answers the following question: Who is the visitor on April 5?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (visitor VARCHAR, date VARCHAR)
|
SELECT visitor FROM table_name_8 WHERE date = "april 5"
|
Write a SQL query that answers the following question: What is the Team, when the Year is 2011?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (team VARCHAR, year VARCHAR)
|
SELECT team FROM table_name_14 WHERE year = "2011"
|
Write a SQL query that answers the following question: What is the value for INT YDS, when the Team is New Orleans Saints, and when the value for Sacks is greater than 0, and when the vale for Solo is 71?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (int_yds VARCHAR, solo VARCHAR, team VARCHAR, sacks VARCHAR)
|
SELECT int_yds FROM table_name_68 WHERE team = "new orleans saints" AND sacks > 0 AND solo = 71
|
Write a SQL query that answers the following question: What is the value for lowest Sacks, when the Team is New Orleans Saints, and when the value for Tackles is 132?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (sacks INTEGER, team VARCHAR, tackles VARCHAR)
|
SELECT MIN(sacks) FROM table_name_22 WHERE team = "new orleans saints" AND tackles = "132"
|
Write a SQL query that answers the following question: What is the value for Tackles, when the value for Solo is greater than 67, when the value for Sacks is less than 2, and when the value for INT YDS is greater than 1?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (tackles VARCHAR, int_yds VARCHAR, solo VARCHAR, sacks VARCHAR)
|
SELECT tackles FROM table_name_75 WHERE solo > 67 AND sacks < 2 AND int_yds > 1
|
Write a SQL query that answers the following question: What is the total value for Solo, when the value of Sacks is 2, and when the Team is New York Jets?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (solo VARCHAR, sacks VARCHAR, team VARCHAR)
|
SELECT COUNT(solo) FROM table_name_45 WHERE sacks = 2 AND team = "new york jets"
|
Write a SQL query that answers the following question: What is the outcome of the match with a score of 6–4, 6–1?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (outcome VARCHAR, score VARCHAR)
|
SELECT outcome FROM table_name_39 WHERE score = "6–4, 6–1"
|
Write a SQL query that answers the following question: What date was the match on a clay surface against Andrea Hlaváčková?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (date VARCHAR, surface VARCHAR, opponent VARCHAR)
|
SELECT date FROM table_name_55 WHERE surface = "clay" AND opponent = "andrea hlaváčková"
|
Write a SQL query that answers the following question: What is the name of the opponent at the Herceg Novi tournament?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (opponent VARCHAR, tournament VARCHAR)
|
SELECT opponent FROM table_name_54 WHERE tournament = "herceg novi"
|
Write a SQL query that answers the following question: What was the loss of the game when the record was 50-32?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (loss VARCHAR, record VARCHAR)
|
SELECT loss FROM table_name_81 WHERE record = "50-32"
|
Write a SQL query that answers the following question: Who was the opponent with a result of l 14–6?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (opponent VARCHAR, result VARCHAR)
|
SELECT opponent FROM table_name_6 WHERE result = "l 14–6"
|
Write a SQL query that answers the following question: What is the sum of all attendance on November 17, 1961?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR)
|
SELECT SUM(attendance) FROM table_name_40 WHERE date = "november 17, 1961"
|
Write a SQL query that answers the following question: What is the smallest attendance in week 5?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (attendance INTEGER, week VARCHAR)
|
SELECT MIN(attendance) FROM table_name_18 WHERE week = 5
|
Write a SQL query that answers the following question: Name the 3rd for season less than 4 and lost of 61
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (season VARCHAR, lost VARCHAR)
|
SELECT 3 AS _rd FROM table_name_19 WHERE season < 4 AND lost = 61
|
Write a SQL query that answers the following question: What is the sum of matches played that has a year of first match before 2000, fewer than 21 lost, and 0 drawn?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (played INTEGER, drawn VARCHAR, first_game VARCHAR, lost VARCHAR)
|
SELECT SUM(played) FROM table_name_27 WHERE first_game < 2000 AND lost < 21 AND drawn < 0
|
Write a SQL query that answers the following question: What is the lowest number of matches played that has more than 0 draws, a percentage of 12.50%, and fewer than 3 losses?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (played INTEGER, lost VARCHAR, drawn VARCHAR, percentage VARCHAR)
|
SELECT MIN(played) FROM table_name_14 WHERE drawn > 0 AND percentage = "12.50%" AND lost < 3
|
Write a SQL query that answers the following question: What's the total value of សាមសិប?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (value INTEGER, word_form VARCHAR)
|
SELECT SUM(value) FROM table_name_2 WHERE word_form = "សាមសិប"
|
Write a SQL query that answers the following question: What can you say is the word from of sam sep?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (word_form VARCHAR, other VARCHAR)
|
SELECT word_form FROM table_name_30 WHERE other = "sam sep"
|
Write a SQL query that answers the following question: What is smallest Khmer valued less than 90 have a kau sip ALA-LC?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (khmer INTEGER, ala_lc VARCHAR, value VARCHAR)
|
SELECT MIN(khmer) FROM table_name_9 WHERE ala_lc = "kau sip" AND value < 90
|
Write a SQL query that answers the following question: How much is the total value of kau sĕb UNGEGN ?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (value INTEGER, ungegn VARCHAR)
|
SELECT SUM(value) FROM table_name_73 WHERE ungegn = "kau sĕb"
|
Write a SQL query that answers the following question: What is the lowest number of losses for the club cádiz cf?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (losses INTEGER, club VARCHAR)
|
SELECT MIN(losses) FROM table_name_79 WHERE club = "cádiz cf"
|
Write a SQL query that answers the following question: What is the name of the artist with a Single / Pack of guitar hero track pack 1?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (artist VARCHAR, single___pack VARCHAR)
|
SELECT artist FROM table_name_41 WHERE single___pack = "guitar hero track pack 1"
|
Write a SQL query that answers the following question: What was the record at the game that had a loss of Lemanczyk (0–1)?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (record VARCHAR, loss VARCHAR)
|
SELECT record FROM table_name_34 WHERE loss = "lemanczyk (0–1)"
|
Write a SQL query that answers the following question: Game larger than 1, and a Location of comiskey park (i), and a Date of October 9 happened at what time?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (time VARCHAR, date VARCHAR, game VARCHAR, location VARCHAR)
|
SELECT time FROM table_name_29 WHERE game > 1 AND location = "comiskey park (i)" AND date = "october 9"
|
Write a SQL query that answers the following question: Date of october 8 happened at what time?
|
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (time VARCHAR, date VARCHAR)
|
SELECT time FROM table_name_1 WHERE date = "october 8"
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.