instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the region for tv uskana? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (region VARCHAR, name VARCHAR) | SELECT region FROM table_name_5 WHERE name = "tv uskana" |
Write a SQL query that answers the following question: What is the region for tv vtv? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (region VARCHAR, name VARCHAR) | SELECT region FROM table_name_69 WHERE name = "tv vtv" |
Write a SQL query that answers the following question: What is the highest Week with the Opponent Buffalo Bills? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (week INTEGER, opponent VARCHAR) | SELECT MAX(week) FROM table_name_67 WHERE opponent = "buffalo bills" |
Write a SQL query that answers the following question: Which Competition has a Result of france 46-16 scotland? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (competition VARCHAR, result VARCHAR) | SELECT competition FROM table_name_60 WHERE result = "france 46-16 scotland" |
Write a SQL query that answers the following question: Which Percentage has a District larger than 2, and a Party of independent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (percentage VARCHAR, district VARCHAR, party VARCHAR) | SELECT percentage FROM table_name_86 WHERE district > 2 AND party = "independent" |
Write a SQL query that answers the following question: How many votes have a Seat of house A, and a Percentage of 75.44%, and a District smaller than 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (vote VARCHAR, district VARCHAR, seat VARCHAR, percentage VARCHAR) | SELECT COUNT(vote) FROM table_name_52 WHERE seat = "house a" AND percentage = "75.44%" AND district < 11 |
Write a SQL query that answers the following question: What nation has more than 1 bronze and less than 3 silver? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (nation VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT nation FROM table_name_45 WHERE bronze > 1 AND silver < 3 |
Write a SQL query that answers the following question: What's the highest number of silver for 9 bronze and less than 27 total? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (silver INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MAX(silver) FROM table_name_43 WHERE bronze = 9 AND total < 27 |
Write a SQL query that answers the following question: What is the Market Share that has Assets of 25 Million and a rank of 23? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (market_share VARCHAR, assets__usd__millions VARCHAR, rank VARCHAR) | SELECT market_share FROM table_name_53 WHERE assets__usd__millions = 25 AND rank = "23" |
Write a SQL query that answers the following question: What is the highest Assets (USD) Millions from Equity Bank and less than 44 branches? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (assets__usd__millions INTEGER, bank VARCHAR, number_of_branches VARCHAR) | SELECT MAX(assets__usd__millions) FROM table_name_37 WHERE bank = "equity bank" AND number_of_branches < 44 |
Write a SQL query that answers the following question: What is Score, when Attendance is "349"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_66 WHERE attendance = "349" |
Write a SQL query that answers the following question: What is Score, when Away Team is "Newcastle Benfield"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_18 WHERE away_team = "newcastle benfield" |
Write a SQL query that answers the following question: What is Score, when Tie No is "30"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_82 WHERE tie_no = "30" |
Write a SQL query that answers the following question: What is Score, when Tie No is "109"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_67 WHERE tie_no = "109" |
Write a SQL query that answers the following question: What is Away Team, when Tie No is "37"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_23 WHERE tie_no = "37" |
Write a SQL query that answers the following question: What is the Australian for the American ɑ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (australian VARCHAR, american VARCHAR) | SELECT australian FROM table_name_79 WHERE american = "ɑ" |
Write a SQL query that answers the following question: What is the Australian equivalent to i /ɪ/? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (australian VARCHAR, letter VARCHAR) | SELECT australian FROM table_name_79 WHERE letter = "i /ɪ/" |
Write a SQL query that answers the following question: What is the British for the Australian ɔ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (british VARCHAR, australian VARCHAR) | SELECT british FROM table_name_93 WHERE australian = "ɔ" |
Write a SQL query that answers the following question: What is the American version of the British ə? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (american VARCHAR, british VARCHAR) | SELECT american FROM table_name_62 WHERE british = "ə" |
Write a SQL query that answers the following question: What are the examples for the Australian æ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (examples VARCHAR, australian VARCHAR) | SELECT examples FROM table_name_51 WHERE australian = "æ" |
Write a SQL query that answers the following question: What is the letter for the Brisish ɒ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (letter VARCHAR, british VARCHAR) | SELECT letter FROM table_name_74 WHERE british = "ɒ" |
Write a SQL query that answers the following question: Who is the second member that was elected in 1555? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (elected VARCHAR) | SELECT 2 AS nd_member FROM table_name_34 WHERE elected = "1555" |
Write a SQL query that answers the following question: Who was dissolved that was elected in 1553? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (dissolved VARCHAR, elected VARCHAR) | SELECT dissolved FROM table_name_95 WHERE elected = "1553" |
Write a SQL query that answers the following question: Which Pick has a Nationality of canada, and a Player of dennis maxwell? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (pick VARCHAR, nationality VARCHAR, player VARCHAR) | SELECT COUNT(pick) FROM table_name_27 WHERE nationality = "canada" AND player = "dennis maxwell" |
Write a SQL query that answers the following question: Which Player has a Draft of 1994, a Pick larger than 8, a Round of 10, and a Nationality of canada? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (player VARCHAR, nationality VARCHAR, round VARCHAR, draft VARCHAR, pick VARCHAR) | SELECT player FROM table_name_89 WHERE draft = 1994 AND pick > 8 AND round = "10" AND nationality = "canada" |
Write a SQL query that answers the following question: Which Player has a Round of 7, a Pick larger than 187, a Nationality of united states, and a Draft larger than 2000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (player VARCHAR, draft VARCHAR, nationality VARCHAR, round VARCHAR, pick VARCHAR) | SELECT player FROM table_name_16 WHERE round = "7" AND pick > 187 AND nationality = "united states" AND draft > 2000 |
Write a SQL query that answers the following question: Which Player has a Round of 9, and a Pick of 263? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (player VARCHAR, round VARCHAR, pick VARCHAR) | SELECT player FROM table_name_82 WHERE round = "9" AND pick = 263 |
Write a SQL query that answers the following question: Which Draft has a Round of 1, a Nationality of canada, a Pick of 1, and a Player of vincent lecavalier? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (draft INTEGER, player VARCHAR, pick VARCHAR, round VARCHAR, nationality VARCHAR) | SELECT AVG(draft) FROM table_name_56 WHERE round = "1" AND nationality = "canada" AND pick = "1" AND player = "vincent lecavalier" |
Write a SQL query that answers the following question: What penalties has P.I.M. of 34.5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (penalties VARCHAR, pim VARCHAR) | SELECT penalties FROM table_name_88 WHERE pim = "34.5" |
Write a SQL query that answers the following question: What wins has WPct of 0.2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (wins VARCHAR, wpct VARCHAR) | SELECT wins FROM table_name_82 WHERE wpct = "0.2" |
Write a SQL query that answers the following question: What WPct has wins of wins? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (wpct VARCHAR) | SELECT wpct FROM table_name_7 WHERE "wins" = "wins" |
Write a SQL query that answers the following question: What assists has points of 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (assists VARCHAR, points VARCHAR) | SELECT assists FROM table_name_11 WHERE points = "10" |
Write a SQL query that answers the following question: What losses consist of the team of japan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (losses VARCHAR, team VARCHAR) | SELECT losses FROM table_name_13 WHERE team = "japan" |
Write a SQL query that answers the following question: How many wins have more than 1 loss and a team of chiefs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (wins INTEGER, teams VARCHAR, losses VARCHAR) | SELECT SUM(wins) FROM table_name_26 WHERE teams = "chiefs" AND losses > 1 |
Write a SQL query that answers the following question: What was the total yards lost by antwon bailey when he gained 227? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (loss INTEGER, name VARCHAR, gain VARCHAR) | SELECT MIN(loss) FROM table_name_75 WHERE name = "antwon bailey" AND gain > 227 |
Write a SQL query that answers the following question: How many wins when points are more than 51, goals against are more than 23 and losses are 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (wins VARCHAR, losses VARCHAR, points VARCHAR, goals_against VARCHAR) | SELECT COUNT(wins) FROM table_name_56 WHERE points > 51 AND goals_against > 23 AND losses = 5 |
Write a SQL query that answers the following question: How many wins when there are more than 19 points, place smaller than 12, and fewer than 30 played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (wins INTEGER, played VARCHAR, points VARCHAR, position VARCHAR) | SELECT SUM(wins) FROM table_name_36 WHERE points > 19 AND position < 12 AND played < 30 |
Write a SQL query that answers the following question: What is the number played by the team in place greater than 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (played INTEGER, position INTEGER) | SELECT AVG(played) FROM table_name_43 WHERE position > 16 |
Write a SQL query that answers the following question: What are the 2nd round results for the match with Girondins de Bordeaux (d1) as Team 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (team_2 VARCHAR) | SELECT 2 AS nd_round FROM table_name_63 WHERE team_2 = "girondins de bordeaux (d1)" |
Write a SQL query that answers the following question: What was the 1st round result that had US Valenciennes (d1) as Team 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (team_2 VARCHAR) | SELECT 1 AS st_round FROM table_name_6 WHERE team_2 = "us valenciennes (d1)" |
Write a SQL query that answers the following question: What was the Score of the match with USL Dunkerque (d2) as Team 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (score VARCHAR, team_2 VARCHAR) | SELECT score FROM table_name_87 WHERE team_2 = "usl dunkerque (d2)" |
Write a SQL query that answers the following question: What club does Manuel Fernandes coach? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (club VARCHAR, head_coach VARCHAR) | SELECT club FROM table_name_88 WHERE head_coach = "manuel fernandes" |
Write a SQL query that answers the following question: Who is the head coach for the club from Estoril? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (head_coach VARCHAR, city VARCHAR) | SELECT head_coach FROM table_name_17 WHERE city = "estoril" |
Write a SQL query that answers the following question: Who is the head coach for the club from Aveiro? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (head_coach VARCHAR, city VARCHAR) | SELECT head_coach FROM table_name_71 WHERE city = "aveiro" |
Write a SQL query that answers the following question: What is Team 1, when Team 2 is "Iskra Odintsovo"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_36 WHERE team_2 = "iskra odintsovo" |
Write a SQL query that answers the following question: What is 1st Leg, when Team 1 is "Portol Palma Mallorca"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_45 WHERE team_1 = "portol palma mallorca" |
Write a SQL query that answers the following question: What is Agg., when Team 1 is "Noliko Maaseik"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (agg VARCHAR, team_1 VARCHAR) | SELECT agg FROM table_name_35 WHERE team_1 = "noliko maaseik" |
Write a SQL query that answers the following question: What is Jake Johnson's position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (position VARCHAR, players VARCHAR) | SELECT position FROM table_name_60 WHERE players = "jake johnson" |
Write a SQL query that answers the following question: What side does Clayton Allison Bat/Throw from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (bats_throws VARCHAR, players VARCHAR) | SELECT bats_throws FROM table_name_87 WHERE players = "clayton allison" |
Write a SQL query that answers the following question: What side does Ryan Overland Bat/Throws from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (bats_throws VARCHAR, players VARCHAR) | SELECT bats_throws FROM table_name_9 WHERE players = "ryan overland" |
Write a SQL query that answers the following question: What is the 2nd leg of pelister team 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (team_2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_90 WHERE team_2 = "pelister" |
Write a SQL query that answers the following question: What is the team 1 with cementarnica as team 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_20 WHERE team_2 = "cementarnica" |
Write a SQL query that answers the following question: What is the team 2 with turnovo as team 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_6 WHERE team_1 = "turnovo" |
Write a SQL query that answers the following question: What is the team 1 with tikveš as team 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_92 WHERE team_2 = "tikveš" |
Write a SQL query that answers the following question: What is Place, when Score is "69-69=138", and when Country is "United States"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (place VARCHAR, country VARCHAR, score VARCHAR) | SELECT place FROM table_name_77 WHERE score = 69 - 69 = 138 AND country = "united states" |
Write a SQL query that answers the following question: What is Country, when Score is "69-69=138", and when Player is "Ian Poulter"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (country VARCHAR, player VARCHAR, score VARCHAR) | SELECT country FROM table_name_20 WHERE score = 69 - 69 = 138 AND player = "ian poulter" |
Write a SQL query that answers the following question: What is Score, when Country is "Scotland"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (score VARCHAR, country VARCHAR) | SELECT score FROM table_name_47 WHERE country = "scotland" |
Write a SQL query that answers the following question: What is Score, when Country is "United States", and when Player is "Bob Tway"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (score VARCHAR, country VARCHAR, player VARCHAR) | SELECT score FROM table_name_43 WHERE country = "united states" AND player = "bob tway" |
Write a SQL query that answers the following question: What is Score, when Player is "Ernie Els"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_15 WHERE player = "ernie els" |
Write a SQL query that answers the following question: What is the smallest Pick with Overall of 244? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (pick INTEGER, overall VARCHAR) | SELECT MIN(pick) FROM table_name_33 WHERE overall = 244 |
Write a SQL query that answers the following question: What is the smallest Pick with Overall larger than 17, a Player name of dave adams category:articles with hcards, and a Year larger than 1963? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (pick INTEGER, year VARCHAR, overall VARCHAR, player_name VARCHAR) | SELECT MIN(pick) FROM table_name_88 WHERE overall > 17 AND player_name = "dave adams category:articles with hcards" AND year > 1963 |
Write a SQL query that answers the following question: What is the greatest Year with a Player name of dave adams category:articles with hcards, and a Round smaller than 23? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (year INTEGER, player_name VARCHAR, round VARCHAR) | SELECT MAX(year) FROM table_name_35 WHERE player_name = "dave adams category:articles with hcards" AND round < 23 |
Write a SQL query that answers the following question: Name the Round that has Res of win and an Opponent of demian maia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (round INTEGER, res VARCHAR, opponent VARCHAR) | SELECT SUM(round) FROM table_name_15 WHERE res = "win" AND opponent = "demian maia" |
Write a SQL query that answers the following question: which Event that has an Opponent of kendall grove? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_2 WHERE opponent = "kendall grove" |
Write a SQL query that answers the following question: When has an Event of ufc 123? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (time VARCHAR, event VARCHAR) | SELECT time FROM table_name_61 WHERE event = "ufc 123" |
Write a SQL query that answers the following question: The country of Laos is in what region? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (region VARCHAR, country VARCHAR) | SELECT region FROM table_name_77 WHERE country = "laos" |
Write a SQL query that answers the following question: What is the name of the country that has internetlists of —, and ONIsecurityfiltering of —? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (country VARCHAR, internetlists VARCHAR, onisecurityfiltering VARCHAR) | SELECT country FROM table_name_80 WHERE internetlists = "—" AND onisecurityfiltering = "—" |
Write a SQL query that answers the following question: With a FHFreepressreport of 54, and ne as ONIsocialfiltering, what is the ONItoolsfiltering? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (onitoolsfiltering VARCHAR, fhfreepressreport VARCHAR, onisocialfiltering VARCHAR) | SELECT onitoolsfiltering FROM table_name_62 WHERE fhfreepressreport = "54" AND onisocialfiltering = "ne" |
Write a SQL query that answers the following question: What were the Results in Arizona 1 District? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (results VARCHAR, district VARCHAR) | SELECT results FROM table_name_90 WHERE district = "arizona 1" |
Write a SQL query that answers the following question: What Republican District had Incumbent First Elected in 2000 then Re-elected? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (district VARCHAR, first_elected VARCHAR, party VARCHAR, results VARCHAR) | SELECT district FROM table_name_90 WHERE party = "republican" AND results = "re-elected" AND first_elected = 2000 |
Write a SQL query that answers the following question: What is John Shadegg's First Elected date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (first_elected INTEGER, incumbent VARCHAR) | SELECT AVG(first_elected) FROM table_name_18 WHERE incumbent = "john shadegg" |
Write a SQL query that answers the following question: On which date was the opponent lamine ouahab? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_92 WHERE opponent = "lamine ouahab" |
Write a SQL query that answers the following question: On what date did the match take place in a round of 1r and have a result 2–6, 5–7, 2–6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (date VARCHAR, round VARCHAR, result VARCHAR) | SELECT date FROM table_name_62 WHERE round = "1r" AND result = "2–6, 5–7, 2–6" |
Write a SQL query that answers the following question: What is the result of the match in round 1r against tunisia and on a hard surface? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (result VARCHAR, against VARCHAR, round VARCHAR, surface VARCHAR) | SELECT result FROM table_name_37 WHERE round = "1r" AND surface = "hard" AND against = "tunisia" |
Write a SQL query that answers the following question: Who was the match against when on a clay surface during round 2r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (against VARCHAR, round VARCHAR, surface VARCHAR) | SELECT against FROM table_name_19 WHERE round = "2r" AND surface = "clay" |
Write a SQL query that answers the following question: What round had a amtch against cyprus and an edition of 2010 davis cup europe/africa group ii? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (round VARCHAR, edition VARCHAR, against VARCHAR) | SELECT round FROM table_name_34 WHERE edition = "2010 davis cup europe/africa group ii" AND against = "cyprus" |
Write a SQL query that answers the following question: What is the most recent year with a time of 10.56? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (year INTEGER, time VARCHAR) | SELECT MAX(year) FROM table_name_37 WHERE time = 10.56 |
Write a SQL query that answers the following question: When was the game played against Astley Bridge 'a'? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (date VARCHAR, opponents VARCHAR) | SELECT date FROM table_name_56 WHERE opponents = "astley bridge 'a'" |
Write a SQL query that answers the following question: Who was the girl of the week after nicole woodruff in the same month? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (week_5 VARCHAR, week_4 VARCHAR) | SELECT week_5 FROM table_name_93 WHERE week_4 = "nicole woodruff" |
Write a SQL query that answers the following question: Who was the girl of the week 3 weeks after brianne bailey in the same month? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (week_5 VARCHAR, week_2 VARCHAR) | SELECT week_5 FROM table_name_65 WHERE week_2 = "brianne bailey" |
Write a SQL query that answers the following question: Who was the girl of the week 2 weeks before terri lynn farrow in the same month? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (week_2 VARCHAR, week_4 VARCHAR) | SELECT week_2 FROM table_name_47 WHERE week_4 = "terri lynn farrow" |
Write a SQL query that answers the following question: How many tries did the player have which ended with 20 Points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (tries VARCHAR, points VARCHAR) | SELECT tries FROM table_name_13 WHERE points = 20 |
Write a SQL query that answers the following question: What is the average Points, when Date is "February 2", and when Attendance is less than 16,874? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (points INTEGER, date VARCHAR, attendance VARCHAR) | SELECT AVG(points) FROM table_name_14 WHERE date = "february 2" AND attendance < 16 OFFSET 874 |
Write a SQL query that answers the following question: What is the lowest Attendance, when Date is "February 4", and when Points is less than 57? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (attendance INTEGER, date VARCHAR, points VARCHAR) | SELECT MIN(attendance) FROM table_name_72 WHERE date = "february 4" AND points < 57 |
Write a SQL query that answers the following question: For a total of 1 and the sport of softball what were the years? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (years VARCHAR, total VARCHAR, sport VARCHAR) | SELECT years FROM table_name_93 WHERE total = "1" AND sport = "softball" |
Write a SQL query that answers the following question: What was the total for the year of 1925? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (total VARCHAR, years VARCHAR) | SELECT total FROM table_name_39 WHERE years = "1925" |
Write a SQL query that answers the following question: Which label is in a limited edition cd/dvd format? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (label VARCHAR, format VARCHAR) | SELECT label FROM table_name_19 WHERE format = "limited edition cd/dvd" |
Write a SQL query that answers the following question: What is the date for the United Kingdom with an LP format? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (date VARCHAR, country VARCHAR, format VARCHAR) | SELECT date FROM table_name_88 WHERE country = "united kingdom" AND format = "lp" |
Write a SQL query that answers the following question: Which format is in Japan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (format VARCHAR, country VARCHAR) | SELECT format FROM table_name_37 WHERE country = "japan" |
Write a SQL query that answers the following question: What is the format of catalog number 886973273913 (gowow012) in the United Kingdom? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (format VARCHAR, country VARCHAR, catalogue__number VARCHAR) | SELECT format FROM table_name_70 WHERE country = "united kingdom" AND catalogue__number = "886973273913 (gowow012)" |
Write a SQL query that answers the following question: Which Apps have a Club of barcelona, and a Season of 1996/97, and a Rank smaller than 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (apps INTEGER, rank VARCHAR, club VARCHAR, season VARCHAR) | SELECT MIN(apps) FROM table_name_29 WHERE club = "barcelona" AND season = "1996/97" AND rank < 7 |
Write a SQL query that answers the following question: Which Season has a Club of real madrid, and a Rank smaller than 6, and less than 121 goals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (season VARCHAR, goals VARCHAR, club VARCHAR, rank VARCHAR) | SELECT season FROM table_name_7 WHERE club = "real madrid" AND rank < 6 AND goals < 121 |
Write a SQL query that answers the following question: How many Apps have a Rank larger than 2, and Goals smaller than 102? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (apps INTEGER, rank VARCHAR, goals VARCHAR) | SELECT SUM(apps) FROM table_name_48 WHERE rank > 2 AND goals < 102 |
Write a SQL query that answers the following question: Which Season has a Rank smaller than 4, and a Club of barcelona, and less than 115 goals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (season VARCHAR, goals VARCHAR, rank VARCHAR, club VARCHAR) | SELECT season FROM table_name_61 WHERE rank < 4 AND club = "barcelona" AND goals < 115 |
Write a SQL query that answers the following question: What player has a 147 total from Spain? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (player VARCHAR, total VARCHAR, country VARCHAR) | SELECT player FROM table_name_97 WHERE total = 147 AND country = "spain" |
Write a SQL query that answers the following question: What year was the 146 total? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (year_s__won VARCHAR, total VARCHAR) | SELECT year_s__won FROM table_name_58 WHERE total = 146 |
Write a SQL query that answers the following question: What country is Paul Lawrie from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_39 WHERE player = "paul lawrie" |
Write a SQL query that answers the following question: Which Fuel has an Output of ps (kw; hp) @6000 rpm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (fuel VARCHAR, output VARCHAR) | SELECT fuel FROM table_name_50 WHERE output = "ps (kw; hp) @6000 rpm" |
Write a SQL query that answers the following question: Which Torque has a Volume of 1896 cc, and a CO 2 of 140 g/km? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (torque VARCHAR, volume VARCHAR, co_2 VARCHAR) | SELECT torque FROM table_name_21 WHERE volume = "1896 cc" AND co_2 = "140 g/km" |
Write a SQL query that answers the following question: What Venue has a Year smaller than 1986, and a Position of 6th? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (venue VARCHAR, year VARCHAR, position VARCHAR) | SELECT venue FROM table_name_62 WHERE year < 1986 AND position = "6th" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.