instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Which Format has a Catalog smaller than 61298? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (format VARCHAR, catalog INTEGER) | SELECT format FROM table_name_11 WHERE catalog < 61298 |
Write a SQL query that answers the following question: What was the score of the game with 96 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (score VARCHAR, points VARCHAR) | SELECT score FROM table_name_85 WHERE points = 96 |
Write a SQL query that answers the following question: What was the score of the game with a record of 34–17–11–2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_1 WHERE record = "34–17–11–2" |
Write a SQL query that answers the following question: What was the record after the game at Rich Stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (record VARCHAR, game_site VARCHAR) | SELECT record FROM table_name_72 WHERE game_site = "rich stadium" |
Write a SQL query that answers the following question: When was the first cap associated with 74 caps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (first_cap VARCHAR, caps VARCHAR) | SELECT first_cap FROM table_name_27 WHERE caps = 74 |
Write a SQL query that answers the following question: How many goals are associated with over 97 caps and a Latest cap of april 24, 2013? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (goals INTEGER, latest_cap VARCHAR, caps VARCHAR) | SELECT AVG(goals) FROM table_name_43 WHERE latest_cap = "april 24, 2013" AND caps > 97 |
Write a SQL query that answers the following question: When was the first cap associated with 39 caps and under 33 goals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (first_cap VARCHAR, goals VARCHAR, caps VARCHAR) | SELECT first_cap FROM table_name_29 WHERE goals < 33 AND caps = 39 |
Write a SQL query that answers the following question: What is the highest number of goals associated with 39 caps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (goals INTEGER, caps VARCHAR) | SELECT MAX(goals) FROM table_name_33 WHERE caps = 39 |
Write a SQL query that answers the following question: How many days in April has a record of 42–22–12–3, and less than 99 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (april VARCHAR, record VARCHAR, points VARCHAR) | SELECT COUNT(april) FROM table_name_98 WHERE record = "42–22–12–3" AND points < 99 |
Write a SQL query that answers the following question: Name the total number of points for 44 game and january more than 15 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (points VARCHAR, game VARCHAR, january VARCHAR) | SELECT COUNT(points) FROM table_name_78 WHERE game = 44 AND january > 15 |
Write a SQL query that answers the following question: Which Date had a Result of 7–20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_37 WHERE result = "7–20" |
Write a SQL query that answers the following question: Which Date had an Opponent of buffalo bills? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_50 WHERE opponent = "buffalo bills" |
Write a SQL query that answers the following question: Which Kickoff had a Game Site of bank of america stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (kickoff VARCHAR, game_site VARCHAR) | SELECT kickoff FROM table_name_5 WHERE game_site = "bank of america stadium" |
Write a SQL query that answers the following question: Which Kickoff had a Game Site of fawcett stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (kickoff VARCHAR, game_site VARCHAR) | SELECT kickoff FROM table_name_12 WHERE game_site = "fawcett stadium" |
Write a SQL query that answers the following question: Which NFL Recap had a Kickoff of 7:00pm edt? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (nfl_recap VARCHAR, kickoff VARCHAR) | SELECT nfl_recap FROM table_name_16 WHERE kickoff = "7:00pm edt" |
Write a SQL query that answers the following question: Which NFL Recap had a Record of 1–3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (nfl_recap VARCHAR, record VARCHAR) | SELECT nfl_recap FROM table_name_1 WHERE record = "1–3" |
Write a SQL query that answers the following question: What was the Record on Game 50? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_68 WHERE game = 50 |
Write a SQL query that answers the following question: what player score is higher than 17 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (player VARCHAR, round VARCHAR) | SELECT player FROM table_name_78 WHERE round = 17 |
Write a SQL query that answers the following question: Which opponent has an attendance of 17,015? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_33 WHERE attendance = "17,015" |
Write a SQL query that answers the following question: Which Frequency MHz is the highest one that has a Call sign of k241an? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (frequency_mhz INTEGER, call_sign VARCHAR) | SELECT MAX(frequency_mhz) FROM table_name_65 WHERE call_sign = "k241an" |
Write a SQL query that answers the following question: Which ERP W is the highest one that has a Frequency MHz larger than 88.3, and a City of license of lewis, kansas? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (erp_w INTEGER, frequency_mhz VARCHAR, city_of_license VARCHAR) | SELECT MAX(erp_w) FROM table_name_9 WHERE frequency_mhz > 88.3 AND city_of_license = "lewis, kansas" |
Write a SQL query that answers the following question: Which FCC info has a ERP W smaller than 222, and a Call sign of k297ai? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (fcc_info VARCHAR, erp_w VARCHAR, call_sign VARCHAR) | SELECT fcc_info FROM table_name_35 WHERE erp_w < 222 AND call_sign = "k297ai" |
Write a SQL query that answers the following question: Which City of license has a Call sign of k241an? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (city_of_license VARCHAR, call_sign VARCHAR) | SELECT city_of_license FROM table_name_68 WHERE call_sign = "k241an" |
Write a SQL query that answers the following question: Which Class has an ERP W of 222? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (class VARCHAR, erp_w VARCHAR) | SELECT class FROM table_name_21 WHERE erp_w = 222 |
Write a SQL query that answers the following question: What was the score on a clay surface in a year later than 2006 with David Ferrer as an opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (score VARCHAR, opponent VARCHAR, surface VARCHAR, year VARCHAR) | SELECT score FROM table_name_43 WHERE surface = "clay" AND year > 2006 AND opponent = "david ferrer" |
Write a SQL query that answers the following question: Which championship is in a year later than 2010 on a grass surface? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (championship VARCHAR, year VARCHAR, surface VARCHAR) | SELECT championship FROM table_name_10 WHERE year > 2010 AND surface = "grass" |
Write a SQL query that answers the following question: Which championship has Roger Federer as an opponent on a clay surface in a year earlier than 2007? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (championship VARCHAR, year VARCHAR, opponent VARCHAR, surface VARCHAR) | SELECT championship FROM table_name_36 WHERE opponent = "roger federer" AND surface = "clay" AND year < 2007 |
Write a SQL query that answers the following question: What is the largest attendance that has December 16, 1962 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (attendance INTEGER, date VARCHAR) | SELECT MAX(attendance) FROM table_name_84 WHERE date = "december 16, 1962" |
Write a SQL query that answers the following question: What is the largest week that has t 35-35 as the result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (week INTEGER, result VARCHAR) | SELECT MAX(week) FROM table_name_69 WHERE result = "t 35-35" |
Write a SQL query that answers the following question: Name the total number of no result for losses more than 1 and played of 38 and wins less than 19 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (no_result VARCHAR, wins VARCHAR, losses VARCHAR, played VARCHAR) | SELECT COUNT(no_result) FROM table_name_16 WHERE losses > 1 AND played = 38 AND wins < 19 |
Write a SQL query that answers the following question: Name the sum of played with wins more than 19 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (played INTEGER, wins INTEGER) | SELECT SUM(played) FROM table_name_14 WHERE wins > 19 |
Write a SQL query that answers the following question: Name the total number of losses with number result less than 0 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (losses VARCHAR, no_result INTEGER) | SELECT COUNT(losses) FROM table_name_5 WHERE no_result < 0 |
Write a SQL query that answers the following question: Which Rank has Goals larger than 4, and a Scorer of oh seok-jae? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (rank VARCHAR, goals VARCHAR, scorer VARCHAR) | SELECT rank FROM table_name_14 WHERE goals > 4 AND scorer = "oh seok-jae" |
Write a SQL query that answers the following question: Which Goals is the lowest one that has Matches of 16, and a Scorer of park sang-in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (goals INTEGER, matches VARCHAR, scorer VARCHAR) | SELECT MIN(goals) FROM table_name_92 WHERE matches = "16" AND scorer = "park sang-in" |
Write a SQL query that answers the following question: Which Club has a Rank of 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (club VARCHAR, rank VARCHAR) | SELECT club FROM table_name_69 WHERE rank = "1" |
Write a SQL query that answers the following question: Which Goals have a Club of hallelujah fc, and a Rank of 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (goals INTEGER, club VARCHAR, rank VARCHAR) | SELECT SUM(goals) FROM table_name_78 WHERE club = "hallelujah fc" AND rank = "7" |
Write a SQL query that answers the following question: How many Extra points have Touchdowns larger than 2, and Field goals larger than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (extra_points VARCHAR, touchdowns VARCHAR, field_goals VARCHAR) | SELECT COUNT(extra_points) FROM table_name_4 WHERE touchdowns > 2 AND field_goals > 0 |
Write a SQL query that answers the following question: Which Field goals is the highest one that has Touchdowns of 0, and Points larger than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR) | SELECT MAX(field_goals) FROM table_name_76 WHERE touchdowns = 0 AND points > 4 |
Write a SQL query that answers the following question: What is the grid number of Sandro Cortese, who has Aprilia as the manufacturer and less than 19 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (grid INTEGER, rider VARCHAR, manufacturer VARCHAR, laps VARCHAR) | SELECT SUM(grid) FROM table_name_44 WHERE manufacturer = "aprilia" AND laps < 19 AND rider = "sandro cortese" |
Write a SQL query that answers the following question: Which Rank has a Lost smaller than 12, and a Played larger than 20, and an Avg Points larger than 1.73? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (rank INTEGER, lost VARCHAR, played VARCHAR) | SELECT MAX(rank) FROM table_name_95 WHERE lost < 12 AND played > 20 AND Avg.points > 1.73 |
Write a SQL query that answers the following question: Which Drew has a Rank of 5, and a Played larger than 30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (drew VARCHAR, rank VARCHAR, played VARCHAR) | SELECT COUNT(drew) FROM table_name_55 WHERE rank = 5 AND played > 30 |
Write a SQL query that answers the following question: Which Rank has a Club of zulte waregem, and Points larger than 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (rank VARCHAR, club VARCHAR, points VARCHAR) | SELECT COUNT(rank) FROM table_name_93 WHERE club = "zulte waregem" AND points > 22 |
Write a SQL query that answers the following question: Which Lost has Seasons of 2, and Goals against larger than 43? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (lost INTEGER, seasons VARCHAR, goals_against VARCHAR) | SELECT MAX(lost) FROM table_name_75 WHERE seasons = 2 AND goals_against > 43 |
Write a SQL query that answers the following question: Which Drew has a Lost larger than 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (drew INTEGER, lost INTEGER) | SELECT SUM(drew) FROM table_name_17 WHERE lost > 14 |
Write a SQL query that answers the following question: Which Record has a Week smaller than 15, and an Opponent of at new york jets? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (record VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_48 WHERE week < 15 AND opponent = "at new york jets" |
Write a SQL query that answers the following question: Which Result has a Record of 5–4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (result VARCHAR, record VARCHAR) | SELECT result FROM table_name_14 WHERE record = "5–4" |
Write a SQL query that answers the following question: Which Record has a Time (ET) of 1:00pm, and an Opponent of kansas city chiefs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (record VARCHAR, time___et__ VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_25 WHERE time___et__ = "1:00pm" AND opponent = "kansas city chiefs" |
Write a SQL query that answers the following question: What is the Hindi associated with a Domari of tærən? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (hindi VARCHAR, domari VARCHAR) | SELECT hindi FROM table_name_78 WHERE domari = "tærən" |
Write a SQL query that answers the following question: What is the Lomavren associated with a Persian of se? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (lomavren VARCHAR, persian VARCHAR) | SELECT lomavren FROM table_name_32 WHERE persian = "se" |
Write a SQL query that answers the following question: What is the Romani associated with a Domari of na? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (romani VARCHAR, domari VARCHAR) | SELECT romani FROM table_name_44 WHERE domari = "na" |
Write a SQL query that answers the following question: What is the Domari associated with a Persian of yak, yek? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (domari VARCHAR, persian VARCHAR) | SELECT domari FROM table_name_19 WHERE persian = "yak, yek" |
Write a SQL query that answers the following question: What is the Lomavren associated with a Hindi of sāt? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (lomavren VARCHAR, hindi VARCHAR) | SELECT lomavren FROM table_name_68 WHERE hindi = "sāt" |
Write a SQL query that answers the following question: What is the Version before 2001 with a Length of 7:42? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (version VARCHAR, year VARCHAR, length VARCHAR) | SELECT version FROM table_name_64 WHERE year < 2001 AND length = "7:42" |
Write a SQL query that answers the following question: In what Year is the length of the Song 7:42? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (year INTEGER, length VARCHAR) | SELECT AVG(year) FROM table_name_40 WHERE length = "7:42" |
Write a SQL query that answers the following question: Which College/Junior/Club Team (League) has a Position of right wing, and a Round smaller than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_48 WHERE position = "right wing" AND round < 3 |
Write a SQL query that answers the following question: What is the orbital regime of launches greater than 4 and failures less than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (orbital_regime VARCHAR, launches VARCHAR, failures VARCHAR) | SELECT orbital_regime FROM table_name_76 WHERE launches > 4 AND failures < 2 |
Write a SQL query that answers the following question: What is the total of medium earth orbital regime, accidentally achieved and successes greater than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (accidentally_achieved INTEGER, orbital_regime VARCHAR, successes VARCHAR) | SELECT SUM(accidentally_achieved) FROM table_name_19 WHERE orbital_regime = "medium earth" AND successes > 3 |
Write a SQL query that answers the following question: What is the greatest successes that have failures greater than 1 and launches less than 28? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (successes INTEGER, failures VARCHAR, launches VARCHAR) | SELECT MAX(successes) FROM table_name_25 WHERE failures > 1 AND launches < 28 |
Write a SQL query that answers the following question: What is the total failures of heliocentric orbit orbital regimes and launches less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (failures INTEGER, orbital_regime VARCHAR, launches VARCHAR) | SELECT SUM(failures) FROM table_name_33 WHERE orbital_regime = "heliocentric orbit" AND launches < 1 |
Write a SQL query that answers the following question: What was the rank of tris speaker when BB/SO was 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (rank VARCHAR, player VARCHAR, bb_so VARCHAR) | SELECT rank FROM table_name_20 WHERE player = "tris speaker" AND bb_so = 7 |
Write a SQL query that answers the following question: What is the average rank for team cle when the BB/SO is 10.89? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (rank INTEGER, team VARCHAR, bb_so VARCHAR) | SELECT AVG(rank) FROM table_name_97 WHERE team = "cle" AND bb_so = 10.89 |
Write a SQL query that answers the following question: What is the name of a partner that played on a hard surface on 18 April 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (partner VARCHAR, surface VARCHAR, date VARCHAR) | SELECT partner FROM table_name_23 WHERE surface = "hard" AND date = "18 april 2011" |
Write a SQL query that answers the following question: What was the score for the final played on 2 July 2012? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_5 WHERE date = "2 july 2012" |
Write a SQL query that answers the following question: What was the Score on February 18, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_32 WHERE date = "february 18, 2008" |
Write a SQL query that answers the following question: What was the Opponent on the game played on a Hard Surface with a Score of 3–6, 6–3, [7–10]? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR) | SELECT opponent_in_the_final FROM table_name_61 WHERE surface = "hard" AND score = "3–6, 6–3, [7–10]" |
Write a SQL query that answers the following question: On what Surface was the game with Partner David Martin played Scoring 4–6, 6–7 (4-7)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (surface VARCHAR, partner VARCHAR, score VARCHAR) | SELECT surface FROM table_name_24 WHERE partner = "david martin" AND score = "4–6, 6–7 (4-7)" |
Write a SQL query that answers the following question: What was the Outcome of the game with a Score of 3–6, 4–6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (outcome VARCHAR, score VARCHAR) | SELECT outcome FROM table_name_67 WHERE score = "3–6, 4–6" |
Write a SQL query that answers the following question: What was the Partner on June 17, 2012? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (partner VARCHAR, date VARCHAR) | SELECT partner FROM table_name_69 WHERE date = "june 17, 2012" |
Write a SQL query that answers the following question: What record has Glenn Robinson (16) as the leading scorer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (record VARCHAR, leading_scorer VARCHAR) | SELECT record FROM table_name_83 WHERE leading_scorer = "glenn robinson (16)" |
Write a SQL query that answers the following question: What date has 136-134 as the score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_83 WHERE score = "136-134" |
Write a SQL query that answers the following question: What home has 136-134 as the score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (home VARCHAR, score VARCHAR) | SELECT home FROM table_name_6 WHERE score = "136-134" |
Write a SQL query that answers the following question: What is the most recent year that China won a bronze? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (year INTEGER, bronze VARCHAR) | SELECT MAX(year) FROM table_name_77 WHERE bronze = "china" |
Write a SQL query that answers the following question: What is the oldest year that the location was at Guangzhou? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (year INTEGER, location VARCHAR) | SELECT MIN(year) FROM table_name_1 WHERE location = "guangzhou" |
Write a SQL query that answers the following question: For how many years was the location at Beijing? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (year INTEGER, location VARCHAR) | SELECT SUM(year) FROM table_name_7 WHERE location = "beijing" |
Write a SQL query that answers the following question: What location is previous to 1994? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (location VARCHAR, year INTEGER) | SELECT location FROM table_name_56 WHERE year < 1994 |
Write a SQL query that answers the following question: What college(s) did the player(s) picked in round 4 with a pick number less than 98 play for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (college VARCHAR, pick__number VARCHAR, round VARCHAR) | SELECT college FROM table_name_20 WHERE pick__number < 98 AND round = "round 4" |
Write a SQL query that answers the following question: What is the pick number for the player(s) drafted in round 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (pick__number VARCHAR, round VARCHAR) | SELECT pick__number FROM table_name_31 WHERE round = "round 8" |
Write a SQL query that answers the following question: What position(s) did the player(s) with a pick number of 125 play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (position VARCHAR, pick__number VARCHAR) | SELECT position FROM table_name_38 WHERE pick__number = 125 |
Write a SQL query that answers the following question: What mean number of extra points was there when James Lawrence was a player and the touchdown number was less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (extra_points INTEGER, player VARCHAR, touchdowns VARCHAR) | SELECT AVG(extra_points) FROM table_name_7 WHERE player = "james lawrence" AND touchdowns < 1 |
Write a SQL query that answers the following question: What is the smallest amount of touchdowns when there is a total player and a number of field goals of more than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (touchdowns INTEGER, player VARCHAR, field_goals VARCHAR) | SELECT MIN(touchdowns) FROM table_name_88 WHERE player = "total" AND field_goals > 0 |
Write a SQL query that answers the following question: On what Date were the Results¹ 4:0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (date VARCHAR, results¹ VARCHAR) | SELECT date FROM table_name_56 WHERE results¹ = "4:0" |
Write a SQL query that answers the following question: On what Date were the Results¹ 5:1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (date VARCHAR, results¹ VARCHAR) | SELECT date FROM table_name_72 WHERE results¹ = "5:1" |
Write a SQL query that answers the following question: On what Date were the Results¹ 4:0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (date VARCHAR, results¹ VARCHAR) | SELECT date FROM table_name_47 WHERE results¹ = "4:0" |
Write a SQL query that answers the following question: What is the pseudoknot prediction of the software named tfold? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (_ VARCHAR, knots_knots VARCHAR, name VARCHAR) | SELECT knots_knots AS :_pseudoknot_prediction, _ FROM table_name_65 WHERE name = "tfold" |
Write a SQL query that answers the following question: What Chilean word is used for the Castilian word ordenador? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (chilean VARCHAR, castilian VARCHAR) | SELECT chilean FROM table_name_78 WHERE castilian = "ordenador" |
Write a SQL query that answers the following question: What is the Italian word for the Mexican word frijol? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (italian VARCHAR, mexican VARCHAR) | SELECT italian FROM table_name_59 WHERE mexican = "frijol" |
Write a SQL query that answers the following question: What word would a Castilian speaker use for the Italian word auto(mobile)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (castilian VARCHAR, italian VARCHAR) | SELECT castilian FROM table_name_95 WHERE italian = "auto(mobile)" |
Write a SQL query that answers the following question: What word would a Castilian speaker use for the Italian word auto(mobile)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (castilian VARCHAR, italian VARCHAR) | SELECT castilian FROM table_name_17 WHERE italian = "auto(mobile)" |
Write a SQL query that answers the following question: How would an Italian say the Andalusian word coche? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (italian VARCHAR, andalusian VARCHAR) | SELECT italian FROM table_name_78 WHERE andalusian = "coche" |
Write a SQL query that answers the following question: Which Home has a Visitor of ny rangers, and a Series of flyers win 4–3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (home VARCHAR, visitor VARCHAR, series VARCHAR) | SELECT home FROM table_name_42 WHERE visitor = "ny rangers" AND series = "flyers win 4–3" |
Write a SQL query that answers the following question: Which Score has a Series of flyers lead 3–2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (score VARCHAR, series VARCHAR) | SELECT score FROM table_name_17 WHERE series = "flyers lead 3–2" |
Write a SQL query that answers the following question: Which Decision has a Date of april 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (decision VARCHAR, date VARCHAR) | SELECT decision FROM table_name_85 WHERE date = "april 25" |
Write a SQL query that answers the following question: Which Decision has a Date of april 30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (decision VARCHAR, date VARCHAR) | SELECT decision FROM table_name_95 WHERE date = "april 30" |
Write a SQL query that answers the following question: Which Home has a Series of series tied 3–3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (home VARCHAR, series VARCHAR) | SELECT home FROM table_name_92 WHERE series = "series tied 3–3" |
Write a SQL query that answers the following question: Events of 22, and a Rank smaller than 4 involved which of the lowest earnings ($)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (earnings___ INTEGER, events VARCHAR, rank VARCHAR) | SELECT MIN(earnings___) AS $__ FROM table_name_91 WHERE events = 22 AND rank < 4 |
Write a SQL query that answers the following question: Player of corey pavin, and a Rank larger than 4 involved which highest earnings ($)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (earnings___ INTEGER, player VARCHAR, rank VARCHAR) | SELECT MAX(earnings___) AS $__ FROM table_name_72 WHERE player = "corey pavin" AND rank > 4 |
Write a SQL query that answers the following question: What is the mascot with an enrollment (2010) less than 980, and heritage as the school? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (mascot VARCHAR, enrollment__2010_ VARCHAR, school VARCHAR) | SELECT mascot FROM table_name_20 WHERE enrollment__2010_ < 980 AND school = "heritage" |
Write a SQL query that answers the following question: What is the class of the player with a weight of 242 pounds? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (class VARCHAR, weight VARCHAR) | SELECT class FROM table_name_9 WHERE weight = 242 |
Write a SQL query that answers the following question: How many games were played by the player at FB? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (games VARCHAR, position VARCHAR) | SELECT COUNT(games) AS ↑ FROM table_name_18 WHERE position = "fb" |
Write a SQL query that answers the following question: Which Name has a Round smaller than 5, and a Pick # larger than 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (name VARCHAR, round VARCHAR, pick__number VARCHAR) | SELECT name FROM table_name_50 WHERE round < 5 AND pick__number > 13 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.