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 "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );. Question: "Who was the winning constructor at the circuit of parioli?". [/INST] SELECT "winning_constructor" FROM "other_grands_prix" WHERE "circuit"='parioli';</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 "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );. Question: "When did Gaspare Bona win the Pozzo Circuit?". [/INST] SELECT "date" FROM "other_grands_prix" WHERE "winning_driver"='gaspare bona' AND "name"='pozzo circuit';</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 "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );. Question: "Who was the winning constructor of the Grand Prix Du Salon ?". [/INST] SELECT "winning_constructor" FROM "other_grands_prix" WHERE "name"='grand prix du salon';</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 "other_grands_prix" ( "name" text, "circuit" text, "date" text, "winning_driver" text, "winning_constructor" text, "report" text );. Question: "Which circuit did françois eysermann win ?". [/INST] SELECT "circuit" FROM "other_grands_prix" WHERE "winning_driver"='françois eysermann';</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 largest silver with Gold larger than 4, a Nation of united states, and a Total larger than 26?". [/INST] SELECT MAX("silver") FROM "medal_table" WHERE "gold">4 AND "nation"='united states' AND "total">26;</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: "How many silvers have a Nation of hungary, and a Rank larger than 10?". [/INST] SELECT COUNT("silver") FROM "medal_table" WHERE "nation"='hungary' AND "rank">10;</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: "Which silver has a Gold smaller than 12, a Rank smaller than 5, and a Bronze of 5?". [/INST] SELECT "silver" FROM "medal_table" WHERE "gold"<12 AND "rank"<5 AND "bronze"=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, "attendance" real, "record" text );. Question: "Who did they play on August 12?". [/INST] SELECT "opponent" FROM "game_log" WHERE "date"='august 12';</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 "coach_fleet" ( "year_built" text, "builder" text, "model" text, "fleet_id" text, "seats" real );. Question: "Which model has 175 seats?". [/INST] SELECT "model" FROM "coach_fleet" WHERE "seats"=175;</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 "coach_fleet" ( "year_built" text, "builder" text, "model" text, "fleet_id" text, "seats" real );. Question: "In what year was the ctc-3 model built?". [/INST] SELECT "year_built" FROM "coach_fleet" WHERE "model"='ctc-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 "coach_fleet" ( "year_built" text, "builder" text, "model" text, "fleet_id" text, "seats" real );. Question: "How many seats does the BTC-5 model have?". [/INST] SELECT SUM("seats") FROM "coach_fleet" WHERE "model"='btc-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 "coach_fleet" ( "year_built" text, "builder" text, "model" text, "fleet_id" text, "seats" real );. Question: "For the train built in 2012 with less than 179 seats, what is the Fleet ID?". [/INST] SELECT "fleet_id" FROM "coach_fleet" WHERE "year_built"='2012' AND "seats"<179;</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" text, "record" text );. Question: "What was the record at the game attended by 10,389?". [/INST] SELECT "record" FROM "game_log" WHERE "attendance"='10,389';</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" text, "record" text );. Question: "What was the score of the game that had a loss of Drese (2-2)?". [/INST] SELECT "score" FROM "game_log" WHERE "loss"='drese (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, "attendance" text, "record" text );. Question: "What is the score of the game attended by 25,034?". [/INST] SELECT "score" FROM "game_log" WHERE "attendance"='25,034';</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, "tournament" text, "venue" text, "result" text, "extra" text );. Question: "How often are the Olympic games hosted?". [/INST] SELECT AVG("year") FROM "achievements" WHERE "tournament"='olympic games';</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, "tournament" text, "venue" text, "result" text, "extra" text );. Question: "Where was the 1984 Olympics hosted?". [/INST] SELECT "tournament" FROM "achievements" WHERE "year"=1984;</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 "hockey_hall_of_fame" ( "year_of_issue" real, "theme" text, "composition" text, "issue_price" text, "mintage" text );. Question: "How many years was the issue price $19.95?". [/INST] SELECT COUNT("year_of_issue") FROM "hockey_hall_of_fame" WHERE "issue_price"='$19.95';</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 "hockey_hall_of_fame" ( "year_of_issue" real, "theme" text, "composition" text, "issue_price" text, "mintage" text );. Question: "Which composition has an issue price of $99.00?". [/INST] SELECT "composition" FROM "hockey_hall_of_fame" WHERE "issue_price"='$99.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 "season_by_season" ( "season" text, "tier" real, "league" text, "turkish_cup" text, "european_competitions" text );. Question: "Tier of 2, and a Season of 2000–01 is what European competitions?". [/INST] SELECT "european_competitions" FROM "season_by_season" WHERE "tier"=2 AND "season"='2000–01';</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 "season_by_season" ( "season" text, "tier" real, "league" text, "turkish_cup" text, "european_competitions" text );. Question: "Season of 2012–13 is what league?". [/INST] SELECT "league" FROM "season_by_season" WHERE "season"='2012–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 "season_by_season" ( "season" text, "tier" real, "league" text, "turkish_cup" text, "european_competitions" text );. Question: "Tier of 2, and a Season of 2004–05 is what European competitions?". [/INST] SELECT "european_competitions" FROM "season_by_season" WHERE "tier"=2 AND "season"='2004–05';</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 "copper_mining_today" ( "rank" real, "mine" text, "county" text, "operator" text, "source_of_copper" text, "2012_cu_production_lbs" real );. Question: "Which operator has a rank of 7?". [/INST] SELECT "operator" FROM "copper_mining_today" WHERE "rank"=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 "copper_mining_today" ( "rank" real, "mine" text, "county" text, "operator" text, "source_of_copper" text, "2012_cu_production_lbs" real );. Question: "What's the lowest ranking source of copper, copper ore, concentrated and leached?". [/INST] SELECT MIN("rank") FROM "copper_mining_today" WHERE "source_of_copper"='copper ore, concentrated and leached';</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 "copper_mining_today" ( "rank" real, "mine" text, "county" text, "operator" text, "source_of_copper" text, "2012_cu_production_lbs" real );. Question: "What's the name of the operator who has the mission complex mine and has a 2012 Cu Production (lbs) larger than 23.3?". [/INST] SELECT "operator" FROM "copper_mining_today" WHERE "2012_cu_production_lbs">23.3 AND "mine"='mission complex';</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 "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text );. Question: "What was Stéphan Perrot rank average?". [/INST] SELECT AVG("rank") FROM "semifinal_1" WHERE "name"='stéphan perrot';</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 "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text );. Question: "What was Maxim Podoprigora's lowest rank?". [/INST] SELECT MIN("rank") FROM "semifinal_1" WHERE "name"='maxim podoprigora';</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 "west_indies_in_south_africa" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text );. Question: "Who is the away captain for Kingsmead?". [/INST] SELECT "away_captain" FROM "west_indies_in_south_africa" WHERE "venue"='kingsmead';</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_versions" ( "country" text, "name" text, "host" text, "channel" text, "prize" text, "first_year_aired" text );. Question: "What was the first year that had a prize of 50,000?". [/INST] SELECT "first_year_aired" FROM "international_versions" WHERE "prize"='50,000';</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_versions" ( "country" text, "name" text, "host" text, "channel" text, "prize" text, "first_year_aired" text );. Question: "What year did Zone Rouge first air?". [/INST] SELECT "first_year_aired" FROM "international_versions" WHERE "name"='zone rouge';</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_versions" ( "country" text, "name" text, "host" text, "channel" text, "prize" text, "first_year_aired" text );. Question: "What was the host of Horrid Henry?". [/INST] SELECT "host" FROM "international_versions" WHERE "country"='horrid henry';</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 "vessels_of_the_class" ( "ship" text, "launched" real, "location" text, "speed" text, "fate" text );. Question: "What is the average launch date of the vmv-1 vessel in Germany?". [/INST] SELECT AVG("launched") FROM "vessels_of_the_class" WHERE "location"='germany' AND "ship"='vmv-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 "lone_star_series" ( "date" text, "winning_team" text, "score" text, "winning_pitcher" text, "losing_pitcher" text, "attendance" real, "location" text );. Question: "Which location has a date of may 21?". [/INST] SELECT "location" FROM "lone_star_series" WHERE "date"='may 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 "mac_kenzie_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );. Question: "What is the total Decile that has a state authority, fairlie area and roll smarter than 206?". [/INST] SELECT COUNT("decile") FROM "mac_kenzie_district" WHERE "authority"='state' AND "area"='fairlie' AND "roll"<206;</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 "mac_kenzie_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );. Question: "What area is named Mackenzie college?". [/INST] SELECT "area" FROM "mac_kenzie_district" WHERE "name"='mackenzie college';</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 "winningest_coaches_by_wins" ( "coach" text, "club" text, "wins" real, "loss" real, "pct" real, "pts" real );. Question: "What is the highest percent of Bruce Arena when he loses more than 11 games?". [/INST] SELECT MAX("pts") FROM "winningest_coaches_by_wins" WHERE "coach"='bruce arena' AND "loss">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 "winningest_coaches_by_wins" ( "coach" text, "club" text, "wins" real, "loss" real, "pct" real, "pts" real );. Question: "What is the sum of points when Bruce Arena has 21 wins?". [/INST] SELECT SUM("pts") FROM "winningest_coaches_by_wins" WHERE "wins"=21 AND "coach"='bruce arena';</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 "itf_circuit_singles_finals_6_3_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );. Question: "What was the outcome of the game played on 19-Sep-2006?". [/INST] SELECT "outcome" FROM "itf_circuit_singles_finals_6_3_3" WHERE "date"='19-sep-2006';</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 "itf_circuit_singles_finals_6_3_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );. Question: "Where was the tournament played on Oct. 8, 2006?". [/INST] SELECT "tournament" FROM "itf_circuit_singles_finals_6_3_3" WHERE "date"='oct. 8, 2006';</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 "itf_circuit_singles_finals_6_3_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );. Question: "What is the final score of the tournament played in Clearwater, Florida?". [/INST] SELECT "score" FROM "itf_circuit_singles_finals_6_3_3" WHERE "tournament"='clearwater, florida';</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 "itf_circuit_singles_finals_6_3_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );. Question: "What is the score of the game that was played against Maria Kondratieva?". [/INST] SELECT "score" FROM "itf_circuit_singles_finals_6_3_3" WHERE "opponent"='maria kondratieva';</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 "itf_circuit_singles_finals_6_3_3" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text );. Question: "What was the surface of the game that resulted in a final score of 6-1 7-5?". [/INST] SELECT "surface" FROM "itf_circuit_singles_finals_6_3_3" WHERE "score"='6-1 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 "summary" ( "game" real, "date" text, "score" text, "location" text, "time" text, "attendance" real );. Question: "What was the Attendance when the Time was 2:13?". [/INST] SELECT MIN("attendance") FROM "summary" WHERE "time"='2: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 attendance when the record was 77-54?". [/INST] SELECT MIN("attendance") FROM "game_log" WHERE "record"='77-54';</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 "best_bowling_figures" ( "player" text, "overs" real, "figures" text, "opponent" text, "ground" text );. Question: "What did Xavier Doherty (Tasmania) set as his highest Overs?". [/INST] SELECT MAX("overs") FROM "best_bowling_figures" WHERE "player"='xavier doherty (tasmania)';</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_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "What country does Tiger Woods play for?". [/INST] SELECT "country" FROM "final_leaderboard" WHERE "player"='tiger woods';</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_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "What place did the player from England come in?". [/INST] SELECT "place" FROM "final_leaderboard" WHERE "country"='england';</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 "1980s" ( "year" real, "english_title" text, "original_title" text, "country" text, "director_s" text );. Question: "What's the English Title of Fanny Och Alexander?". [/INST] SELECT "english_title" FROM "1980s" WHERE "original_title"='fanny och alexander';</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 "1980s" ( "year" real, "english_title" text, "original_title" text, "country" text, "director_s" text );. Question: "What was the original title that was directed by Alain Resnais in France before 1986?". [/INST] SELECT "original_title" FROM "1980s" WHERE "year"<1986 AND "country"='france' AND "director_s"='alain resnais';</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 "1980s" ( "year" real, "english_title" text, "original_title" text, "country" text, "director_s" text );. Question: "What was the year of Megáll az Idö?". [/INST] SELECT "year" FROM "1980s" WHERE "original_title"='megáll az idö';</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" ( "name" text, "gp_gs" text, "effic" real, "att_cmp_int" text, "avg_g" real );. Question: "Avg/G smaller than 225.5, and a GP-GS of 8–0 has what name?". [/INST] SELECT "name" FROM "passing" WHERE "avg_g"<225.5 AND "gp_gs"='8–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 "passing" ( "name" text, "gp_gs" text, "effic" real, "att_cmp_int" text, "avg_g" real );. Question: "Avg/G that has a GP-GS of 13–13, and a Effic smaller than 114.23 has what total of numbers?". [/INST] SELECT COUNT("avg_g") FROM "passing" WHERE "gp_gs"='13–13' AND "effic"<114.23;</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" ( "name" text, "gp_gs" text, "effic" real, "att_cmp_int" text, "avg_g" real );. Question: "Avg/G of 2.7 is what effic?". [/INST] SELECT "effic" FROM "passing" WHERE "avg_g"=2.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 "passing" ( "name" text, "gp_gs" text, "effic" real, "att_cmp_int" text, "avg_g" real );. Question: "Avg/G that has a Att-Cmp-Int of 1–1–0, and an Effic larger than 394 is what total?". [/INST] SELECT COUNT("avg_g") FROM "passing" WHERE "att_cmp_int"='1–1–0' AND "effic">394;</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 "selwyn_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );. Question: "Which area has a Decile of 9, and a Roll of 31?". [/INST] SELECT "area" FROM "selwyn_district" WHERE "decile"=9 AND "roll"=31;</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 "selwyn_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );. Question: "How many deciles have Years of 9–13?". [/INST] SELECT COUNT("decile") FROM "selwyn_district" WHERE "years"='9–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 "selwyn_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );. Question: "What is the name with a Decile less than 10, and a Roll of 297?". [/INST] SELECT "name" FROM "selwyn_district" WHERE "decile"<10 AND "roll"=297;</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 "selwyn_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );. Question: "Which name has a Roll larger than 297, and Years of 7–13?". [/INST] SELECT "name" FROM "selwyn_district" WHERE "roll">297 AND "years"='7–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 "selwyn_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );. Question: "Which years have a Name of ladbrooks school?". [/INST] SELECT "years" FROM "selwyn_district" WHERE "name"='ladbrooks school';</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 "selwyn_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real );. Question: "What is the total of the roll with a Decile of 8, and an Area of hororata?". [/INST] SELECT SUM("roll") FROM "selwyn_district" WHERE "decile"=8 AND "area"='hororata';</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 "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real );. Question: "What is the highest number of laps that also has a finish total of 8?". [/INST] SELECT MAX("laps") FROM "indy_500_results" WHERE "finish"='8';</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 "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real );. Question: "Which qual also has a finish total of 9?". [/INST] SELECT "qual" FROM "indy_500_results" WHERE "finish"='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 "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real );. Question: "Which qual has both 200 total laps and took place in 1957?". [/INST] SELECT "qual" FROM "indy_500_results" WHERE "laps"=200 AND "year"='1957';</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 "winners" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text );. Question: "Who won the men's doubles the year Pernille Nedergaard won the women's singles?". [/INST] SELECT "men_s_doubles" FROM "winners" WHERE "women_s_singles"='pernille nedergaard';</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 "amd_xxx" ( "model" text, "code_name" text, "cpu_support" text, "fsb_ht_m_hz" text, "southbridge" text );. Question: "What is the code name when the Southbridge shows as amd-766, via-vt82c686b?". [/INST] SELECT "code_name" FROM "amd_xxx" WHERE "southbridge"='amd-766, via-vt82c686b';</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 "amd_xxx" ( "model" text, "code_name" text, "cpu_support" text, "fsb_ht_m_hz" text, "southbridge" text );. Question: "What is the Southbridge when the CPU support was athlon, athlonxp, duron( socketa ), alpha21264?". [/INST] SELECT "southbridge" FROM "amd_xxx" WHERE "cpu_support"='athlon, athlonxp, duron( socketa ), alpha21264';</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 "amd_xxx" ( "model" text, "code_name" text, "cpu_support" text, "fsb_ht_m_hz" text, "southbridge" text );. Question: "What is the code name when the FSB / HT (MHz) is 100 (fsb)?". [/INST] SELECT "code_name" FROM "amd_xxx" WHERE "fsb_ht_m_hz"='100 (fsb)';</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 "amd_xxx" ( "model" text, "code_name" text, "cpu_support" text, "fsb_ht_m_hz" text, "southbridge" text );. Question: "What is the FSB / HT (MHz) when the Southbridge is amd-8131 amd-8132?". [/INST] SELECT "fsb_ht_m_hz" FROM "amd_xxx" WHERE "southbridge"='amd-8131 amd-8132';</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 "amd_xxx" ( "model" text, "code_name" text, "cpu_support" text, "fsb_ht_m_hz" text, "southbridge" text );. Question: "What shows for Southbridge when the Model number is amd-640 chipset?". [/INST] SELECT "southbridge" FROM "amd_xxx" WHERE "model"='amd-640 chipset';</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 "sports" ( "sport" text, "league" text, "tier" text, "club" text, "stadium" text );. Question: "Which stadium is for football with the China League One?". [/INST] SELECT "stadium" FROM "sports" WHERE "sport"='football' AND "league"='china league one';</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 "sports" ( "sport" text, "league" text, "tier" text, "club" text, "stadium" text );. Question: "Which tier is for football at Tianhe Stadium?". [/INST] SELECT "tier" FROM "sports" WHERE "sport"='football' AND "stadium"='tianhe stadium';</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 "llws_results" ( "year" real, "champion" text, "city" text, "llws" text, "record" text );. Question: "Which Little League World Series took place in Parsippany?". [/INST] SELECT "llws" FROM "llws_results" WHERE "city"='parsippany';</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 "eastern_division" ( "year" real, "florida" text, "georgia" text, "kentucky" text, "south_carolina" text, "tennessee" text, "vanderbilt" text );. Question: "What is the Tennessee that Georgia of kevin butler is in?". [/INST] SELECT "tennessee" FROM "eastern_division" WHERE "georgia"='kevin butler';</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 "eastern_division" ( "year" real, "florida" text, "georgia" text, "kentucky" text, "south_carolina" text, "tennessee" text, "vanderbilt" text );. Question: "What is the Tennessee with a Kentucky of Larry Seiple". [/INST] SELECT "tennessee" FROM "eastern_division" WHERE "kentucky"='larry seiple';</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 "eastern_division" ( "year" real, "florida" text, "georgia" text, "kentucky" text, "south_carolina" text, "tennessee" text, "vanderbilt" text );. Question: "What is the total Year of jeff van note ( Kentucky)". [/INST] SELECT SUM("year") FROM "eastern_division" WHERE "kentucky"='jeff van note';</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 "five_abreast_cabin" ( "model" text, "seats" text, "period" text, "built" real, "country" text );. Question: "How many cabins were built in the time between 1967-1987?". [/INST] SELECT "built" FROM "five_abreast_cabin" WHERE "period"='1967-1987';</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 "five_abreast_cabin" ( "model" text, "seats" text, "period" text, "built" real, "country" text );. Question: "Between which years were there 241 fokker 70 model cabins built?". [/INST] SELECT "period" FROM "five_abreast_cabin" WHERE "built"<241 AND "model"='fokker 70';</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 "works_team_results" ( "year" real, "chassis" text, "engine_s" text, "tyres" text, "points" text );. Question: "Name the sum of year for engine of brm p202 3.0 v12 brm p200 3.0 v12". [/INST] SELECT SUM("year") FROM "works_team_results" WHERE "engine_s"='brm p202 3.0 v12 brm p200 3.0 v12';</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 "works_team_results" ( "year" real, "chassis" text, "engine_s" text, "tyres" text, "points" text );. Question: "Name the chassis for 1970 and tyres of d". [/INST] SELECT "chassis" FROM "works_team_results" WHERE "tyres"='d' AND "year"=1970;</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 "works_team_results" ( "year" real, "chassis" text, "engine_s" text, "tyres" text, "points" text );. Question: "Name the point for 1974". [/INST] SELECT "points" FROM "works_team_results" WHERE "year"=1974;</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 "works_team_results" ( "year" real, "chassis" text, "engine_s" text, "tyres" text, "points" text );. Question: "Name the chassis of 1961". [/INST] SELECT "chassis" FROM "works_team_results" WHERE "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 "isc_tracks" ( "track_name" text, "location" text, "length" text, "seating" real, "year_opened" real, "year_acquired_a" real );. Question: "What is the year opened for Chicagoland Speedway with a seating smaller than 75,000?". [/INST] SELECT AVG("year_opened") FROM "isc_tracks" WHERE "track_name"='chicagoland speedway' AND "seating"<'75,000';</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 "most_expensive_celebrity_photographs" ( "type" text, "person_s" text, "publisher_s" text, "publication_date" text, "reported_price" text );. Question: "What type of photos of Angelina Jolie cost $500,000?". [/INST] SELECT "type" FROM "most_expensive_celebrity_photographs" WHERE "reported_price"='$500,000' AND "person_s"='angelina jolie';</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 "most_expensive_celebrity_photographs" ( "type" text, "person_s" text, "publisher_s" text, "publication_date" text, "reported_price" text );. Question: "What was the publication date of the photos of Sean Preston Federline that cost $500,000 and were published by People?". [/INST] SELECT "publication_date" FROM "most_expensive_celebrity_photographs" WHERE "reported_price"='$500,000' AND "publisher_s"='people' AND "person_s"='sean preston federline';</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 "stage_results" ( "date" text, "course" text, "distance" text, "winner" text, "race_leader" text );. Question: "Who won on 28 May?". [/INST] SELECT "winner" FROM "stage_results" WHERE "date"='28 may';</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 "references" ( "country" text, "film_title_used_in_nomination" text, "language" text, "original_name" text, "director" text );. Question: "Which country is the film Tent of Miracles from?". [/INST] SELECT "country" FROM "references" WHERE "film_title_used_in_nomination"='tent of miracles';</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 "references" ( "country" text, "film_title_used_in_nomination" text, "language" text, "original_name" text, "director" text );. Question: "Which country is the director Roland Verhavert from?". [/INST] SELECT "country" FROM "references" WHERE "director"='roland verhavert';</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 "references" ( "country" text, "film_title_used_in_nomination" text, "language" text, "original_name" text, "director" text );. Question: "What is the title of the German film that is originally called Mama, Ich Lebe?". [/INST] SELECT "film_title_used_in_nomination" FROM "references" WHERE "language"='german' AND "original_name"='mama, ich lebe';</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 "references" ( "country" text, "film_title_used_in_nomination" text, "language" text, "original_name" text, "director" text );. Question: "Which director is from Italy?". [/INST] SELECT "director" FROM "references" WHERE "country"='italy';</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 "references" ( "country" text, "film_title_used_in_nomination" text, "language" text, "original_name" text, "director" text );. Question: "Where is the director Dariush Mehrjui from?". [/INST] SELECT "country" FROM "references" WHERE "director"='dariush mehrjui';</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 "series_1" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" real, "investing_dragon_s" text );. Question: "Who were the Investing Dragons in the episode that first aired on 18 January 2005 with the entrepreneur Tracey Herrtage?". [/INST] SELECT "investing_dragon_s" FROM "series_1" WHERE "first_aired"='18 january 2005' AND "entrepreneur_s"='tracey herrtage';</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 "series_1" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" real, "investing_dragon_s" text );. Question: "What is the average money requested in the episode first aired on 18 January 2005 by the company/product name IV Cam". [/INST] SELECT AVG("money_requested") FROM "series_1" WHERE "first_aired"='18 january 2005' AND "company_or_product_name"='iv cam';</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 "towns_with_more_than_1_000_population" ( "rank" real, "population" real, "name" text, "former_name" text, "municipality" text );. Question: "What is the population for Rank 11?". [/INST] SELECT "population" FROM "towns_with_more_than_1_000_population" WHERE "rank"=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 "towns_with_more_than_1_000_population" ( "rank" real, "population" real, "name" text, "former_name" text, "municipality" text );. Question: "Who has a former name of nordprøven?". [/INST] SELECT "name" FROM "towns_with_more_than_1_000_population" WHERE "former_name"='nordprøven';</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 "reformations_and_conversions" ( "units" text, "type" text, "period_used" text, "formed_from" text, "trailers" text );. Question: "Name the trailers for formed from pan/pul/res cars". [/INST] SELECT "trailers" FROM "reformations_and_conversions" WHERE "formed_from"='pan/pul/res cars';</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 "reformations_and_conversions" ( "units" text, "type" text, "period_used" text, "formed_from" text, "trailers" text );. Question: "Name the typed for formed from 6-pul trailer third in res unit". [/INST] SELECT "type" FROM "reformations_and_conversions" WHERE "formed_from"='6-pul trailer third in res unit';</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 "reformations_and_conversions" ( "units" text, "type" text, "period_used" text, "formed_from" text, "trailers" text );. Question: "Name the formed that has type of 4-cor". [/INST] SELECT "formed_from" FROM "reformations_and_conversions" WHERE "type"='4-cor';</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: "Who lost with a time of 2:42?". [/INST] SELECT "loss" FROM "game_log" WHERE "time"='2:42';</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: "Who lost on August 27?". [/INST] SELECT "loss" FROM "game_log" WHERE "date"='august 27';</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 "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real );. Question: "Which of the biggest points numbers had a year more recent than 1953?". [/INST] SELECT MAX("points") FROM "complete_formula_one_world_championship_" WHERE "year">1953;</s>