instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the Record with a Team that is detroit and a Date that is june 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (record VARCHAR, team VARCHAR, date VARCHAR) | SELECT record FROM table_name_56 WHERE team = "detroit" AND date = "june 10" |
Write a SQL query that answers the following question: What is the Location Attendance with a Record that is 1-4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_name_31 WHERE record = "1-4" |
Write a SQL query that answers the following question: How much is the GDP for a population density of 254.7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (gdp__ppp__$m_usd VARCHAR, population_density__per_km²_ VARCHAR) | SELECT gdp__ppp__$m_usd FROM table_name_7 WHERE population_density__per_km²_ = "254.7" |
Write a SQL query that answers the following question: Which country has a population density of 50.3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (country VARCHAR, population_density__per_km²_ VARCHAR) | SELECT country FROM table_name_46 WHERE population_density__per_km²_ = "50.3" |
Write a SQL query that answers the following question: How much is the GDP for an area of 61,395? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (gdp__ppp__$m_usd VARCHAR, area__km²_ VARCHAR) | SELECT gdp__ppp__$m_usd FROM table_name_86 WHERE area__km²_ = "61,395" |
Write a SQL query that answers the following question: How much is the population density with a GDP at $188,112? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (population_density__per_km²_ VARCHAR, gdp__ppp__$m_usd VARCHAR) | SELECT population_density__per_km²_ FROM table_name_31 WHERE gdp__ppp__$m_usd = "$188,112" |
Write a SQL query that answers the following question: How much is the GDP for an area of 116? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (gdp__ppp__$m_usd VARCHAR, area__km²_ VARCHAR) | SELECT gdp__ppp__$m_usd FROM table_name_26 WHERE area__km²_ = "116" |
Write a SQL query that answers the following question: Which country has a population of 3,221,216? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (country VARCHAR, population__2011_est_ VARCHAR) | SELECT country FROM table_name_79 WHERE population__2011_est_ = "3,221,216" |
Write a SQL query that answers the following question: What was Miller Barber wins with Top-5 less than 2 and 19 Events? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (wins VARCHAR, top_5 VARCHAR, events VARCHAR) | SELECT COUNT(wins) FROM table_name_77 WHERE top_5 < 2 AND events = 19 |
Write a SQL query that answers the following question: What is the average number of Wins in a PGA Championship with a Top-5 less than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (wins INTEGER, tournament VARCHAR, top_5 VARCHAR) | SELECT AVG(wins) FROM table_name_87 WHERE tournament = "pga championship" AND top_5 < 2 |
Write a SQL query that answers the following question: What is the highest Top-5 ranking with Events less than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (top_5 INTEGER, events INTEGER) | SELECT MAX(top_5) FROM table_name_63 WHERE events < 4 |
Write a SQL query that answers the following question: Which week's game was attended by 65,272 people? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (week VARCHAR, attendance VARCHAR) | SELECT week FROM table_name_18 WHERE attendance = "65,272" |
Write a SQL query that answers the following question: How many people attended the game in week 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (attendance VARCHAR, week VARCHAR) | SELECT attendance FROM table_name_60 WHERE week = 13 |
Write a SQL query that answers the following question: During which week was the earliest game with an attendance of 65,904 people? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (week INTEGER, attendance VARCHAR) | SELECT MIN(week) FROM table_name_58 WHERE attendance = "65,904" |
Write a SQL query that answers the following question: What height is the tallest for an outside hitter? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (height INTEGER, position VARCHAR) | SELECT MAX(height) FROM table_name_94 WHERE position = "outside hitter" |
Write a SQL query that answers the following question: What is the highest silver rank with a total of 27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (silver INTEGER, total VARCHAR) | SELECT MAX(silver) FROM table_name_65 WHERE total = 27 |
Write a SQL query that answers the following question: What is the total number of Silver when Bronze was smaller than 1 with a total smaller than 2 in Bulgaria? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT COUNT(silver) FROM table_name_6 WHERE bronze < 1 AND total < 2 AND nation = "bulgaria" |
Write a SQL query that answers the following question: What is the temperature classification of a purple colored glass bulb? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (temperature_classification VARCHAR, glass_bulb_color VARCHAR) | SELECT temperature_classification FROM table_name_22 WHERE glass_bulb_color = "purple" |
Write a SQL query that answers the following question: What is the color code with a temperature classification of ordinary? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (color_code__with_fusible_link_ VARCHAR, temperature_classification VARCHAR) | SELECT color_code__with_fusible_link_ FROM table_name_67 WHERE temperature_classification = "ordinary" |
Write a SQL query that answers the following question: What is the temperature rating of the intermediate temperature classification? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (temperature_rating VARCHAR, temperature_classification VARCHAR) | SELECT temperature_rating FROM table_name_1 WHERE temperature_classification = "intermediate" |
Write a SQL query that answers the following question: What is the average Goals for team Kairat, in the 2002 season with more than 29 apps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (goals INTEGER, apps VARCHAR, team VARCHAR, season VARCHAR) | SELECT AVG(goals) FROM table_name_81 WHERE team = "kairat" AND season = "2002" AND apps > 29 |
Write a SQL query that answers the following question: What is the Country for the 2006-07 season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (country VARCHAR, season VARCHAR) | SELECT country FROM table_name_11 WHERE season = "2006-07" |
Write a SQL query that answers the following question: What is the average Apps for the team Kairat with level larger than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (apps INTEGER, team VARCHAR, level VARCHAR) | SELECT AVG(apps) FROM table_name_51 WHERE team = "kairat" AND level > 1 |
Write a SQL query that answers the following question: How many laps did the rider with a grid larger than 11, a Honda cbr1000rr bike, and a time of +42.633? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (laps VARCHAR, time VARCHAR, grid VARCHAR, bike VARCHAR) | SELECT laps FROM table_name_17 WHERE grid > 11 AND bike = "honda cbr1000rr" AND time = "+42.633" |
Write a SQL query that answers the following question: Who was teh rider with 18 laps and a grid of 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (rider VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT rider FROM table_name_43 WHERE laps = 18 AND grid = 25 |
Write a SQL query that answers the following question: Who was the rider who had an accident time and a kawasaki zx-10r bike? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (rider VARCHAR, time VARCHAR, bike VARCHAR) | SELECT rider FROM table_name_49 WHERE time = "accident" AND bike = "kawasaki zx-10r" |
Write a SQL query that answers the following question: What is the time of rider Loic Napoleone, who had less than 18 laps and a grid greater than 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (time VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT time FROM table_name_7 WHERE laps < 18 AND grid > 8 AND rider = "loic napoleone" |
Write a SQL query that answers the following question: How many laps did the rider with a grid larger than 14 and a time of +33.150 have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (laps VARCHAR, grid VARCHAR, time VARCHAR) | SELECT laps FROM table_name_82 WHERE grid > 14 AND time = "+33.150" |
Write a SQL query that answers the following question: What is Away, when Home is Guelph Gargoyles? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (away VARCHAR, home VARCHAR) | SELECT away FROM table_name_24 WHERE home = "guelph gargoyles" |
Write a SQL query that answers the following question: What is Home, when Ground is Humber College North, and when Time is 15:00? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (home VARCHAR, ground VARCHAR, time VARCHAR) | SELECT home FROM table_name_58 WHERE ground = "humber college north" AND time = "15:00" |
Write a SQL query that answers the following question: What is Date, when Away is High Park Demons? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (date VARCHAR, away VARCHAR) | SELECT date FROM table_name_6 WHERE away = "high park demons" |
Write a SQL query that answers the following question: What is Date, when Away is High Park Demons? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (date VARCHAR, away VARCHAR) | SELECT date FROM table_name_43 WHERE away = "high park demons" |
Write a SQL query that answers the following question: What is Time, when Away is Central Blues? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (time VARCHAR, away VARCHAR) | SELECT time FROM table_name_95 WHERE away = "central blues" |
Write a SQL query that answers the following question: What cover has a published date of May 27, 2009 (hc) May 20, 2009 (tpb)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (cover VARCHAR, published VARCHAR) | SELECT cover FROM table_name_12 WHERE published = "may 27, 2009 (hc) may 20, 2009 (tpb)" |
Write a SQL query that answers the following question: What is the number of the volume that has an ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (volume VARCHAR, isbn VARCHAR) | SELECT volume FROM table_name_49 WHERE isbn = "978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)" |
Write a SQL query that answers the following question: What is the name of the series with an ISBN of 978-1-59582-523-0 (tpb)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (series VARCHAR, isbn VARCHAR) | SELECT series FROM table_name_22 WHERE isbn = "978-1-59582-523-0 (tpb)" |
Write a SQL query that answers the following question: What volume number has the ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (volume VARCHAR, isbn VARCHAR) | SELECT volume FROM table_name_38 WHERE isbn = "978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)" |
Write a SQL query that answers the following question: What is the ISBN of the Conan the Barbarian series that has the title of Queen of the Black Coast? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (isbn VARCHAR, series VARCHAR, title VARCHAR) | SELECT isbn FROM table_name_75 WHERE series = "conan the barbarian" AND title = "queen of the black coast" |
Write a SQL query that answers the following question: What cover has Throne of Aquilonia as the title? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (cover VARCHAR, title VARCHAR) | SELECT cover FROM table_name_46 WHERE title = "throne of aquilonia" |
Write a SQL query that answers the following question: With a Rank of less than 4, what is Pablo Prigioni's total number of Games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (games VARCHAR, name VARCHAR, rank VARCHAR) | SELECT COUNT(games) FROM table_name_44 WHERE name = "pablo prigioni" AND rank < 4 |
Write a SQL query that answers the following question: How many Assists for the Player with more than 25 Games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (assists INTEGER, games INTEGER) | SELECT SUM(assists) FROM table_name_45 WHERE games > 25 |
Write a SQL query that answers the following question: What is the Rank of the Maccabi Tel Aviv Player with 25 Games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (rank VARCHAR, games VARCHAR, team VARCHAR) | SELECT COUNT(rank) FROM table_name_82 WHERE games = 25 AND team = "maccabi tel aviv" |
Write a SQL query that answers the following question: How many Assists for the Player with a Rank greater than 3 in less than 25 Games? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (assists INTEGER, rank VARCHAR, games VARCHAR) | SELECT AVG(assists) FROM table_name_66 WHERE rank > 3 AND games < 25 |
Write a SQL query that answers the following question: How many Games for Rank 2 Terrell McIntyre? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (games INTEGER, name VARCHAR, rank VARCHAR) | SELECT MIN(games) FROM table_name_8 WHERE name = "terrell mcintyre" AND rank > 2 |
Write a SQL query that answers the following question: What is the Venue of the Heptathlon after 2006 where Tatyana Chernova comes in Position 7th? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (venue VARCHAR, notes VARCHAR, year VARCHAR, position VARCHAR) | SELECT venue FROM table_name_70 WHERE year > 2006 AND position = "7th" AND notes = "heptathlon" |
Write a SQL query that answers the following question: In what Year did Chernova come in 1st in Götzis, Austria? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (year INTEGER, venue VARCHAR, position VARCHAR) | SELECT SUM(year) FROM table_name_37 WHERE venue = "götzis, austria" AND position = "1st" |
Write a SQL query that answers the following question: Which Cover Model was featured on 8-03? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (cover_model VARCHAR, date VARCHAR) | SELECT cover_model FROM table_name_8 WHERE date = "8-03" |
Write a SQL query that answers the following question: Who was the Centerfold model when O.J. Simpson was the Interview Subject? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (centerfold_model VARCHAR, interview_subject VARCHAR) | SELECT centerfold_model FROM table_name_72 WHERE interview_subject = "o.j. simpson" |
Write a SQL query that answers the following question: Who was the Cover model when the Centerfold Model was Marketa Janska? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (cover_model VARCHAR, centerfold_model VARCHAR) | SELECT cover_model FROM table_name_43 WHERE centerfold_model = "marketa janska" |
Write a SQL query that answers the following question: Who was the Cover model on 11-03? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (cover_model VARCHAR, date VARCHAR) | SELECT cover_model FROM table_name_96 WHERE date = "11-03" |
Write a SQL query that answers the following question: Who was the Centerfold Model on 9-03? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (centerfold_model VARCHAR, date VARCHAR) | SELECT centerfold_model FROM table_name_79 WHERE date = "9-03" |
Write a SQL query that answers the following question: How many rounds had a selection of 165? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (round INTEGER, selection VARCHAR) | SELECT SUM(round) FROM table_name_74 WHERE selection = 165 |
Write a SQL query that answers the following question: What is the average Height for the Position of d, with a Birthplace of new hope, minnesota? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (height__cm_ INTEGER, position VARCHAR, birthplace VARCHAR) | SELECT AVG(height__cm_) FROM table_name_79 WHERE position = "d" AND birthplace = "new hope, minnesota" |
Write a SQL query that answers the following question: What is the 1990–1991 Team when the Birthplace shows as new york? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (birthplace VARCHAR) | SELECT 1990 AS _1991_team FROM table_name_23 WHERE birthplace = "new york" |
Write a SQL query that answers the following question: What is the Position when the person's birthplace was toledo, ohio? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (position VARCHAR, birthplace VARCHAR) | SELECT position FROM table_name_32 WHERE birthplace = "toledo, ohio" |
Write a SQL query that answers the following question: What is the 1990–1991 Team that had Joel Otto? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (name VARCHAR) | SELECT 1990 AS _1991_team FROM table_name_41 WHERE name = "joel otto" |
Write a SQL query that answers the following question: Which T.C. has a Year larger than 2007, and a D.C. of 21st? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (tc VARCHAR, year VARCHAR, dc VARCHAR) | SELECT tc FROM table_name_26 WHERE year > 2007 AND dc = "21st" |
Write a SQL query that answers the following question: What kind of D.C. has Races smaller than 20, and Points larger than 0, and Drivers of christian vietoris, and Wins of 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (dc VARCHAR, wins VARCHAR, drivers VARCHAR, races VARCHAR, points VARCHAR) | SELECT dc FROM table_name_65 WHERE races < 20 AND points > 0 AND drivers = "christian vietoris" AND wins = 1 |
Write a SQL query that answers the following question: Which Races has a T.C. of 3rd, and a D.C. of 7th? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (races INTEGER, tc VARCHAR, dc VARCHAR) | SELECT MIN(races) FROM table_name_14 WHERE tc = "3rd" AND dc = "7th" |
Write a SQL query that answers the following question: What is the 2007 of the Grand Slam Tournaments in 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (Id VARCHAR) | SELECT 2007 FROM table_name_16 WHERE 2008 = "grand slam tournaments" |
Write a SQL query that answers the following question: What is the Tournament with a 3r 2011 and A 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (tournament VARCHAR) | SELECT tournament FROM table_name_63 WHERE 2011 = "3r" AND 2010 = "a" |
Write a SQL query that answers the following question: What is the 2008 of the 2r 2011 and A 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (Id VARCHAR) | SELECT 2008 FROM table_name_38 WHERE 2011 = "2r" AND 2010 = "a" |
Write a SQL query that answers the following question: What is the 2010 of the Grand Slam Tournaments in 2011? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (Id VARCHAR) | SELECT 2010 FROM table_name_66 WHERE 2011 = "grand slam tournaments" |
Write a SQL query that answers the following question: What is the total number of runners-up for a club with winning years of 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (runners_up VARCHAR, winning_years VARCHAR) | SELECT COUNT(runners_up) FROM table_name_92 WHERE winning_years = "2010" |
Write a SQL query that answers the following question: Who were the runners-up for the FC Viktoria Plzeň club? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (runners_up VARCHAR, club VARCHAR) | SELECT runners_up FROM table_name_7 WHERE club = "fc viktoria plzeň" |
Write a SQL query that answers the following question: Which congress was held in 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (con__gress VARCHAR, date VARCHAR) | SELECT con__gress FROM table_name_50 WHERE date = "2010" |
Write a SQL query that answers the following question: What is the casting temperature for a hardness of 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (casting_at__°c_ VARCHAR, hardness VARCHAR) | SELECT casting_at__°c_ FROM table_name_88 WHERE hardness = "22" |
Write a SQL query that answers the following question: What is the hardness for the alloy that is liquid at 243 degrees C? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (hardness VARCHAR, liquid_at__°c_ VARCHAR) | SELECT hardness FROM table_name_45 WHERE liquid_at__°c_ = "243" |
Write a SQL query that answers the following question: What is the Sn/Sb percentage that is liquid at 258 degrees C? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (sn_sb___percentage_ VARCHAR, liquid_at__°c_ VARCHAR) | SELECT sn_sb___percentage_ FROM table_name_4 WHERE liquid_at__°c_ = "258" |
Write a SQL query that answers the following question: What is the remelting temperature for the alloy that has a Sn/Sb ratio of 9.5/15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (remelting_at__°c_ VARCHAR, sn_sb___percentage_ VARCHAR) | SELECT remelting_at__°c_ FROM table_name_51 WHERE sn_sb___percentage_ = "9.5/15" |
Write a SQL query that answers the following question: What is the casting temperature for the alloy with hardness 21? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (casting_at__°c_ VARCHAR, hardness VARCHAR) | SELECT casting_at__°c_ FROM table_name_98 WHERE hardness = "21" |
Write a SQL query that answers the following question: What's the most laps when grid is 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (laps INTEGER, grid VARCHAR) | SELECT MAX(laps) FROM table_name_93 WHERE grid = 16 |
Write a SQL query that answers the following question: How many laps were there for a grid of 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (laps VARCHAR, grid VARCHAR) | SELECT COUNT(laps) FROM table_name_35 WHERE grid = 13 |
Write a SQL query that answers the following question: How many weeks had an attendance at 69,149? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (week VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_12 WHERE attendance = "69,149" |
Write a SQL query that answers the following question: On what date did week 6 occur? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_40 WHERE week = 6 |
Write a SQL query that answers the following question: Who was the opponent on December 18, 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_80 WHERE date = "december 18, 2005" |
Write a SQL query that answers the following question: What is the result/score for the match report recap on week 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (result_score VARCHAR, match_report VARCHAR, week VARCHAR) | SELECT result_score FROM table_name_25 WHERE match_report = "recap" AND week = 14 |
Write a SQL query that answers the following question: How many weeks have w 51-29 as the result/score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (week INTEGER, result_score VARCHAR) | SELECT SUM(week) FROM table_name_34 WHERE result_score = "w 51-29" |
Write a SQL query that answers the following question: What is the result/score that has 6-5 as the record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (result_score VARCHAR, record VARCHAR) | SELECT result_score FROM table_name_45 WHERE record = "6-5" |
Write a SQL query that answers the following question: Which match report has l 7-30 as the result/score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (match_report VARCHAR, result_score VARCHAR) | SELECT match_report FROM table_name_98 WHERE result_score = "l 7-30" |
Write a SQL query that answers the following question: Which game site has a recap as the match report for week 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (game_site VARCHAR, match_report VARCHAR, week VARCHAR) | SELECT game_site FROM table_name_84 WHERE match_report = "recap" AND week = 7 |
Write a SQL query that answers the following question: Which shooter's time is more than 8.97 and has a year prior to 2013? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (shooter VARCHAR, time VARCHAR, year VARCHAR) | SELECT shooter FROM table_name_56 WHERE time > 8.97 AND year < 2013 |
Write a SQL query that answers the following question: What country was the race in on April 27? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (country VARCHAR, date VARCHAR) | SELECT country FROM table_name_53 WHERE date = "april 27" |
Write a SQL query that answers the following question: What is the name of the team leading on August 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (team VARCHAR, date VARCHAR) | SELECT team FROM table_name_6 WHERE date = "august 17" |
Write a SQL query that answers the following question: What is the highest Ranking Round Rank for Russia with a Final Rank over 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (ranking_round_rank INTEGER, nation VARCHAR, final_rank VARCHAR) | SELECT MAX(ranking_round_rank) FROM table_name_3 WHERE nation = "russia" AND final_rank > 11 |
Write a SQL query that answers the following question: Which Music has a Points Jury of 18 (5,5,4,4)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (music VARCHAR, points_jury VARCHAR) | SELECT music FROM table_name_32 WHERE points_jury = "18 (5,5,4,4)" |
Write a SQL query that answers the following question: What is the Music if the Dance is Jive? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (music VARCHAR, dance VARCHAR) | SELECT music FROM table_name_75 WHERE dance = "jive" |
Write a SQL query that answers the following question: What is the Music for Team anna guzik & rafał kamiński that has a Points Jury of 24 (7,5,6,6)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (music VARCHAR, team VARCHAR, points_jury VARCHAR) | SELECT music FROM table_name_35 WHERE team = "anna guzik & rafał kamiński" AND points_jury = "24 (7,5,6,6)" |
Write a SQL query that answers the following question: Which Music has a Dance of Modern? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (music VARCHAR, dance VARCHAR) | SELECT music FROM table_name_79 WHERE dance = "modern" |
Write a SQL query that answers the following question: What is the Points Jury for Dance pop? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (points_jury VARCHAR, dance VARCHAR) | SELECT points_jury FROM table_name_39 WHERE dance = "pop" |
Write a SQL query that answers the following question: Which Place has a Points Jury of 34 (7,8,9,10)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (place VARCHAR, points_jury VARCHAR) | SELECT place FROM table_name_78 WHERE points_jury = "34 (7,8,9,10)" |
Write a SQL query that answers the following question: What is the 2013 press freedom index of the country Egypt? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (country VARCHAR) | SELECT 2013 AS _press_freedom_index FROM table_name_20 WHERE country = "egypt" |
Write a SQL query that answers the following question: What is the 2013 index of economic freedom of Slovenia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (country VARCHAR) | SELECT 2013 AS _index_of_economic_freedom FROM table_name_22 WHERE country = "slovenia" |
Write a SQL query that answers the following question: Which League Cup that has a Total of 19 and a League smaller than 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (league INTEGER, total VARCHAR) | SELECT AVG(league) AS Cup FROM table_name_87 WHERE total = 19 AND league < 15 |
Write a SQL query that answers the following question: For what country is the skip Andy Kapp? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (country VARCHAR, skip VARCHAR) | SELECT country FROM table_name_49 WHERE skip = "andy kapp" |
Write a SQL query that answers the following question: Who is the second on the North America team for which Cathy Overton-Clapham the third? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (second VARCHAR, team VARCHAR, third VARCHAR) | SELECT second FROM table_name_10 WHERE team = "north america" AND third = "cathy overton-clapham" |
Write a SQL query that answers the following question: Who is the lead of the team from Lockerbie? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (lead VARCHAR, home VARCHAR) | SELECT lead FROM table_name_81 WHERE home = "lockerbie" |
Write a SQL query that answers the following question: What is the name of the team from Stirling? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (team VARCHAR, home VARCHAR) | SELECT team FROM table_name_70 WHERE home = "stirling" |
Write a SQL query that answers the following question: Who is the lead on the Europe team that has a Liudmila Privivkova as the skip? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (lead VARCHAR, team VARCHAR, skip VARCHAR) | SELECT lead FROM table_name_18 WHERE team = "europe" AND skip = "liudmila privivkova" |
Write a SQL query that answers the following question: Who is the second of the North America team from Edmonton, Canada? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (second VARCHAR, home VARCHAR, team VARCHAR, country VARCHAR) | SELECT second FROM table_name_58 WHERE team = "north america" AND country = "canada" AND home = "edmonton" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.