instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the smallest roll with a Decile larger than 6, and a Name of broomfield school? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (roll INTEGER, decile VARCHAR, name VARCHAR) | SELECT MIN(roll) FROM table_name_40 WHERE decile > 6 AND name = "broomfield school" |
Write a SQL query that answers the following question: Which name has a Roll of 270? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (name VARCHAR, roll VARCHAR) | SELECT name FROM table_name_97 WHERE roll = 270 |
Write a SQL query that answers the following question: Who directed the episode written by Dan Serafin and aired on July 23, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (directed_by VARCHAR, written_by VARCHAR, original_airdate VARCHAR) | SELECT directed_by FROM table_name_52 WHERE written_by = "dan serafin" AND original_airdate = "july 23, 2008" |
Write a SQL query that answers the following question: What is the title of the episode originally aired on February 2, 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (title VARCHAR, original_airdate VARCHAR) | SELECT title FROM table_name_65 WHERE original_airdate = "february 2, 2008" |
Write a SQL query that answers the following question: How much money did James Seddon request? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR) | SELECT money_requested__£_ FROM table_name_2 WHERE entrepreneur_s_ = "james seddon" |
Write a SQL query that answers the following question: Which Entrepreneur(s) first aired on 24 August 2006? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (entrepreneur_s_ VARCHAR, first_aired VARCHAR) | SELECT entrepreneur_s_ FROM table_name_28 WHERE first_aired = "24 august 2006" |
Write a SQL query that answers the following question: Which Entrepreneur(s) have mixalbum? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (entrepreneur_s_ VARCHAR, company_or_product_name VARCHAR) | SELECT entrepreneur_s_ FROM table_name_69 WHERE company_or_product_name = "mixalbum" |
Write a SQL query that answers the following question: How much money did Ian Chamings request? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR) | SELECT money_requested__£_ FROM table_name_78 WHERE entrepreneur_s_ = "ian chamings" |
Write a SQL query that answers the following question: Which Investing Dragon(s) requested 100,000 in money and has autosafe? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (investing_dragon_s_ VARCHAR, money_requested__£_ VARCHAR, company_or_product_name VARCHAR) | SELECT investing_dragon_s_ FROM table_name_74 WHERE money_requested__£_ = "100,000" AND company_or_product_name = "autosafe" |
Write a SQL query that answers the following question: How tall is the Anqing Bridge which opened prior to 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (height_of_bridge_structure VARCHAR, opened VARCHAR, name VARCHAR) | SELECT height_of_bridge_structure FROM table_name_8 WHERE opened < 2011 AND name = "anqing bridge" |
Write a SQL query that answers the following question: Where did the cable-stayed Badong Bridge open in 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (location VARCHAR, name VARCHAR, type VARCHAR, opened VARCHAR) | SELECT location FROM table_name_18 WHERE type = "cable-stayed" AND opened = 2005 AND name = "badong bridge" |
Write a SQL query that answers the following question: Name the average year for janaprakal chandruang | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (year INTEGER, performing_arts VARCHAR) | SELECT AVG(year) FROM table_name_53 WHERE performing_arts = "janaprakal chandruang" |
Write a SQL query that answers the following question: Name the literature for pradit prasarttong | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (literature VARCHAR, performing_arts VARCHAR) | SELECT literature FROM table_name_72 WHERE performing_arts = "pradit prasarttong" |
Write a SQL query that answers the following question: What was the first year Fabrice Soulier was a runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (year INTEGER, runner_up VARCHAR) | SELECT MIN(year) FROM table_name_43 WHERE runner_up = "fabrice soulier" |
Write a SQL query that answers the following question: How many entrants were there in 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (entrants VARCHAR, year VARCHAR) | SELECT COUNT(entrants) FROM table_name_21 WHERE year = 2011 |
Write a SQL query that answers the following question: What was the rank of Bobby Grim when he finished 1059 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (rank VARCHAR, laps VARCHAR) | SELECT rank FROM table_name_95 WHERE laps = 1059 |
Write a SQL query that answers the following question: What is the rd., time of the match with a win result, a tko type, and Carlos Molina as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (rd VARCHAR, _time VARCHAR, opponent VARCHAR, res VARCHAR, type VARCHAR) | SELECT rd, _time FROM table_name_43 WHERE res = "win" AND type = "tko" AND opponent = "carlos molina" |
Write a SQL query that answers the following question: What is the record of the match on 2009-07-18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_21 WHERE date = "2009-07-18" |
Write a SQL query that answers the following question: What is the type of the match with a win result and Michael Gomez as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (type VARCHAR, res VARCHAR, opponent VARCHAR) | SELECT type FROM table_name_79 WHERE res = "win" AND opponent = "michael gomez" |
Write a SQL query that answers the following question: What were the goals when the caps were set at 48? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (goals VARCHAR, caps VARCHAR) | SELECT goals FROM table_name_66 WHERE caps = 48 |
Write a SQL query that answers the following question: How many caps did the player Mile Sterjovski have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (caps VARCHAR, player VARCHAR) | SELECT caps FROM table_name_22 WHERE player = "mile sterjovski" |
Write a SQL query that answers the following question: What are the goals of Mile Sterjovski as a player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (goals VARCHAR, player VARCHAR) | SELECT goals FROM table_name_59 WHERE player = "mile sterjovski" |
Write a SQL query that answers the following question: How many caps did Mitchell Duke have overall? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (caps VARCHAR, player VARCHAR) | SELECT COUNT(caps) FROM table_name_32 WHERE player = "mitchell duke" |
Write a SQL query that answers the following question: Which opponent has a Date of 16 february 2003? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_83 WHERE date = "16 february 2003" |
Write a SQL query that answers the following question: Which date has an A venue with an Opponent of stoke city? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (date VARCHAR, venue VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_61 WHERE venue = "a" AND opponent = "stoke city" |
Write a SQL query that answers the following question: Which opponent has a Round of r5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (opponent VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_51 WHERE round = "r5" |
Write a SQL query that answers the following question: Which Scorers have a Venue of A, and an Opponent of arsenal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (scorers VARCHAR, venue VARCHAR, opponent VARCHAR) | SELECT scorers FROM table_name_41 WHERE venue = "a" AND opponent = "arsenal" |
Write a SQL query that answers the following question: Which Opponent has a Round of qf replay? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (opponent VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_22 WHERE round = "qf replay" |
Write a SQL query that answers the following question: Who took the loss on the April 6 game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_84 WHERE date = "april 6" |
Write a SQL query that answers the following question: What was the record after the April 15 game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_75 WHERE date = "april 15" |
Write a SQL query that answers the following question: Who was the opponent that led to a 10-13 record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_38 WHERE record = "10-13" |
Write a SQL query that answers the following question: What is the record after the April 6 game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_14 WHERE date = "april 6" |
Write a SQL query that answers the following question: What was the score for the April 12 game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_73 WHERE date = "april 12" |
Write a SQL query that answers the following question: What team has the most wins with at least 18 goals and less than 5 losses? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (wins INTEGER, goals_for VARCHAR, losses VARCHAR) | SELECT MAX(wins) FROM table_name_85 WHERE goals_for = 18 AND losses < 5 |
Write a SQL query that answers the following question: How many times has the Cornwall HC team, that has scored more than 18 goals, lost ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (losses VARCHAR, team VARCHAR, goals_for VARCHAR) | SELECT COUNT(losses) FROM table_name_12 WHERE team = "cornwall hc" AND goals_for > 18 |
Write a SQL query that answers the following question: What is the series number that has a production code of 50021–50025? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (number_in_series INTEGER, production_code VARCHAR) | SELECT MAX(number_in_series) FROM table_name_19 WHERE production_code = "50021–50025" |
Write a SQL query that answers the following question: Which county team has jimmy finn as the player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (county_team VARCHAR, player VARCHAR) | SELECT county_team FROM table_name_88 WHERE player = "jimmy finn" |
Write a SQL query that answers the following question: How many team numbers have john keane as the player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (team_number VARCHAR, player VARCHAR) | SELECT COUNT(team_number) FROM table_name_93 WHERE player = "john keane" |
Write a SQL query that answers the following question: Which position has john keane as the player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_15 WHERE player = "john keane" |
Write a SQL query that answers the following question: What was the loss of the game when the record was 27-17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_61 WHERE record = "27-17" |
Write a SQL query that answers the following question: What are the smallest goals with wins smaller than 16, and a Draws larger than 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (goals_against INTEGER, wins VARCHAR, draws VARCHAR) | SELECT MIN(goals_against) FROM table_name_48 WHERE wins < 16 AND draws > 14 |
Write a SQL query that answers the following question: What are the average wins with a Points of 42-2, and Goals against of 67, and Played smaller than 44? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (wins INTEGER, played VARCHAR, points VARCHAR, goals_against VARCHAR) | SELECT AVG(wins) FROM table_name_86 WHERE points = "42-2" AND goals_against = 67 AND played < 44 |
Write a SQL query that answers the following question: Which average wins have a Club of barcelona atlètic, and Goals for larger than 56? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (wins INTEGER, club VARCHAR, goals_for VARCHAR) | SELECT AVG(wins) FROM table_name_59 WHERE club = "barcelona atlètic" AND goals_for > 56 |
Write a SQL query that answers the following question: Which lowest position has goals against smaller than 78, Points of 42-2, and Wins larger than 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (position INTEGER, wins VARCHAR, goals_against VARCHAR, points VARCHAR) | SELECT MIN(position) FROM table_name_63 WHERE goals_against < 78 AND points = "42-2" AND wins > 15 |
Write a SQL query that answers the following question: Which lowest played has a Position of 2, and Goals against larger than 53? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (played INTEGER, position VARCHAR, goals_against VARCHAR) | SELECT MIN(played) FROM table_name_6 WHERE position = 2 AND goals_against > 53 |
Write a SQL query that answers the following question: How many goal differences have Played larger than 44? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (goal_difference INTEGER, played INTEGER) | SELECT SUM(goal_difference) FROM table_name_99 WHERE played > 44 |
Write a SQL query that answers the following question: What year was the race in Vienna, Austria? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (year INTEGER, venue VARCHAR) | SELECT MIN(year) FROM table_name_72 WHERE venue = "vienna, austria" |
Write a SQL query that answers the following question: What event (Extra) in 2002 did the competitor compete in and place 8th? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (extra VARCHAR, year VARCHAR, result VARCHAR) | SELECT extra FROM table_name_80 WHERE year = 2002 AND result = "8th" |
Write a SQL query that answers the following question: Where was the Olympic Games held? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (venue VARCHAR, tournament VARCHAR) | SELECT venue FROM table_name_29 WHERE tournament = "olympic games" |
Write a SQL query that answers the following question: That is the value for Try bonus when the value for Points is 418? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (try_bonus VARCHAR, points_for VARCHAR) | SELECT try_bonus FROM table_name_82 WHERE points_for = "418" |
Write a SQL query that answers the following question: What is the Club, when the value for Played is 22, and when the value for Tries is 41? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (club VARCHAR, played VARCHAR, tries_for VARCHAR) | SELECT club FROM table_name_44 WHERE played = "22" AND tries_for = "41" |
Write a SQL query that answers the following question: What is the value for Drawn, when the value for Losing bonus is 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (drawn VARCHAR, losing_bonus VARCHAR) | SELECT drawn FROM table_name_12 WHERE losing_bonus = "6" |
Write a SQL query that answers the following question: What is the value for Lost, when the value for Try bonus is 2, and when the value for Losing bonus is 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (lost VARCHAR, try_bonus VARCHAR, losing_bonus VARCHAR) | SELECT lost FROM table_name_35 WHERE try_bonus = "2" AND losing_bonus = "4" |
Write a SQL query that answers the following question: What is the Losing bonus, when the value for Points is 43? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (losing_bonus VARCHAR, points VARCHAR) | SELECT losing_bonus FROM table_name_61 WHERE points = "43" |
Write a SQL query that answers the following question: What is the Club, when the value for Lost is 9, and when the value for Tries is 55? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (club VARCHAR, lost VARCHAR, tries_for VARCHAR) | SELECT club FROM table_name_8 WHERE lost = "9" AND tries_for = "55" |
Write a SQL query that answers the following question: What is the largest draw with 37 games from England? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (drawn INTEGER, nationality VARCHAR, games VARCHAR) | SELECT MAX(drawn) FROM table_name_65 WHERE nationality = "england" AND games = 37 |
Write a SQL query that answers the following question: How many draws have a Cambridge United career of 2008–2009 and less than 13 losses? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (drawn VARCHAR, cambridge_united_career VARCHAR, lost VARCHAR) | SELECT COUNT(drawn) FROM table_name_2 WHERE cambridge_united_career = "2008–2009" AND lost < 13 |
Write a SQL query that answers the following question: What was the record at the game when the score was 1–0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_66 WHERE score = "1–0" |
Write a SQL query that answers the following question: What was the score of the game when the record was 19–13–3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_92 WHERE record = "19–13–3" |
Write a SQL query that answers the following question: Who was the visiting team when the score was 1–3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (visitor VARCHAR, score VARCHAR) | SELECT visitor FROM table_name_16 WHERE score = "1–3" |
Write a SQL query that answers the following question: Who was the home team when there was a record of 20–13–3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (home VARCHAR, record VARCHAR) | SELECT home FROM table_name_52 WHERE record = "20–13–3" |
Write a SQL query that answers the following question: What was the date of the game with the record of 18–10–2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_60 WHERE record = "18–10–2" |
Write a SQL query that answers the following question: Visitor of minnesota has what average attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (attendance INTEGER, visitor VARCHAR) | SELECT AVG(attendance) FROM table_name_30 WHERE visitor = "minnesota" |
Write a SQL query that answers the following question: Date of december 29 has what visitor? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (visitor VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_9 WHERE date = "december 29" |
Write a SQL query that answers the following question: Score of 2 – 3 has what attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (attendance VARCHAR, score VARCHAR) | SELECT attendance FROM table_name_61 WHERE score = "2 – 3" |
Write a SQL query that answers the following question: With a record of 48-51 for the team, the lowest 2005 attendance was listed as how many? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (attendance INTEGER, record VARCHAR) | SELECT MIN(attendance) FROM table_name_35 WHERE record = "48-51" |
Write a SQL query that answers the following question: What would be the lowest Attendance that also showed a loss of Obermueller (1-2)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (attendance INTEGER, loss VARCHAR) | SELECT MIN(attendance) FROM table_name_36 WHERE loss = "obermueller (1-2)" |
Write a SQL query that answers the following question: What was the stadium for the game held on October 31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (stadium VARCHAR, date VARCHAR) | SELECT stadium FROM table_name_61 WHERE date = "october 31" |
Write a SQL query that answers the following question: How many weeks in total were games played at Cleveland Browns Stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (week VARCHAR, stadium VARCHAR) | SELECT COUNT(week) FROM table_name_81 WHERE stadium = "cleveland browns stadium" |
Write a SQL query that answers the following question: What was the surface on 23 October 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_97 WHERE date = "23 october 2011" |
Write a SQL query that answers the following question: Which Notre Dame coach lost 15 games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (coach VARCHAR, losses VARCHAR) | SELECT coach FROM table_name_27 WHERE losses = 15 |
Write a SQL query that answers the following question: How many losses did Notre Dame have in 1904? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (losses INTEGER, years VARCHAR) | SELECT AVG(losses) FROM table_name_43 WHERE years = "1904" |
Write a SQL query that answers the following question: What was the winning percent of Notre Dame in 1905? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (pct VARCHAR, years VARCHAR) | SELECT pct FROM table_name_86 WHERE years = "1905" |
Write a SQL query that answers the following question: Who is the home captain that played at Edgbaston? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (home_captain VARCHAR, venue VARCHAR) | SELECT home_captain FROM table_name_22 WHERE venue = "edgbaston" |
Write a SQL query that answers the following question: Who is the home captain that played at Edgbaston? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (home_captain VARCHAR, venue VARCHAR) | SELECT home_captain FROM table_name_41 WHERE venue = "edgbaston" |
Write a SQL query that answers the following question: For the matches with home captain Graham Gooch played on the dates 3,4,5,6,7 June 1993, what was the result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (result VARCHAR, home_captain VARCHAR, date VARCHAR) | SELECT result FROM table_name_24 WHERE home_captain = "graham gooch" AND date = "3,4,5,6,7 june 1993" |
Write a SQL query that answers the following question: What was the venue for the matches played on the dates 3,4,5,6,7 June 1993? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_32 WHERE date = "3,4,5,6,7 june 1993" |
Write a SQL query that answers the following question: Who was the away captain for matches played at Trent Bridge? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (away_captain VARCHAR, venue VARCHAR) | SELECT away_captain FROM table_name_81 WHERE venue = "trent bridge" |
Write a SQL query that answers the following question: Which rank is Hawthorn? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (rank VARCHAR, club_clubs VARCHAR) | SELECT rank FROM table_name_32 WHERE club_clubs = "hawthorn" |
Write a SQL query that answers the following question: What is the First Performance when the status is past and the style was ballet, tap? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (first_performance VARCHAR, status VARCHAR, style VARCHAR) | SELECT first_performance FROM table_name_74 WHERE status = "past" AND style = "ballet, tap" |
Write a SQL query that answers the following question: What was the Last Performance when the status is current cast, and a Name of noah parets? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (last_performance VARCHAR, status VARCHAR, name VARCHAR) | SELECT last_performance FROM table_name_16 WHERE status = "current cast" AND name = "noah parets" |
Write a SQL query that answers the following question: What is the style for Giuseppe Bausilio? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (style VARCHAR, name VARCHAR) | SELECT style FROM table_name_31 WHERE name = "giuseppe bausilio" |
Write a SQL query that answers the following question: Which opponent has the event Jungle Fight 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (opponent VARCHAR, event VARCHAR) | SELECT opponent FROM table_name_56 WHERE event = "jungle fight 6" |
Write a SQL query that answers the following question: Which is the method under the event Jungle Fight 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (method VARCHAR, event VARCHAR) | SELECT method FROM table_name_24 WHERE event = "jungle fight 2" |
Write a SQL query that answers the following question: What is the total number of points when draw is 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (points VARCHAR, draw VARCHAR) | SELECT COUNT(points) FROM table_name_71 WHERE draw = 4 |
Write a SQL query that answers the following question: what is the goals scored when draw is less than 8, points is 19 and goals conceded is more than 26? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (goals_scored INTEGER, goals_conceded VARCHAR, draw VARCHAR, points VARCHAR) | SELECT SUM(goals_scored) FROM table_name_44 WHERE draw < 8 AND points = 19 AND goals_conceded > 26 |
Write a SQL query that answers the following question: what is the points when the goals conceded is less than 24, place is less than 6 and goals scored is less than 26? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (points INTEGER, goals_scored VARCHAR, goals_conceded VARCHAR, place VARCHAR) | SELECT SUM(points) FROM table_name_15 WHERE goals_conceded < 24 AND place < 6 AND goals_scored < 26 |
Write a SQL query that answers the following question: what is the place when losses is less than 12 and points is less than 19? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (place INTEGER, lost VARCHAR, points VARCHAR) | SELECT SUM(place) FROM table_name_12 WHERE lost < 12 AND points < 19 |
Write a SQL query that answers the following question: what is the average place when lost is more than 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (place INTEGER, lost INTEGER) | SELECT AVG(place) FROM table_name_13 WHERE lost > 12 |
Write a SQL query that answers the following question: In what Year were there 48 of 120 Seats and a % votes larger than 34.18? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (year INTEGER, seats VARCHAR, _percentage_votes VARCHAR) | SELECT SUM(year) FROM table_name_94 WHERE seats = "48 of 120" AND _percentage_votes > 34.18 |
Write a SQL query that answers the following question: After 1993, what is the Seats with a % votes of 38.72? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (seats VARCHAR, year VARCHAR, _percentage_votes VARCHAR) | SELECT seats FROM table_name_26 WHERE year > 1993 AND _percentage_votes = 38.72 |
Write a SQL query that answers the following question: What is the highest Isolation (km) when the elevation was smaller than 1320, and a Municipality of hinnøya? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (isolation__km_ INTEGER, elevation__m_ VARCHAR, municipality VARCHAR) | SELECT MAX(isolation__km_) FROM table_name_61 WHERE elevation__m_ < 1320 AND municipality = "hinnøya" |
Write a SQL query that answers the following question: What is the average Isolation in the municipality of Sunndal at an elevation of more than 1850? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (isolation__km_ INTEGER, municipality VARCHAR, elevation__m_ VARCHAR) | SELECT AVG(isolation__km_) FROM table_name_83 WHERE municipality = "sunndal" AND elevation__m_ > 1850 |
Write a SQL query that answers the following question: What is the highest elevation for the peak daurmål, and an Isolation (km) larger than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (elevation__m_ INTEGER, peak VARCHAR, isolation__km_ VARCHAR) | SELECT MAX(elevation__m_) FROM table_name_83 WHERE peak = "daurmål" AND isolation__km_ > 4 |
Write a SQL query that answers the following question: What country has an Elevation less than 1833 and an Isolation (km) larger than 18, and a Peak of store lenangstind? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (county VARCHAR, peak VARCHAR, elevation__m_ VARCHAR, isolation__km_ VARCHAR) | SELECT county FROM table_name_64 WHERE elevation__m_ < 1833 AND isolation__km_ > 18 AND peak = "store lenangstind" |
Write a SQL query that answers the following question: What country has a prominence less than 1292 and an Isolation (km) of 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (county VARCHAR, prominence__m_ VARCHAR, isolation__km_ VARCHAR) | SELECT county FROM table_name_9 WHERE prominence__m_ < 1292 AND isolation__km_ = 14 |
Write a SQL query that answers the following question: Which lane did George Bovell swim in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (lane INTEGER, name VARCHAR) | SELECT SUM(lane) FROM table_name_20 WHERE name = "george bovell" |
Write a SQL query that answers the following question: What is the average of the top-25 with 16 cuts and less than 23 events? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (top_25 INTEGER, cuts_made VARCHAR, events VARCHAR) | SELECT AVG(top_25) FROM table_name_79 WHERE cuts_made = 16 AND events < 23 |
Write a SQL query that answers the following question: What is the highest top-25 with more than 9 top-10 but less than 29 events? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR) | SELECT MAX(top_25) FROM table_name_17 WHERE top_10 > 9 AND events < 29 |
Write a SQL query that answers the following question: What's the Overall average that has brad scioli, and a Pick # larger than 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (overall INTEGER, name VARCHAR, pick__number VARCHAR) | SELECT AVG(overall) FROM table_name_60 WHERE name = "brad scioli" AND pick__number > 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.