text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "batting_averages" ( "player" text, "matches" real, "inns" real, "runs" real, "high_score" real, "average" real, "catches" real, "stump" real ); Question: What is the total number of runs ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "batting_averages" ( "player" text, "matches" real, "inns" real, "runs" real, "high_score" real, "average" real, "catches" real, "stump" real ); Question: What is the smallest average for ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text ); Question: Which city is the host of the University of Texas? <|assistant|> SELECT "city" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text ); Question: In which region is the Thompson-Boling arena located? <|assistant|> SELECT "region" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text ); Question: Who is the host in the city of Philadelphia? <|assistant|> SELECT "host" FROM "first_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text ); Question: Which city in the mideast region is the hot of Temple University? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_and_second_rounds" ( "region" text, "host" text, "venue" text, "city" text, "state" text ); Question: Which city is the University of Montana located in? <|assistant|> SELECT "city" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the away team score at Hawthorn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who went to Geelong to play? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who did Collingwood play at home? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When did an away team score 7.8 (50)? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_density" ( "rank" text, "state" text, "population" real, "area_km" real, "density" real ); Question: What population has an area (km²) of 62,848 and a density less than 37.7? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_density" ( "rank" text, "state" text, "population" real, "area_km" real, "density" real ); Question: Which population is the greatest, has a density of 20.3, and an area (km²) larger than 50...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "by_density" ( "rank" text, "state" text, "population" real, "area_km" real, "density" real ); Question: The state of Aguascalientes has an area (km²) larger than 151,571 and a density greater t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who was the home team at the game held a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Where was the game held when Fitzroy was...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: How many people attended the Rams game against the Kansas City Chiefs? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: What is China's IATA? <|assistant|> SELECT "iata" FROM "references" WHERE "country"='china';<|en...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: Where is the City of Douala? <|assistant|> SELECT "country" FROM "references" WHERE "city"='doua...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: Which airport is in South Africa and has a ICAO fajs? <|assistant|> SELECT "airport" FROM "refer...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: What is Cuba's ICAO? <|assistant|> SELECT "icao" FROM "references" WHERE "country"='cuba';<|endo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "city" text, "country" text, "iata" text, "icao" text, "airport" text ); Question: What is Angola's airport and ICAO of fnsa? <|assistant|> SELECT "airport" FROM "references" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_9" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What team plays at home at Windy Hill? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_9" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the size of the crowd that saw t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_9" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was Footscray's score as an away tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_9" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the home teams score agains the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What day is richmond the away side? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who is the home team when hawthorn is th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scratchers" ( "game_name" text, "price" text, "top_prize" text, "launch_date" text, "odds_of_winning" text ); Question: What is the name of the game with odds of winning 1 in 4.23 with a top pr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scratchers" ( "game_name" text, "price" text, "top_prize" text, "launch_date" text, "odds_of_winning" text ); Question: What is the launch date odds of winning 1 in 4.23 with a top prize of $15...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scratchers" ( "game_name" text, "price" text, "top_prize" text, "launch_date" text, "odds_of_winning" text ); Question: What is the launch date odds of winning 1 in 4.54? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scratchers" ( "game_name" text, "price" text, "top_prize" text, "launch_date" text, "odds_of_winning" text ); Question: What is the launch date odds of winning 1 in 4.44? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scratchers" ( "game_name" text, "price" text, "top_prize" text, "launch_date" text, "odds_of_winning" text ); Question: What is the name of the game with a top prize of $888? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scratchers" ( "game_name" text, "price" text, "top_prize" text, "launch_date" text, "odds_of_winning" text ); Question: What is the top price of $1 with a launch date on February 12, 2008? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_3_results" ( "name" text, "team" text, "laps" real, "grid" real, "points" real ); Question: What is the highest number of laps when there are less than 5 points for team garry rogers motor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_3_results" ( "name" text, "team" text, "laps" real, "grid" real, "points" real ); Question: What is the name of the driver who went 46 laps had less than 9 points and had a grid number und...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_finals" ( "year" real, "winner" text, "score" text, "runner_up" text, "finals_venue_surface" text, "city" text ); Question: Where was the 1966 final played? <|assistant|> SELECT "fina...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_and_lowest_scoring_performances" ( "dance" text, "best_dancer" text, "best_score" real, "worst_dancer" text, "worst_score" real ); Question: What is the average Worst score for Mario Lo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_and_lowest_scoring_performances" ( "dance" text, "best_dancer" text, "best_score" real, "worst_dancer" text, "worst_score" real ); Question: What is the highest Best score for the Dance...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_and_lowest_scoring_performances" ( "dance" text, "best_dancer" text, "best_score" real, "worst_dancer" text, "worst_score" real ); Question: Who is the Best dancer with the Worst dancer...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "averages" ( "rank_by_average" real, "place" real, "couple" text, "total_points" real, "number_of_dances" real, "average" real ); Question: How many dances placed below 1 with a point total of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "averages" ( "rank_by_average" real, "place" real, "couple" text, "total_points" real, "number_of_dances" real, "average" real ); Question: What is the lowest number of dances with a rank larg...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "averages" ( "rank_by_average" real, "place" real, "couple" text, "total_points" real, "number_of_dances" real, "average" real ); Question: What is the lowest number of dances with a less than...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "europe_pool_a" ( "club" text, "played" real, "lost" real, "drawn" real, "against" real, "diff" real, "points" real ); Question: What is the total difference for teams that played less than ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "europe_pool_a" ( "club" text, "played" real, "lost" real, "drawn" real, "against" real, "diff" real, "points" real ); Question: What is the highest number of games played for teams that los...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "europe_pool_a" ( "club" text, "played" real, "lost" real, "drawn" real, "against" real, "diff" real, "points" real ); Question: How many games lost for team(s) with less than 4 paints and a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_by_game_results" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: What week was the game that had an attendance of 24,242? <|assistant|> SELECT "w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_by_game_results" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: What was the attendance of the game that had a score of l 35–14? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_by_game_results" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: When was the pre-Week 10 game that had an attendance of over 38,865? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2006_in_sports" ( "date" text, "event" text, "alternate_name_s" text, "location" text, "attendance" text, "ppv_buyrate" text ); Question: Which Location has a PPV Buyrate of 775,000? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Where did Geelong play as the away team? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the away team's score against Ha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the largest crowd when the home ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What as the home team that scored 18.15 (...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the away team that scored 6.13 (...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When Fitzroy was the home team, what was...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: On what date did the home team score 5.8...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: How big was the largest crowd recorded a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: How big was the crowd at the match where...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the average crowd size at all ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: At what venue did the match where the ho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "exhibition_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What is the smallest attendance in week 1? <|assistant|> SELECT MIN("attendance")...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "exhibition_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What is the larges week for the date august 9, 1968 and less than 64,020 in atte...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "exhibition_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What is the smallest attendance number for august 9, 1968? <|assistant|> SELECT M...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "exhibition_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What was the result of the game on august 30, 1968? <|assistant|> SELECT "result"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "broadcast_translators_of_wbfj_fm" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "facility_id" real, "erp_w" real, "height_m_ft" text, "class" text, "fcc_info" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "broadcast_translators_of_wbfj_fm" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "facility_id" real, "erp_w" real, "height_m_ft" text, "class" text, "fcc_info" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "broadcast_translators_of_wbfj_fm" ( "call_sign" text, "frequency_m_hz" real, "city_of_license" text, "facility_id" real, "erp_w" real, "height_m_ft" text, "class" text, "fcc_info" text ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "external_links" ( "rank" real, "score" real, "date" text, "player" text, "opponent" text, "minutes" real, "fgm_fga" text, "3_pm_3_pa" text, "ftm_fta" text, "off_reb" real, "def_reb" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "song" text, "release_date" text, "release_info" text, "formats" text, "album" text ); Question: Which song released on heavenly (hvn152)? <|assistant|> SELECT "song" FROM "singles" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "song" text, "release_date" text, "release_info" text, "formats" text, "album" text ); Question: Which album had a release of heavenly (hvn95)? <|assistant|> SELECT "album" FROM "sin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1997_new_england_patriots_draft_selectio" ( "round" real, "overall" real, "player" text, "position" text, "college" text ); Question: What is the sum of all the rounds when a Florida State play...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1997_new_england_patriots_draft_selectio" ( "round" real, "overall" real, "player" text, "position" text, "college" text ); Question: What is the average round in which a Safety with an overall...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" real, "gold" text, "silver" text, "bronze" text, "venue" text ); Question: Where was 2010 tournament where the United States received the silver? <|assistant|> SELECT "venue" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" real, "gold" text, "silver" text, "bronze" text, "venue" text ); Question: Where was the tournament where Finland received the bronze and the United States received the silver...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" real, "gold" text, "silver" text, "bronze" text, "venue" text ); Question: Who received the gold at the tournament at bratislava where the Czech Republic received the silver? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "year" real, "gold" text, "silver" text, "bronze" text, "venue" text ); Question: Where was the post 1991 tournament where the Czech Republic received the bronze and Russia received ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who was the away team when the home team ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who was the away team at the game at Kard...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the smallest crowd for a Melbour...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who was the home team that scored 10.12 (...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What day did the team play on week 8? <|assistant|> SELECT "date" FROM "regul...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the average size of the crowd f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: For the match with an away team score of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: For the match with a home team score of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What home team played against St Kilda? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: At what venue was South Melbourne the ho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was Hawthorn's score when they were...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: At which venue did the away team score 7...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the home team's score when they...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indicators" ( "country" text, "area_km_2010" text, "population_2011" text, "gdp_ppp_intl_2011" text, "gdp_ppp_per_capita_intl_2011" text, "income_inequality_1994_2011_latest_available" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indicators" ( "country" text, "area_km_2010" text, "population_2011" text, "gdp_ppp_intl_2011" text, "gdp_ppp_per_capita_intl_2011" text, "income_inequality_1994_2011_latest_available" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indicators" ( "country" text, "area_km_2010" text, "population_2011" text, "gdp_ppp_intl_2011" text, "gdp_ppp_per_capita_intl_2011" text, "income_inequality_1994_2011_latest_available" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indicators" ( "country" text, "area_km_2010" text, "population_2011" text, "gdp_ppp_intl_2011" text, "gdp_ppp_per_capita_intl_2011" text, "income_inequality_1994_2011_latest_available" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indicators" ( "country" text, "area_km_2010" text, "population_2011" text, "gdp_ppp_intl_2011" text, "gdp_ppp_per_capita_intl_2011" text, "income_inequality_1994_2011_latest_available" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What date did South Melbourne play as th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_18" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Where did Essendon play as the home team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "p" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text ); Question: What is the school or country for the guard from 2000? <|assistant|> SELECT "school_coun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "p" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text ); Question: What is the player from the year 2000? <|assistant|> SELECT "player" FROM "p" WHERE "fro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "p" ( "player" text, "nationality" text, "position" text, "from" text, "school_country" text ); Question: What position does the player from 2002 play? <|assistant|> SELECT "position" FROM "p" W...