text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real ); Question: Which game did Curtis Borchardt play with more than 274 rebounds? <|assistant|> SELECT SUM("games")...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real ); Question: In game 34 Curtis Borchardt played on which team with less than 275 rebounds? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real ); Question: How many rebounds occurred in a rank 4 game? <|assistant|> SELECT "rebounds" FROM "rebounds" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real ); Question: Which game did was Bud Eley a player in? <|assistant|> SELECT "games" FROM "rebounds" WHERE "name"=...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rebounds" ( "rank" real, "name" text, "team" text, "games" real, "rebounds" real ); Question: Which game did Bruesa GBC play in with fewer than 275 rebounds that is ranked less than 4? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: What is the grid for johnny herbert? <|assistant|> SELECT "grid" FROM "race" WHERE "driver"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "biggest_third_week_domestic_nett_gross_e" ( "rank" real, "movie" text, "year" real, "studio_s" text, "third_week_nett_gross" real ); Question: Tell me the average rank for dharma productions be...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "biggest_third_week_domestic_nett_gross_e" ( "rank" real, "movie" text, "year" real, "studio_s" text, "third_week_nett_gross" real ); Question: Name the average year for 4 rank <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "biggest_third_week_domestic_nett_gross_e" ( "rank" real, "movie" text, "year" real, "studio_s" text, "third_week_nett_gross" real ); Question: Name the lowest rank for red chillies entertainmen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Which date did richmond play as away? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real ); Question: What is the rank for the player with 5 wins and under 32 events? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real ); Question: What is the rank for the player with over $1,627,890? <|assistant|> SELECT COUN...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "events" real, "wins" real ); Question: What is the rank for the player with over 2 wins and under $1,162,581 in earnin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "land_sea_and_rail_transportation_series" ( "year" real, "theme" text, "artist" text, "mintage" text, "issue_price" text ); Question: What is the issue price of a Year 2000 coin by artist John M...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "land_sea_and_rail_transportation_series" ( "year" real, "theme" text, "artist" text, "mintage" text, "issue_price" text ); Question: What is the theme of the Year 2002 which was created by Arti...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "land_sea_and_rail_transportation_series" ( "year" real, "theme" text, "artist" text, "mintage" text, "issue_price" text ); Question: What artist had a mintage of 41,828 before year 2002? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "land_sea_and_rail_transportation_series" ( "year" real, "theme" text, "artist" text, "mintage" text, "issue_price" text ); Question: A mintage of 31,997 has what issue price? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "manufacturers" ( "year" text, "builder" text, "motors" text, "trailers" text, "control_trailers" text ); Question: Tell me the control trailers for 52 motors <|assistant|> SELECT "control_trail...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "manufacturers" ( "year" text, "builder" text, "motors" text, "trailers" text, "control_trailers" text ); Question: Name the year for mcwf and control trailers of 35 <|assistant|> SELECT "year" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "manufacturers" ( "year" text, "builder" text, "motors" text, "trailers" text, "control_trailers" text ); Question: I want the trailers for 1931 and builder of mccw <|assistant|> SELECT "trailer...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "manufacturers" ( "year" text, "builder" text, "motors" text, "trailers" text, "control_trailers" text ); Question: I want the control trailers for 1931 with builder of grcw <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "manufacturers" ( "year" text, "builder" text, "motors" text, "trailers" text, "control_trailers" text ); Question: I want the trailers for motors of 145 <|assistant|> SELECT "trailers" FROM "ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "core_county_population_statistics" ( "county" text, "1900" real, "1930" real, "1950" real, "2000" real, "2006_est" real ); Question: What is the 1930 population when the 2006 est. is less tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "core_county_population_statistics" ( "county" text, "1900" real, "1930" real, "1950" real, "2000" real, "2006_est" real ); Question: What is the highest 1930 population when the 2000 populati...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real ); Question: Tell me the sum of wins for top 5 less than 1 <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real ); Question: I want the average events for top 10 less than 4 <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real ); Question: Name the highest cuts made when top 5 is less than 3 and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real ); Question: I want the most top 25 when events are more than 20 and t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text, "attendance" real, "record" text ); Question: What was the Attendance on April 28? <|assistant|> SELECT SUM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dvd_releases" ( "dvd_name" text, "released" text, "audio" text, "aspect_ratio" text, "duration" text, "number_of_episodes" real, "num_of_discs" real ); Question: What was escape to river co...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "dvd_releases" ( "dvd_name" text, "released" text, "audio" text, "aspect_ratio" text, "duration" text, "number_of_episodes" real, "num_of_discs" real ); Question: What DVD has a time of 2 ho...
<|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: What was the date for the game in week 7? <|assistant|> SELECT "date" FROM "schedule" WHERE ...
<|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: On what date was the attendance of the crowd 78,431? <|assistant|> SELECT "date" FROM "sched...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: What was the date of the Capitals game when Columbus was t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: The 2002 African Cup of Nations was held on what date? <|assistant|> SELECT "date"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: Which competition took place at Stade Fernand Fournier, Arles? <|assistant|> SELEC...
<|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 attendance of the game where...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "gold_plated_proof_silver_dollars" ( "year" real, "theme" text, "artist" text, "mintage" text, "issue_price" text ); Question: Which artist created the silver dollar for the 400th anniversary of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "gold_plated_proof_silver_dollars" ( "year" real, "theme" text, "artist" text, "mintage" text, "issue_price" text ); Question: Which year did the Royal Canadian Mint Staff create a silver dollar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "gold_plated_proof_silver_dollars" ( "year" real, "theme" text, "artist" text, "mintage" text, "issue_price" text ); Question: How many coins by Suzanne Duranceau were minted? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What was the method for the r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: Who was the opponent during t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text, "location" text ); Question: What was the method for the r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_derby_del_sole_results" ( "season" text, "match" text, "result" text, "league" text, "date" text ); Question: What is the league on 5 October 1997? <|assistant|> SELECT "league" FROM "l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_derby_del_sole_results" ( "season" text, "match" text, "result" text, "league" text, "date" text ); Question: Which season was on 30 October 1977? <|assistant|> SELECT "season" FROM "li...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_derby_del_sole_results" ( "season" text, "match" text, "result" text, "league" text, "date" text ); Question: What season had the Roma-Napoli match on 12 September 1993? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_rugby_world_cup_squads" ( "player" text, "position" text, "date_of_birth_age" text, "caps" real, "club_province" text ); Question: What club/province for the player with over 18 caps and p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: What driver has less than 18 laps and a grid number under 16? <|assistant|> SELECT "driver"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: Who constructed the car with laps more than 70 and a time/retired of +12.535? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: What was Alexander Wurz's highest laps when he has a grid less than 14 and a time/retired o...
<|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: Who was Footscray's opponent on June 15th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kensington_lakes_activities_association" ( "team" text, "location" text, "joined" real, "conference" text, "division" text, "previous_conference" text ); Question: Which team is located in We...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "kensington_lakes_activities_association" ( "team" text, "location" text, "joined" real, "conference" text, "division" text, "previous_conference" text ); Question: What was the most recent ye...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text ); Question: What was the race ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text ); Question: What was the pole ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text ); Question: Who won the austra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text ); Question: What was the pole ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_six_urea_cycle_disorders" ( "location" text, "abb" text, "enzyme" text, "disorder" text, "measurements" text ); Question: What is the enzyme involved in the disorder of Ornithine Transcarba...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_six_urea_cycle_disorders" ( "location" text, "abb" text, "enzyme" text, "disorder" text, "measurements" text ); Question: What lab measurements can help diagnosie ornithine transcarbamylase...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_six_urea_cycle_disorders" ( "location" text, "abb" text, "enzyme" text, "disorder" text, "measurements" text ); Question: What is the abbreviation of the enzyme involved in carbamoyl phosph...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text ); Question: what is the venue when the home team is melbourne? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text ); Question: who is the away team when the away team score is 10.12 (7...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text ); Question: what is the date when the home team is st kilda? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text ); Question: what is the date when the venue is junction oval? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text ); Question: What is the home team score when played at mcg? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_7" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "date" text ); Question: who is the away team when played at junction oval? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "petrol_engines" ( "model" text, "cylinders_valves" text, "displacement_cc" real, "max_power_k_w_ps_at_rpm" text, "max_torque_nm_at_rpm" text, "engine_code" text, "top_speed_km_h" real, "pr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "petrol_engines" ( "model" text, "cylinders_valves" text, "displacement_cc" real, "max_power_k_w_ps_at_rpm" text, "max_torque_nm_at_rpm" text, "engine_code" text, "top_speed_km_h" real, "pr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_drivers" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text ); Question: How many rounds did Ken Wharton go? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_drivers" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text ); Question: What driver has a 166 c 500 chassis? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "maungakiekie_tamaki_local_board" ( "name" text, "years" text, "area" text, "authority" text, "decile" text, "roll" real ); Question: What is the Onehunga school with a decile 3 and smaller th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "maungakiekie_tamaki_local_board" ( "name" text, "years" text, "area" text, "authority" text, "decile" text, "roll" real ); Question: What is the authority status of the school in Ellerslie wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "maungakiekie_tamaki_local_board" ( "name" text, "years" text, "area" text, "authority" text, "decile" text, "roll" real ); Question: What is the biggest roll number of Sylvia Park School, whi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "maungakiekie_tamaki_local_board" ( "name" text, "years" text, "area" text, "authority" text, "decile" text, "roll" real ); Question: What is the name of the school with a decile of 1, a state...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nhl_coins" ( "year" real, "theme" text, "artist" text, "issue_price" real, "special_notes" text ); Question: What is the special notes value for years under 2009? <|assistant|> SELECT "special_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nhl_coins" ( "year" real, "theme" text, "artist" text, "issue_price" real, "special_notes" text ); Question: How many years have a theme of Toronto Maple Leafs and an Issue Price of 24.95? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text, "team" text ); Question: Who was the winner for the Winton Motor Raceway circuit? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text, "team" text ); Question: What was the team that held the race title of Mallala? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: Name the driver for Laps less than 9 and a grid of 13 <|assistant|> SELECT "driver" FROM "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "years" text, "winners" text, "runners_up" text, "score" text, "third" text ); Question: Who was the winner in the competition in which the runner-up was Rosenborg? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "years" text, "winners" text, "runners_up" text, "score" text, "third" text ); Question: What was the year of the competition in which Odd Grenland was the runner-up? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "years" text, "winners" text, "runners_up" text, "score" text, "third" text ); Question: Who was the winner in the competition in which Lyn took third place and Lillestrøm was the ru...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text ); Question: What was the repor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text ); Question: What date was the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text ); Question: What was the repor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text ); Question: What was the repor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text ); Question: Who was the winner...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text ); Question: Who had the fastes...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2701_2800" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text ); Question: Which Object type has a Constellation of cancer? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2701_2800" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text ); Question: Which NGC number has a Constellation of ursa major?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2701_2800" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text ); Question: Which Constellation has a NGC number smaller than 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2701_2800" ( "ngc_number" real, "object_type" text, "constellation" text, "right_ascension_j2000" text, "declination_j2000" text ); Question: Which Object type has a NGC number of 2787? <|assis...
<|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 is the average crowd size for an aw...
<|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: Where did St KIlda play their away game?...
<|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: Which team scored 14.14 (98) at an away ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "production_history" ( "country" text, "2005_capacity" text, "2006_capacity" text, "2007_capacity" text, "2008_capacity" text, "2009_capacity" text, "2010_capacity" text, "2011_capacity" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: What is the score when Philadelphia was the visitor ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "original_broadway_production" ( "year" real, "award" text, "category" text, "nominee" text, "result" text ); Question: What was nominee nominated for outstanding featured actor in a musical? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "original_broadway_production" ( "year" real, "award" text, "category" text, "nominee" text, "result" text ); Question: What is the result of nominee, Patricia McGourty, for the drama desk award...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "original_broadway_production" ( "year" real, "award" text, "category" text, "nominee" text, "result" text ); Question: What year was Patricia Mcgourty nominated for a Tony award? <|assistant|> ...