instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: In which week was the attendance 47,218? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (week INTEGER, attendance VARCHAR) | SELECT SUM(week) FROM table_name_27 WHERE attendance = 47 OFFSET 218 |
Write a SQL query that answers the following question: How many Decembers have calgary flames as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (december VARCHAR, opponent VARCHAR) | SELECT COUNT(december) FROM table_name_90 WHERE opponent = "calgary flames" |
Write a SQL query that answers the following question: What game has valiquette as the decision, with @ los angeles kings as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (game VARCHAR, decision VARCHAR, opponent VARCHAR) | SELECT game FROM table_name_96 WHERE decision = "valiquette" AND opponent = "@ los angeles kings" |
Write a SQL query that answers the following question: What is the most elevated TF1 # that has an Official # larger than 47, and an Air date (France) of 13 july 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (tf1__number INTEGER, official__number VARCHAR, air_date__france_ VARCHAR) | SELECT MAX(tf1__number) FROM table_name_95 WHERE official__number > 47 AND air_date__france_ = "13 july 2010" |
Write a SQL query that answers the following question: What venue had SF? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (venue VARCHAR, round VARCHAR) | SELECT venue FROM table_name_4 WHERE round = "sf" |
Write a SQL query that answers the following question: What venue has more than 50,715 attending? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (venue VARCHAR, attendance INTEGER) | SELECT venue FROM table_name_45 WHERE attendance > 50 OFFSET 715 |
Write a SQL query that answers the following question: What round was at the A venue with a attendance more than 14,314? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (round VARCHAR, venue VARCHAR, attendance VARCHAR) | SELECT round FROM table_name_7 WHERE venue = "a" AND attendance > 14 OFFSET 314 |
Write a SQL query that answers the following question: What's the callsign of Mom's Radio 101.9 Zamboanga? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (callsign VARCHAR, branding VARCHAR) | SELECT callsign FROM table_name_34 WHERE branding = "mom's radio 101.9 zamboanga" |
Write a SQL query that answers the following question: What's the power when the frequency is 101.5mhz? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (power__kw_ VARCHAR, frequency VARCHAR) | SELECT power__kw_ FROM table_name_26 WHERE frequency = "101.5mhz" |
Write a SQL query that answers the following question: What's the location of Mom's Radio 95.9 Naga having a power of 10kw? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (location VARCHAR, power__kw_ VARCHAR, branding VARCHAR) | SELECT location FROM table_name_58 WHERE power__kw_ = "10kw" AND branding = "mom's radio 95.9 naga" |
Write a SQL query that answers the following question: What's the callsign in Tacloban? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (callsign VARCHAR, location VARCHAR) | SELECT callsign FROM table_name_22 WHERE location = "tacloban" |
Write a SQL query that answers the following question: What's the power of Mom's Radio 101.5 Tacloban? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (power__kw_ VARCHAR, branding VARCHAR) | SELECT power__kw_ FROM table_name_7 WHERE branding = "mom's radio 101.5 tacloban" |
Write a SQL query that answers the following question: Which 1947 Nos has a BR Nos of 48730-9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (br_nos VARCHAR) | SELECT 1947 AS _nos FROM table_name_55 WHERE br_nos = "48730-9" |
Write a SQL query that answers the following question: What is the number of losses for the game with a win % of 71.43%, and No Result is more than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (losses INTEGER, win__percentage VARCHAR, no_result VARCHAR) | SELECT SUM(losses) FROM table_name_23 WHERE win__percentage = "71.43%" AND no_result > 0 |
Write a SQL query that answers the following question: What is the total number of wins in 2010, when there were more than 14 matches? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (wins VARCHAR, year VARCHAR, matches VARCHAR) | SELECT COUNT(wins) FROM table_name_99 WHERE year = "2010" AND matches > 14 |
Write a SQL query that answers the following question: What is the number of wins when there are 14 matches, and the No Result was less than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (wins INTEGER, matches VARCHAR, no_result VARCHAR) | SELECT AVG(wins) FROM table_name_94 WHERE matches = 14 AND no_result < 0 |
Write a SQL query that answers the following question: What is the number of losses when there were 14 matches, and the No Result was larger than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (losses INTEGER, matches VARCHAR, no_result VARCHAR) | SELECT SUM(losses) FROM table_name_37 WHERE matches = 14 AND no_result > 0 |
Write a SQL query that answers the following question: What is the number of matches when the wins are less than 8, and losses of 7, in 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (matches INTEGER, year VARCHAR, wins VARCHAR, losses VARCHAR) | SELECT SUM(matches) FROM table_name_56 WHERE wins < 8 AND losses = 7 AND year = "2011" |
Write a SQL query that answers the following question: What year was the Win percentage 50.00%, with more than 14 matches, and wins more than 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (year VARCHAR, wins VARCHAR, win__percentage VARCHAR, matches VARCHAR) | SELECT year FROM table_name_6 WHERE win__percentage = "50.00%" AND matches > 14 AND wins > 8 |
Write a SQL query that answers the following question: What area has less than 0.97 mil in population and is on the east? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (area__km²_ VARCHAR, pop__km² VARCHAR, _english_ VARCHAR) | SELECT area__km²_ FROM table_name_95 WHERE pop__km² < 0.97 AND _english_ = "east" |
Write a SQL query that answers the following question: What is the area for a population of 0.58 km? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (area__km²_ VARCHAR, pop__km² VARCHAR) | SELECT area__km²_ FROM table_name_8 WHERE pop__km² = 0.58 |
Write a SQL query that answers the following question: what is the method when the result is loss on january 19, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (method VARCHAR, result VARCHAR, date VARCHAR) | SELECT method FROM table_name_30 WHERE result = "loss" AND date = "january 19, 2008" |
Write a SQL query that answers the following question: when is the opponent lyoto machida? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_94 WHERE opponent = "lyoto machida" |
Write a SQL query that answers the following question: who is the opponent when the method is tko (punches) at 4:26 of round 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (opponent VARCHAR, method VARCHAR) | SELECT opponent FROM table_name_82 WHERE method = "tko (punches) at 4:26 of round 1" |
Write a SQL query that answers the following question: who is the tuf competitor when the method id decision (unanimous)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (tuf_competitor VARCHAR, method VARCHAR) | SELECT tuf_competitor FROM table_name_37 WHERE method = "decision (unanimous)" |
Write a SQL query that answers the following question: who is the opponent when the method is submission (rear naked choke) at 4:02 of round 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (opponent VARCHAR, method VARCHAR) | SELECT opponent FROM table_name_83 WHERE method = "submission (rear naked choke) at 4:02 of round 2" |
Write a SQL query that answers the following question: What is the venue where the melbourne tigers play their home games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_26 WHERE home_team = "melbourne tigers" |
Write a SQL query that answers the following question: What team has theoir home games in the venue of gold coast convention centre? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_11 WHERE venue = "gold coast convention centre" |
Write a SQL query that answers the following question: What is the box score type for the game that has a score of 103-101? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (Box VARCHAR, score VARCHAR) | SELECT Box AS score FROM table_name_79 WHERE score = "103-101" |
Write a SQL query that answers the following question: What was the box score for the game where the away team was the sydney spirit? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (Box VARCHAR, away_team VARCHAR) | SELECT Box AS score FROM table_name_40 WHERE away_team = "sydney spirit" |
Write a SQL query that answers the following question: What was the resolution of the fight when tim hague had a record of 15-7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (res VARCHAR, record VARCHAR) | SELECT res FROM table_name_65 WHERE record = "15-7" |
Write a SQL query that answers the following question: What event did Tim hague have a fight that had a time of 5:00 and a record of 10-4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (event VARCHAR, time VARCHAR, record VARCHAR) | SELECT event FROM table_name_88 WHERE time = "5:00" AND record = "10-4" |
Write a SQL query that answers the following question: What method of resolution was the fight that took place at hardcore championship fighting: destiny? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (method VARCHAR, event VARCHAR) | SELECT method FROM table_name_41 WHERE event = "hardcore championship fighting: destiny" |
Write a SQL query that answers the following question: What event did tim Hague have a record of 3-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (event VARCHAR, record VARCHAR) | SELECT event FROM table_name_54 WHERE record = "3-0" |
Write a SQL query that answers the following question: What was the date of the poll from Survey USA that showed a lead margin smaller than 5.5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (dates_administered VARCHAR, lead_margin VARCHAR, poll_source VARCHAR) | SELECT dates_administered FROM table_name_87 WHERE lead_margin < 5.5 AND poll_source = "survey usa" |
Write a SQL query that answers the following question: Which organization administered the poll that showed a lead margin of 5.5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (poll_source VARCHAR, lead_margin VARCHAR) | SELECT poll_source FROM table_name_88 WHERE lead_margin = 5.5 |
Write a SQL query that answers the following question: What is the sum of Round, when Position is Forward, and when School/Club Team is Western Kentucky? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (round INTEGER, position VARCHAR, school_club_team VARCHAR) | SELECT SUM(round) FROM table_name_2 WHERE position = "forward" AND school_club_team = "western kentucky" |
Write a SQL query that answers the following question: What is Position, when Pick is 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (position VARCHAR, pick VARCHAR) | SELECT position FROM table_name_80 WHERE pick = "7" |
Write a SQL query that answers the following question: What is Pick, when Round is greater than 1, and when School/Club Team is South Carolina? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (pick VARCHAR, round VARCHAR, school_club_team VARCHAR) | SELECT pick FROM table_name_95 WHERE round > 1 AND school_club_team = "south carolina" |
Write a SQL query that answers the following question: What is the Date of the game with an Outcome of runner-up and Score of 5–7, 3–6, 6–3, 2–6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (date VARCHAR, outcome VARCHAR, score VARCHAR) | SELECT date FROM table_name_83 WHERE outcome = "runner-up" AND score = "5–7, 3–6, 6–3, 2–6" |
Write a SQL query that answers the following question: What is the Date of the game with a Score of 4–6, 4–6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_36 WHERE score = "4–6, 4–6" |
Write a SQL query that answers the following question: What is the Date of the game against Christo Van Rensburg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_5 WHERE opponent = "christo van rensburg" |
Write a SQL query that answers the following question: Who was the home team for the game that has a Tie value of 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_36 WHERE tie_no = "3" |
Write a SQL query that answers the following question: How many in total were in attendance at games where Chelsea was the away team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (attendance INTEGER, away_team VARCHAR) | SELECT SUM(attendance) FROM table_name_23 WHERE away_team = "chelsea" |
Write a SQL query that answers the following question: What is the 2004 population for 昌黎县? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (population__2004_est_ VARCHAR, hanzi VARCHAR) | SELECT population__2004_est_ FROM table_name_87 WHERE hanzi = "昌黎县" |
Write a SQL query that answers the following question: What is the 2004 population for 山海关区? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (population__2004_est_ VARCHAR, hanzi VARCHAR) | SELECT population__2004_est_ FROM table_name_46 WHERE hanzi = "山海关区" |
Write a SQL query that answers the following question: Which Hanzi has a suburban population in 2004? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (hanzi VARCHAR, population__2004_est_ VARCHAR) | SELECT hanzi FROM table_name_95 WHERE population__2004_est_ = "suburban" |
Write a SQL query that answers the following question: What is the density of 昌黎县? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (density___km²_ VARCHAR, hanzi VARCHAR) | SELECT density___km²_ FROM table_name_34 WHERE hanzi = "昌黎县" |
Write a SQL query that answers the following question: Which Hanyu Pinyin is labeled rural? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (hanyu_pinyin VARCHAR, name VARCHAR) | SELECT hanyu_pinyin FROM table_name_68 WHERE name = "rural" |
Write a SQL query that answers the following question: What is the Pressure in hPa (mbar), when Vacuum Range is "medium vacuum"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (pressure_in_hpa__mbar_ VARCHAR, vacuum_range VARCHAR) | SELECT pressure_in_hpa__mbar_ FROM table_name_69 WHERE vacuum_range = "medium vacuum" |
Write a SQL query that answers the following question: What is Mean Free Path, when Vacuum Range is "medium vacuum"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (mean_free_path VARCHAR, vacuum_range VARCHAR) | SELECT mean_free_path FROM table_name_28 WHERE vacuum_range = "medium vacuum" |
Write a SQL query that answers the following question: What is Mean Free Path, when Vacuum Range is "medium vacuum"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (mean_free_path VARCHAR, vacuum_range VARCHAR) | SELECT mean_free_path FROM table_name_25 WHERE vacuum_range = "medium vacuum" |
Write a SQL query that answers the following question: what is the outcome when the date is 10 october 1994? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (outcome VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_40 WHERE date = "10 october 1994" |
Write a SQL query that answers the following question: what is the score on 22 february 1993? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_10 WHERE date = "22 february 1993" |
Write a SQL query that answers the following question: what is the outcome when the surface is grass on 23 june 1997? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (outcome VARCHAR, surface VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_45 WHERE surface = "grass" AND date = "23 june 1997" |
Write a SQL query that answers the following question: what is the score when the surface is carpet (i) outcome is winner and the championship is rotterdam, netherlands? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (score VARCHAR, championship VARCHAR, surface VARCHAR, outcome VARCHAR) | SELECT score FROM table_name_43 WHERE surface = "carpet (i)" AND outcome = "winner" AND championship = "rotterdam, netherlands" |
Write a SQL query that answers the following question: what is the title when the rank is less than 17 and the worldwide gross is $299,288,605? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (title VARCHAR, rank VARCHAR, worldwide_gross VARCHAR) | SELECT title FROM table_name_11 WHERE rank < 17 AND worldwide_gross = "$299,288,605" |
Write a SQL query that answers the following question: what is the highest rank for director john woo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (rank INTEGER, director VARCHAR) | SELECT MAX(rank) FROM table_name_47 WHERE director = "john woo" |
Write a SQL query that answers the following question: what is the title for director p.j. hogan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (title VARCHAR, director VARCHAR) | SELECT title FROM table_name_15 WHERE director = "p.j. hogan" |
Write a SQL query that answers the following question: What date was the pyramid location? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (date VARCHAR, location VARCHAR) | SELECT date FROM table_name_69 WHERE location = "the pyramid" |
Write a SQL query that answers the following question: What date was the opponent the Portland Trail Blazers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_67 WHERE opponent = "portland trail blazers" |
Write a SQL query that answers the following question: What is the record for the opponent the Cleveland Cavaliers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_26 WHERE opponent = "cleveland cavaliers" |
Write a SQL query that answers the following question: What was the second qualification time for Dale Coyne Racing with a best of 1:03.757? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (qual_2 VARCHAR, team VARCHAR, best VARCHAR) | SELECT qual_2 FROM table_name_39 WHERE team = "dale coyne racing" AND best = "1:03.757" |
Write a SQL query that answers the following question: What was the second qualification time with a first qualification time of 1:02.813? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (qual_2 VARCHAR, qual_1 VARCHAR) | SELECT qual_2 FROM table_name_29 WHERE qual_1 = "1:02.813" |
Write a SQL query that answers the following question: Which team has a second qualification time of 1:01.936? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (team VARCHAR, qual_2 VARCHAR) | SELECT team FROM table_name_40 WHERE qual_2 = "1:01.936" |
Write a SQL query that answers the following question: Who had a best time of 1:00.870? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (name VARCHAR, best VARCHAR) | SELECT name FROM table_name_24 WHERE best = "1:00.870" |
Write a SQL query that answers the following question: Who had a second qualification time of 1:01.777? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (name VARCHAR, qual_2 VARCHAR) | SELECT name FROM table_name_9 WHERE qual_2 = "1:01.777" |
Write a SQL query that answers the following question: What type of 3D game was released between 2008-2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (genre VARCHAR, type VARCHAR, release_date VARCHAR) | SELECT genre FROM table_name_87 WHERE type = "3d" AND release_date = "2008-2011" |
Write a SQL query that answers the following question: When did Riot Games release their 3D MOBA game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (release_date VARCHAR, developer_s_ VARCHAR, type VARCHAR, genre VARCHAR) | SELECT release_date FROM table_name_2 WHERE type = "3d" AND genre = "moba" AND developer_s_ = "riot games" |
Write a SQL query that answers the following question: When did Masthead Studios release their game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (release_date VARCHAR, developer_s_ VARCHAR) | SELECT release_date FROM table_name_98 WHERE developer_s_ = "masthead studios" |
Write a SQL query that answers the following question: What operating system was needed for 2D games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (required_os VARCHAR, type VARCHAR) | SELECT required_os FROM table_name_91 WHERE type = "2d" |
Write a SQL query that answers the following question: What type of 3D game did Valve Corporation release? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (genre VARCHAR, type VARCHAR, developer_s_ VARCHAR) | SELECT genre FROM table_name_4 WHERE type = "3d" AND developer_s_ = "valve corporation" |
Write a SQL query that answers the following question: What was the minimum operating system required by Stunlock Studios' game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (required_os VARCHAR, developer_s_ VARCHAR) | SELECT required_os FROM table_name_91 WHERE developer_s_ = "stunlock studios" |
Write a SQL query that answers the following question: What was the total rounds Travis Hamonic played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (round VARCHAR, player VARCHAR) | SELECT COUNT(round) FROM table_name_61 WHERE player = "travis hamonic" |
Write a SQL query that answers the following question: What is the name of the ship with pit props as Cargo sunk by u-48 *? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (name VARCHAR, fate VARCHAR, cargo VARCHAR) | SELECT name FROM table_name_44 WHERE fate = "sunk by u-48 *" AND cargo = "pit props" |
Write a SQL query that answers the following question: What is the Date of attack of the ship with iron ore sunk by u-101 *? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (date_of_attack VARCHAR, fate VARCHAR, cargo VARCHAR) | SELECT date_of_attack FROM table_name_39 WHERE fate = "sunk by u-101 *" AND cargo = "iron ore" |
Write a SQL query that answers the following question: What is the fewest points for positions with under 12 losses, goals against under 50, goal difference over 11, and under 30 played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (points INTEGER, played VARCHAR, goal_difference VARCHAR, losses VARCHAR, goals_against VARCHAR) | SELECT MIN(points) FROM table_name_22 WHERE losses < 12 AND goals_against < 50 AND goal_difference > 11 AND played < 30 |
Write a SQL query that answers the following question: What is the most wins for a position with more than 30 played and a goal difference of 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (wins INTEGER, goal_difference VARCHAR, played VARCHAR) | SELECT MAX(wins) FROM table_name_46 WHERE goal_difference = 11 AND played > 30 |
Write a SQL query that answers the following question: What is the total number of played for the goals against over 44 and a goal difference of 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (played VARCHAR, goal_difference VARCHAR, goals_against VARCHAR) | SELECT COUNT(played) FROM table_name_68 WHERE goal_difference = 11 AND goals_against > 44 |
Write a SQL query that answers the following question: What is Time, when Round is less than 2, and when Opponent is "Valentijn Overeem"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (time VARCHAR, round VARCHAR, opponent VARCHAR) | SELECT time FROM table_name_22 WHERE round < 2 AND opponent = "valentijn overeem" |
Write a SQL query that answers the following question: What is Location, when Round is "1", and when Opponent is "Joe Slick"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (location VARCHAR, round VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_76 WHERE round = 1 AND opponent = "joe slick" |
Write a SQL query that answers the following question: What is Event, when Opponent is "Joe Pardo"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_41 WHERE opponent = "joe pardo" |
Write a SQL query that answers the following question: What is Event, when Round is "1", when Location is "New Town, North Dakota , United States" and when Time is "4:12"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (event VARCHAR, time VARCHAR, round VARCHAR, location VARCHAR) | SELECT event FROM table_name_9 WHERE round = 1 AND location = "new town, north dakota , united states" AND time = "4:12" |
Write a SQL query that answers the following question: On what Date was the Opponent the Tennessee Titans? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_47 WHERE opponent = "tennessee titans" |
Write a SQL query that answers the following question: What is the Result of the game with an Attendance of 64,104? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_25 WHERE attendance = "64,104" |
Write a SQL query that answers the following question: What is the Week number with a Result of W 30-28? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (week INTEGER, result VARCHAR) | SELECT AVG(week) FROM table_name_85 WHERE result = "w 30-28" |
Write a SQL query that answers the following question: What is the date of the game against Philadelphia Eagles? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_61 WHERE opponent = "philadelphia eagles" |
Write a SQL query that answers the following question: What is the Attendance of the game September 21, 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_36 WHERE date = "september 21, 2003" |
Write a SQL query that answers the following question: What position has a pick less than 20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (position VARCHAR, pick INTEGER) | SELECT position FROM table_name_2 WHERE pick < 20 |
Write a SQL query that answers the following question: What is the number that is the lowest overall for the College of Baylor? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (overall INTEGER, college VARCHAR) | SELECT MIN(overall) FROM table_name_44 WHERE college = "baylor" |
Write a SQL query that answers the following question: What is the number that is the lowest overall for Round 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (overall INTEGER, round VARCHAR) | SELECT MIN(overall) FROM table_name_85 WHERE round = 6 |
Write a SQL query that answers the following question: Where was the result a win against Mike Large? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (location VARCHAR, res VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_44 WHERE res = "win" AND opponent = "mike large" |
Write a SQL query that answers the following question: In what round did opponent Joe Lauzon play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_39 WHERE opponent = "joe lauzon" |
Write a SQL query that answers the following question: Who was the opponent in a week over 8 on December 4, 1960? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (opponent VARCHAR, week VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_54 WHERE week > 8 AND date = "december 4, 1960" |
Write a SQL query that answers the following question: Who was the opponent in a week less than 8 on October 9, 1960? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (opponent VARCHAR, week VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_24 WHERE week < 8 AND date = "october 9, 1960" |
Write a SQL query that answers the following question: What was the result when 58,516 were in attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_70 WHERE attendance = "58,516" |
Write a SQL query that answers the following question: Who was the opponent in a week below 3 on September 23, 1960? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (opponent VARCHAR, week VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_28 WHERE week < 3 AND date = "september 23, 1960" |
Write a SQL query that answers the following question: What is the biggest number of females where the males are at 28.2 with a rank greater than 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (females INTEGER, males VARCHAR, rank VARCHAR) | SELECT MAX(females) FROM table_name_46 WHERE males = 28.2 AND rank > 5 |
Write a SQL query that answers the following question: Who was the player in 1976? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (player VARCHAR, year VARCHAR) | SELECT player FROM table_name_9 WHERE year = 1976 |
Write a SQL query that answers the following question: When was Elaine Powell (g) of the United states picked? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (pick VARCHAR, nationality VARCHAR, player VARCHAR) | SELECT pick FROM table_name_17 WHERE nationality = "united states" AND player = "elaine powell (g)" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.