text
stringlengths
411
1.74k
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "domestic" ( "city" text, "province_region" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "In what country is Hokkaidō and New Chitose airport located?". [/INST] SELECT "country" FROM "domestic" WHERE "province_region"='hokkaidō' AND "airport"='new chitose airport';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "domestic" ( "city" text, "province_region" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "In what country is Hiroshima Airport located?". [/INST] SELECT "country" FROM "domestic" WHERE "airport"='hiroshima airport';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "domestic" ( "city" text, "province_region" text, "country" text, "iata" text, "icao" text, "airport" text );. Question: "What is the ICAO of Nakashibetsu?". [/INST] SELECT "icao" FROM "domestic" WHERE "city"='nakashibetsu';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2011_2012_table" ( "club" text, "played" text, "drawn" text, "lost" text, "try_bp" text, "losing_bp" text );. Question: "What is the total number of games lost when 22 have been played, the losing BP number is 2, and the club is Merthyr RFC?". [/INST] SELECT "lost" FROM "2011_2012_table" WHERE "played"='22' AND "losing_bp"='2' AND "club"='merthyr rfc';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2011_2012_table" ( "club" text, "played" text, "drawn" text, "lost" text, "try_bp" text, "losing_bp" text );. Question: "What is the number drawn when 3 have been lost?". [/INST] SELECT "drawn" FROM "2011_2012_table" WHERE "lost"='3';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2011_2012_table" ( "club" text, "played" text, "drawn" text, "lost" text, "try_bp" text, "losing_bp" text );. Question: "What is the number drawn when the try BP is 1?". [/INST] SELECT "drawn" FROM "2011_2012_table" WHERE "try_bp"='1';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2011_2012_table" ( "club" text, "played" text, "drawn" text, "lost" text, "try_bp" text, "losing_bp" text );. Question: "What is the try BP when the losing BP is 4 and the club is Bargoed RFC?". [/INST] SELECT "try_bp" FROM "2011_2012_table" WHERE "losing_bp"='4' AND "club"='bargoed rfc';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2011_2012_table" ( "club" text, "played" text, "drawn" text, "lost" text, "try_bp" text, "losing_bp" text );. Question: "What is the club that has played 22 rounds, has a drawn score of 0, has lost 14, and whose losing BP is 5?". [/INST] SELECT "club" FROM "2011_2012_table" WHERE "played"='22' AND "drawn"='0' AND "lost"='14' AND "losing_bp"='5';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "total" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What average Total has a Rank of 3 and a Bronze award larger than 3?". [/INST] SELECT AVG("total") FROM "total" WHERE "rank"='3' AND "bronze">3;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "total" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What average Total has a Gold award of 13 and a Bronze award less than 13?". [/INST] SELECT AVG("total") FROM "total" WHERE "gold"=13 AND "bronze"<13;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "total" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the average Gold award that has a Silver award greater than 2, and a Bronze award less than 13, and a Total greater than 24?". [/INST] SELECT AVG("gold") FROM "total" WHERE "silver">2 AND "bronze"<13 AND "total">24;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );. Question: "What is the record number of the game where Guardado lost?". [/INST] SELECT "record" FROM "game_log" WHERE "loss"='guardado';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );. Question: "What was the lowest attendance recorded at a game on September 28?". [/INST] SELECT MIN("attendance") FROM "game_log" WHERE "date"='september 28';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the average gold that has a total of 2 and more than 1 bronze.". [/INST] SELECT AVG("gold") FROM "medal_table" WHERE "total"=2 AND "bronze">1;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );. Question: "What is the 2006 result of the Canada Masters tournament that is A in 2009 and A in 2010?". [/INST] SELECT "2006" FROM "singles_performance_timeline" WHERE "2010"='a' AND "2009"='a' AND "tournament"='canada masters';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );. Question: "What is the result for 2006 of a tournament that is 107 in 2010?". [/INST] SELECT "2006" FROM "singles_performance_timeline" WHERE "2010"='107';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );. Question: "What is the 2010 result of a tournament that is A in 2006 and A in 2011?". [/INST] SELECT "2010" FROM "singles_performance_timeline" WHERE "2011"='a' AND "2006"='a';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );. Question: "What is the 2012 result of a tournament that is 2R in 2007, 1R in 2008 and 1R in 2009?". [/INST] SELECT "2012" FROM "singles_performance_timeline" WHERE "2009"='1r' AND "2008"='1r' AND "2007"='2r';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );. Question: "What is the 2010 result of a tournament that is 1R in 2009, Q2 in 2011 and 1R in 2012?". [/INST] SELECT "2010" FROM "singles_performance_timeline" WHERE "2011"='q2' AND "2012"='1r' AND "2009"='1r';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pre_season_tournaments_and_friendlies" ( "match" real, "date" text, "tournament" text, "location" text, "opponent_team" text, "score" text );. Question: "What match number took place on August 3, 2007?". [/INST] SELECT MAX("match") FROM "pre_season_tournaments_and_friendlies" WHERE "date"='august 3, 2007';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mixed_doubles_performance_timeline" ( "tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );. Question: "What is the 2010 value of the 2013 Grand Slam Tournaments?". [/INST] SELECT "2010" FROM "mixed_doubles_performance_timeline" WHERE "2013"='grand slam tournaments';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mixed_doubles_performance_timeline" ( "tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );. Question: "What is the 2012 value with A in 2007 and qf in 2011?". [/INST] SELECT "2012" FROM "mixed_doubles_performance_timeline" WHERE "2007"='a' AND "2011"='qf';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mixed_doubles_performance_timeline" ( "tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );. Question: "What is the 2012 value with a 1r in 2011 in the Australian Open?". [/INST] SELECT "2012" FROM "mixed_doubles_performance_timeline" WHERE "2011"='1r' AND "tournament"='australian open';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mixed_doubles_performance_timeline" ( "tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );. Question: "What is the 2013 value with a qf in 2011?". [/INST] SELECT "2013" FROM "mixed_doubles_performance_timeline" WHERE "2011"='qf';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mixed_doubles_performance_timeline" ( "tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );. Question: "What is the 2007 value at the 2012 Grand Slam Tournaments?". [/INST] SELECT "2007" FROM "mixed_doubles_performance_timeline" WHERE "2012"='grand slam tournaments';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "mixed_doubles_performance_timeline" ( "tournament" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text );. Question: "Which tournament had a qf in 2011?". [/INST] SELECT "tournament" FROM "mixed_doubles_performance_timeline" WHERE "2011"='qf';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "passing_rates" ( "exam" text, "2006_first_time" text, "2006_all" text, "2007_first_time" text, "2007_all" text, "2008_first_time" text, "2008_all" text, "2009_first_time" text, "2009_all" text, "2010_first_time" text, "2011_first_time" text, "2012_first_time" text );. Question: "What is the 2009 first time percentage of the mg general science 5-9 exam with a 2008 first time percentage of 54%?". [/INST] SELECT "2009_first_time" FROM "passing_rates" WHERE "2008_first_time"='54%' AND "exam"='mg general science 5-9';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "passing_rates" ( "exam" text, "2006_first_time" text, "2006_all" text, "2007_first_time" text, "2007_all" text, "2008_first_time" text, "2008_all" text, "2009_first_time" text, "2009_all" text, "2010_first_time" text, "2011_first_time" text, "2012_first_time" text );. Question: "What is the 2008 all percentage of the exam with a 2007 first time percentage of 74%?". [/INST] SELECT "2008_all" FROM "passing_rates" WHERE "2007_first_time"='74%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "passing_rates" ( "exam" text, "2006_first_time" text, "2006_all" text, "2007_first_time" text, "2007_all" text, "2008_first_time" text, "2008_all" text, "2009_first_time" text, "2009_all" text, "2010_first_time" text, "2011_first_time" text, "2012_first_time" text );. Question: "What is the 2009 first time percentage of the exam with a 2010 first time percentage of 88%?". [/INST] SELECT "2009_first_time" FROM "passing_rates" WHERE "2010_first_time"='88%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "passing_rates" ( "exam" text, "2006_first_time" text, "2006_all" text, "2007_first_time" text, "2007_all" text, "2008_first_time" text, "2008_all" text, "2009_first_time" text, "2009_all" text, "2010_first_time" text, "2011_first_time" text, "2012_first_time" text );. Question: "What is the 2009 all percentage of the exam with a 2007 first time percentage of 49%?". [/INST] SELECT "2009_all" FROM "passing_rates" WHERE "2007_first_time"='49%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "passing_rates" ( "exam" text, "2006_first_time" text, "2006_all" text, "2007_first_time" text, "2007_all" text, "2008_first_time" text, "2008_all" text, "2009_first_time" text, "2009_all" text, "2010_first_time" text, "2011_first_time" text, "2012_first_time" text );. Question: "What is the 2006 first time percentage of the exam witha 2009 all percentage of 62%?". [/INST] SELECT "2006_first_time" FROM "passing_rates" WHERE "2009_all"='62%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "passing_rates" ( "exam" text, "2006_first_time" text, "2006_all" text, "2007_first_time" text, "2007_all" text, "2008_first_time" text, "2008_all" text, "2009_first_time" text, "2009_all" text, "2010_first_time" text, "2011_first_time" text, "2012_first_time" text );. Question: "What is the 2006 first time percentage of the exam with a 2009 all percentage of 72% and a 2007 first time percentage of 85%?". [/INST] SELECT "2006_first_time" FROM "passing_rates" WHERE "2009_all"='72%' AND "2007_first_time"='85%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text );. Question: "What was the score for the 2014 FIFA World Cup Qual. competition?". [/INST] SELECT "score" FROM "international_goals" WHERE "competition"='2014 fifa world cup qual.';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "coaches" ( "name" text, "period" text, "matches" real, "wins" real, "draws" real, "losses" real, "efficiency_pct" text );. Question: "What is the highest number of matches with less than 2 draws that had an efficiency percent of 25%?". [/INST] SELECT MAX("matches") FROM "coaches" WHERE "draws"<2 AND "efficiency_pct"='25%';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "coaches" ( "name" text, "period" text, "matches" real, "wins" real, "draws" real, "losses" real, "efficiency_pct" text );. Question: "What is the total number of Draws with less than 4 matches?". [/INST] SELECT COUNT("draws") FROM "coaches" WHERE "matches"<4;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "analogue_radio_programmes" ( "program" text, "frequency_m_hz" real, "erp_k_w" real, "polarisation" text, "antenna_diagram_around_nd_directional_d" text );. Question: "What is the average MHz Frequency of radio rezonans?". [/INST] SELECT AVG("frequency_m_hz") FROM "analogue_radio_programmes" WHERE "program"='radio rezonans';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "time" text, "att" text, "record" text );. Question: "What date shows a Loss of lilly (2–2)?". [/INST] SELECT "date" FROM "game_log" WHERE "loss"='lilly (2–2)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "time" text, "att" text, "record" text );. Question: "What is the loss when the time was 3:16, and a Record of 15–15?". [/INST] SELECT "loss" FROM "game_log" WHERE "time"='3:16' AND "record"='15–15';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "time" text, "att" text, "record" text );. Question: "What team was the opponent when the time was 2:57, and a Score of 7–5?". [/INST] SELECT "opponent" FROM "game_log" WHERE "time"='2:57' AND "score"='7–5';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "time" text, "att" text, "record" text );. Question: "What date was the loss of ponson (4–3)?". [/INST] SELECT "date" FROM "game_log" WHERE "loss"='ponson (4–3)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "time" text, "att" text, "record" text );. Question: "What date was the loss of sparks (0–1)?". [/INST] SELECT "date" FROM "game_log" WHERE "loss"='sparks (0–1)';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text );. Question: "What is the position of the competition in Tampere, Finland?". [/INST] SELECT "position" FROM "achievements" WHERE "venue"='tampere, finland';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "montenegro_versus_other_countries" ( "wins" real, "draws" real, "losses" real, "goal_difference" text, "total" real );. Question: "What is the lowest total that has draws less than 2 and wins less than 1, losses bigger than 1 with a goal difference of 1:2". [/INST] SELECT MIN("total") FROM "montenegro_versus_other_countries" WHERE "draws"<2 AND "wins"<1 AND "goal_difference"='1:2' AND "losses">1;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "montenegro_versus_other_countries" ( "wins" real, "draws" real, "losses" real, "goal_difference" text, "total" real );. Question: "What is the average number of draws that have a total of 1 and a goal difference of 2:0?". [/INST] SELECT AVG("draws") FROM "montenegro_versus_other_countries" WHERE "total"=1 AND "goal_difference"='2:0';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "montenegro_versus_other_countries" ( "wins" real, "draws" real, "losses" real, "goal_difference" text, "total" real );. Question: "What is the lowest number of draws that have a goal difference of 0:2 and wins greater than 0?". [/INST] SELECT MIN("draws") FROM "montenegro_versus_other_countries" WHERE "goal_difference"='0:2' AND "wins">0;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "year_by_year" ( "year" text, "league" text, "reg_season" text, "playoffs" text, "avg_attendance" text );. Question: "What regular season had an average attendance of 1,242?". [/INST] SELECT "reg_season" FROM "year_by_year" WHERE "avg_attendance"='1,242';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "year_by_year" ( "year" text, "league" text, "reg_season" text, "playoffs" text, "avg_attendance" text );. Question: "What league has an average attendance of 244?". [/INST] SELECT "league" FROM "year_by_year" WHERE "avg_attendance"='244';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );. Question: "On what date was the opponent the White Sox and the record 18-13?". [/INST] SELECT "date" FROM "game_log" WHERE "opponent"='white sox' AND "record"='18-13';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );. Question: "What was the average attendance when the record was 19-13?". [/INST] SELECT AVG("attendance") FROM "game_log" WHERE "record"='19-13';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text );. Question: "What was the Loss when the opponent was the Rangers and the attendance was greater than 43,211?". [/INST] SELECT "loss" FROM "game_log" WHERE "opponent"='rangers' AND "attendance">'43,211';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "single_performance_statistics" ( "tournament" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );. Question: "What was the 2012 result associated with a 2007 finish of 2R and a 2009 of 1R?". [/INST] SELECT "2012" FROM "single_performance_statistics" WHERE "2007"='2r' AND "2009"='1r';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "single_performance_statistics" ( "tournament" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );. Question: "What was the 2009 result associated with a 2012 of 1R and a 2007 of 2R?". [/INST] SELECT "2009" FROM "single_performance_statistics" WHERE "2012"='1r' AND "2007"='2r';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "single_performance_statistics" ( "tournament" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );. Question: "What was the 2008 result associated with a 2009 of A and a 2011 of 2R?". [/INST] SELECT "2008" FROM "single_performance_statistics" WHERE "2009"='a' AND "2011"='2r';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "single_performance_statistics" ( "tournament" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text );. Question: "In which tournament did Pauline Parmentier finish LQ in 2007?". [/INST] SELECT "tournament" FROM "single_performance_statistics" WHERE "2007"='lq';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "foreign_players" ( "country" text, "player_name" text, "period" text, "position" text, "matches" text, "goals" text );. Question: "Name the player name with matches of 51". [/INST] SELECT "player_name" FROM "foreign_players" WHERE "matches"='51';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "foreign_players" ( "country" text, "player_name" text, "period" text, "position" text, "matches" text, "goals" text );. Question: "Name the position for brazil 2008 with goals of 0 1". [/INST] SELECT "position" FROM "foreign_players" WHERE "country"='brazil' AND "period"='2008' AND "goals"='0 1';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "foreign_players" ( "country" text, "player_name" text, "period" text, "position" text, "matches" text, "goals" text );. Question: "Name the goals with matches of 21". [/INST] SELECT "goals" FROM "foreign_players" WHERE "matches"='21';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "foreign_players" ( "country" text, "player_name" text, "period" text, "position" text, "matches" text, "goals" text );. Question: "Name the period with matches of 0 0 of portugal". [/INST] SELECT "period" FROM "foreign_players" WHERE "matches"='0 0' AND "country"='portugal';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "fa_cup" ( "date" text, "round" text, "opponents" text, "result_f_a" text, "attendance" real );. Question: "Name the opponents for round of round 5". [/INST] SELECT "opponents" FROM "fa_cup" WHERE "round"='round 5';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "fa_cup" ( "date" text, "round" text, "opponents" text, "result_f_a" text, "attendance" real );. Question: "Name the attendance for 4 january 2004". [/INST] SELECT "attendance" FROM "fa_cup" WHERE "date"='4 january 2004';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "fa_cup" ( "date" text, "round" text, "opponents" text, "result_f_a" text, "attendance" real );. Question: "Name the most attendance for 25 january 2004". [/INST] SELECT MAX("attendance") FROM "fa_cup" WHERE "date"='25 january 2004';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "knockout_phase" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real );. Question: "What is the average Attendance for the final round?". [/INST] SELECT AVG("attendance") FROM "knockout_phase" WHERE "round"='final';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "knockout_phase" ( "date" text, "round" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real );. Question: "What is the smallest number of people to attend a game with an H/A of h and the opponent was Roma?". [/INST] SELECT MIN("attendance") FROM "knockout_phase" WHERE "h_a"='h' AND "opponents"='roma';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "number_of_chapters_per_point_of_view_cha" ( "pov_character" text, "game" text, "clash" text, "storm" text, "feast" text, "dance" text );. Question: "Which game does the quentyn martell have?". [/INST] SELECT "game" FROM "number_of_chapters_per_point_of_view_cha" WHERE "pov_character"='quentyn martell';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "number_of_chapters_per_point_of_view_cha" ( "pov_character" text, "game" text, "clash" text, "storm" text, "feast" text, "dance" text );. Question: "Which storm has a clash of 3 and a dance of 4?". [/INST] SELECT "storm" FROM "number_of_chapters_per_point_of_view_cha" WHERE "dance"='4' AND "clash"='3';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2007" ( "sydney" text, "melbourne" text, "perth" text, "adelaide" text, "gold_coast" text, "auckland" text );. Question: "Name the melbourne with perth, adelaide and auckland of no with sydney of yes". [/INST] SELECT "melbourne" FROM "2007" WHERE "perth"='no' AND "adelaide"='no' AND "auckland"='no' AND "sydney"='yes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2007" ( "sydney" text, "melbourne" text, "perth" text, "adelaide" text, "gold_coast" text, "auckland" text );. Question: "Name the gold coast which has an auckland of no and melbourne of yes". [/INST] SELECT "gold_coast" FROM "2007" WHERE "auckland"='no' AND "melbourne"='yes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2007" ( "sydney" text, "melbourne" text, "perth" text, "adelaide" text, "gold_coast" text, "auckland" text );. Question: "Name the sydney with perth of no, adelaide of no with melbourne of yes and gold coast of yes". [/INST] SELECT "sydney" FROM "2007" WHERE "perth"='no' AND "adelaide"='no' AND "melbourne"='yes' AND "gold_coast"='yes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2007" ( "sydney" text, "melbourne" text, "perth" text, "adelaide" text, "gold_coast" text, "auckland" text );. Question: "Name the Adelaide for Sydney of yes and Perth of yes". [/INST] SELECT "adelaide" FROM "2007" WHERE "sydney"='yes' AND "perth"='yes';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "2007" ( "sydney" text, "melbourne" text, "perth" text, "adelaide" text, "gold_coast" text, "auckland" text );. Question: "Name the melbourne for adelaide of no with auckland of yes and gold coast of yes". [/INST] SELECT "melbourne" FROM "2007" WHERE "adelaide"='no' AND "auckland"='yes' AND "gold_coast"='no';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "population" ( "year" real, "population_region_total" real, "population_stanthorpe" real, "population_warwick" real, "population_allora" real, "population_glengallan" real, "population_rosenthal" real );. Question: "What is the total population of Rosenthal that's less than 24,300 for the population and has a population for Glengallan less than 3,410?". [/INST] SELECT SUM("population_rosenthal") FROM "population" WHERE "population_region_total"<'24,300' AND "population_glengallan"<'3,410';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "population" ( "year" real, "population_region_total" real, "population_stanthorpe" real, "population_warwick" real, "population_allora" real, "population_glengallan" real, "population_rosenthal" real );. Question: "What is the greatest Rosenthal poulation for a region that has 30,554 people and a Glegallan population less than 4,088?". [/INST] SELECT MAX("population_rosenthal") FROM "population" WHERE "population_region_total"='30,554' AND "population_glengallan"<'4,088';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "population" ( "year" real, "population_region_total" real, "population_stanthorpe" real, "population_warwick" real, "population_allora" real, "population_glengallan" real, "population_rosenthal" real );. Question: "How many people are there for Glengallan having a Rosenthal population less than 1,582 for years before 1976 with a total population of 25,917?". [/INST] SELECT COUNT("population_glengallan") FROM "population" WHERE "population_rosenthal"<'1,582' AND "year"<1976 AND "population_region_total"='25,917';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "population" ( "year" real, "population_region_total" real, "population_stanthorpe" real, "population_warwick" real, "population_allora" real, "population_glengallan" real, "population_rosenthal" real );. Question: "How many people live in an area that has a population in Rosenthal smaller than 2,460 while having a population of 4,639 for Glegallan as well as having an Allora population greater than 2,106?". [/INST] SELECT COUNT("population_region_total") FROM "population" WHERE "population_rosenthal"<'2,460' AND "population_glengallan"='4,639' AND "population_allora">'2,106';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "population" ( "year" real, "population_region_total" real, "population_stanthorpe" real, "population_warwick" real, "population_allora" real, "population_glengallan" real, "population_rosenthal" real );. Question: "When were the years on which warwick had a population greater than 10,956 and allora had a population bigger than 2,439?". [/INST] SELECT SUM("year") FROM "population" WHERE "population_warwick"='10,956' AND "population_allora">'2,439';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "population" ( "year" real, "population_region_total" real, "population_stanthorpe" real, "population_warwick" real, "population_allora" real, "population_glengallan" real, "population_rosenthal" real );. Question: "How many people in Stanthorpe had a population matching Rosenthan of 1,553 and a population greater than 25,917?". [/INST] SELECT COUNT("population_stanthorpe") FROM "population" WHERE "population_rosenthal"='1,553' AND "population_region_total">'25,917';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_ministers_for_energy" ( "minister" text, "party" text, "start_date" text, "end_date" text, "prime_minister" text );. Question: "Who is the Prime Minister of Antoine Wehenkel?". [/INST] SELECT "prime_minister" FROM "list_of_ministers_for_energy" WHERE "minister"='antoine wehenkel';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real );. Question: "What is the least amount of wins earlier than 1964 with more than 7 points?". [/INST] SELECT MIN("wins") FROM "motorcycle_grand_prix_results" WHERE "year"<1964 AND "points">7;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real );. Question: "What is the least points for class 125cc with 1 win earlier than 1961?". [/INST] SELECT MIN("points") FROM "motorcycle_grand_prix_results" WHERE "class"='125cc' AND "wins"=1 AND "year"<1961;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real );. Question: "What is the number of wins when there are 7 points?". [/INST] SELECT "wins" FROM "motorcycle_grand_prix_results" WHERE "points"=7;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real );. Question: "What is the least amount of points when there is 1 win?". [/INST] SELECT MIN("points") FROM "motorcycle_grand_prix_results" WHERE "wins"=1;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_table" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );. Question: "What club has more than 35 goals, more than 7 draws, and 20 losses?". [/INST] SELECT "club" FROM "final_table" WHERE "goals_for">35 AND "draws">7 AND "losses"=20;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_table" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );. Question: "How many goals have more than 38 played and more than 9 draws?". [/INST] SELECT SUM("goals_for") FROM "final_table" WHERE "draws">9 AND "played">38;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_table" ( "position" real, "club" text, "played" real, "points" text, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real );. Question: "How many losses has more than 59 goals against and more than 17 position?". [/INST] SELECT MIN("losses") FROM "final_table" WHERE "goals_against">59 AND "position">17;</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "women" ( "event" text, "time" text, "nationality" text, "date" text, "meet" text, "location" text );. Question: "On what Date was the Meet of 2007 Pan American Games with a Time of 1:07.78?". [/INST] SELECT "date" FROM "women" WHERE "meet"='2007 pan american games' AND "time"='1:07.78';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "women" ( "event" text, "time" text, "nationality" text, "date" text, "meet" text, "location" text );. Question: "What Nationality's time is 2:07.64?". [/INST] SELECT "nationality" FROM "women" WHERE "time"='2:07.64';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "women" ( "event" text, "time" text, "nationality" text, "date" text, "meet" text, "location" text );. Question: "What Event's Time is 4:01.00?". [/INST] SELECT "event" FROM "women" WHERE "time"='4:01.00';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "women" ( "event" text, "time" text, "nationality" text, "date" text, "meet" text, "location" text );. Question: "In what Location in the United States the Time 2:25.62?". [/INST] SELECT "location" FROM "women" WHERE "nationality"='united states' AND "time"='2:25.62';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "outdoor" ( "year" real, "record" text, "regular_season_finish" text, "playoffs" text, "avg_attendance" real );. Question: "Year larger than 1975, and a Record of 13–11 is what playoffs?". [/INST] SELECT "playoffs" FROM "outdoor" WHERE "year">1975 AND "record"='13–11';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "sunday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text, "10_30" text );. Question: "Which 9:30 has a 10:30 of le journal weekend?". [/INST] SELECT "9_30" FROM "sunday" WHERE "10_30"='le journal weekend';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "sunday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text, "10_30" text );. Question: "Which 9:00 has an 8:00 behind the movies?". [/INST] SELECT "9_00" FROM "sunday" WHERE "8_00"='behind the movies';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "sunday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text, "10_30" text );. Question: "What 10:00 has a 7:30 of da kink in my hair?". [/INST] SELECT "10_00" FROM "sunday" WHERE "7_30"='da kink in my hair';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "sunday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text, "10_30" text );. Question: "What 7:00 has a 9:30 of tout le monde en parle?". [/INST] SELECT "7_00" FROM "sunday" WHERE "9_30"='tout le monde en parle';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "sunday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text, "10_30" text );. Question: "What 7:00 has a 10:00 of dirty sexy money?". [/INST] SELECT "7_00" FROM "sunday" WHERE "10_00"='dirty sexy money';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "sunday" ( "7_00" text, "7_30" text, "8_00" text, "8_30" text, "9_00" text, "9_30" text, "10_00" text, "10_30" text );. Question: "What 10:00 has a 8:00 of movies?". [/INST] SELECT "10_00" FROM "sunday" WHERE "8_00"='movies';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "major_titles" ( "competition" text, "venue" text, "year" real, "category" text, "result" text );. Question: "What are the venues prior to 2005 in the World Class category that resulted in a bronze?". [/INST] SELECT "venue" FROM "major_titles" WHERE "year"<2005 AND "category"='world class' AND "result"='bronze';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "major_titles" ( "competition" text, "venue" text, "year" real, "category" text, "result" text );. Question: "What are the competitions that occurred before 2006 in SVK Nitra?". [/INST] SELECT "competition" FROM "major_titles" WHERE "year"<2006 AND "venue"='svk nitra';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "major_titles" ( "competition" text, "venue" text, "year" real, "category" text, "result" text );. Question: "What are the categories of events that occurred after 2007 that were World Championships?". [/INST] SELECT "category" FROM "major_titles" WHERE "year">2007 AND "competition"='world championships';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "major_titles" ( "competition" text, "venue" text, "year" real, "category" text, "result" text );. Question: "What was the result of events held at Nor Elverum, prior to 2010?". [/INST] SELECT "result" FROM "major_titles" WHERE "year"<2010 AND "venue"='nor elverum';</s>
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "major_titles" ( "competition" text, "venue" text, "year" real, "category" text, "result" text );. Question: "What was the competition held in 2003?". [/INST] SELECT "competition" FROM "major_titles" WHERE "year"=2003;</s>