text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_princesses_royal" ( "order" real, "name_dates" text, "princess_royal_from_date_to_date" text, "parent" text, "date_married" text, "husband_dates" text ); Question: Who was the husband...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "score" text, "result" text, "attendance" text, "record" text ); Question: Can you tell me the Record that has the Opponent of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "score" text, "result" text, "attendance" text, "record" text ); Question: Can you tell me the Opponent that has the Date of su...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: Which country is Scott Hoch from? <|assistant|> SELECT "country" FROM "sunday" WHERE "player"='sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sunday" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the place of the player from Spain? <|assistant|> SELECT "place" FROM "sunday" WHERE "cou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text ); Question: What is Score, when Record is 12-57? <|assistant|> SELECT "score" FROM "february" WHERE "record"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text ); Question: What is Date, when Record is 12-58? <|assistant|> SELECT "date" FROM "february" WHERE "record"='...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text ); Question: What is Score, when Date is February 5? <|assistant|> SELECT "score" FROM "february" WHERE "date...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text ); Question: What is H/A/N, when Score is 104-109? <|assistant|> SELECT "h_a_n" FROM "february" WHERE "score"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text ); Question: What is Score, when Opponent is Portland Trail Blazers, and when Record is 12-58? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text ); Question: What is H/A/N when Date is February 24? <|assistant|> SELECT "h_a_n" FROM "february" WHERE "date...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "october" real, "opponent" text, "score" text, "record" text ); Question: What is the last game of the season that has the record 0-1-0? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" real, "opponent" text, "score" text, "decision" text, "location_attendance" text, "record" text ); Question: Who had the decision goal when the date was 1? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" real, "opponent" text, "score" text, "decision" text, "location_attendance" text, "record" text ); Question: Who had the decision goal when the record was 7-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" real, "opponent" text, "score" text, "decision" text, "location_attendance" text, "record" text ); Question: What was the first game in which Weekes scored t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_points_scored_by_a_team" ( "points" real, "score" text, "premiers" text, "runners_up" text, "details" text ); Question: What's the total number of points scored during the 1951 NSWRFL Gran...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_points_scored_by_a_team" ( "points" real, "score" text, "premiers" text, "runners_up" text, "details" text ); Question: Which premier team played the 1951 NSWRFL Grand Final? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_points_scored_by_a_team" ( "points" real, "score" text, "premiers" text, "runners_up" text, "details" text ); Question: During which competition were a total of 36 points scored? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_points_scored_by_a_team" ( "points" real, "score" text, "premiers" text, "runners_up" text, "details" text ); Question: What's the total sum of points scored by the Brisbane Broncos? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_points_scored_by_a_team" ( "points" real, "score" text, "premiers" text, "runners_up" text, "details" text ); Question: What is the premier team that has 38 points and won with a score of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What was the tie no when the away team was northwich victoria? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What was the attendance for the match where cambridge united was the home t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "award" text, "year" real, "category" text, "work" text, "result" text ); Question: How many times was the award inte awards? <|assistant|> SELECT COUNT("year") FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "award" text, "year" real, "category" text, "work" text, "result" text ); Question: what is the work when the result is won and the year is after 2002? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "award" text, "year" real, "category" text, "work" text, "result" text ); Question: what is the work when the result is won and the year is before 2003? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches" ( "opposing_team" text, "against" real, "date" text, "venue" text, "status" text ); Question: Which venue had the opposing team Natal? <|assistant|> SELECT "venue" FROM "matches" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches" ( "opposing_team" text, "against" real, "date" text, "venue" text, "status" text ); Question: What day was the against 22 and the status tour match? <|assistant|> SELECT "date" FROM "m...
<|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" real ); Question: Which Attendance has a Week of 8? <|assistant|> SELECT AVG("attendance") FROM "schedule" WHE...
<|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" real ); Question: Which Opponent that has a Week smaller than 7 on september 12, 1988? <|assistant|> SELECT "o...
<|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" real ); Question: When has a Result of w 41-27? <|assistant|> SELECT "date" FROM "schedule" WHERE "result"='w ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "subnotebooks" ( "model" text, "manufacturer" text, "weight_kg" real, "display_size_in" real, "processor_model" text, "storage_type" text ); Question: Which Weight (kg) has a Manufacturer of f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "subnotebooks" ( "model" text, "manufacturer" text, "weight_kg" real, "display_size_in" real, "processor_model" text, "storage_type" text ); Question: Which Display size (in) has a Model of ve...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "subnotebooks" ( "model" text, "manufacturer" text, "weight_kg" real, "display_size_in" real, "processor_model" text, "storage_type" text ); Question: Which Display size (in) has a Model of va...
<|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 method was used in the m...
<|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: In the match against Marcus A...
<|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: Where was the Deep - 30 Impac...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fossae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" real, "year_named" real, "name_origin" text ); Question: COunt the average Diameter (km) which has ketian (yenisey r.) ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fossae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" real, "year_named" real, "name_origin" text ); Question: COunt the sum of Diameter (km) which has a Latitude of 62.7n? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fossae" ( "name" text, "latitude" text, "longitude" text, "diameter_km" real, "year_named" real, "name_origin" text ); Question: WHich Name origin has a Longitude of 332.5e? <|assistant|> SEL...
<|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: In which round was Dustin Haz...
<|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, "tv_time" text, "attendance" text ); Question: What is TV Time, when Opponent is At Cincinnati Bengals? <|assistant|> SEL...
<|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, "tv_time" text, "attendance" text ); Question: What is TV Time, when Date is December 22, 1996? <|assistant|> SELECT "tv_...
<|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, "tv_time" text, "attendance" text ); Question: What is Result, when Opponent is Cincinnati Bengals? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: What was the lowest attendance at the game against chicago...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: For Tie #2, who was the home team? <|assistant|> SELECT "home_team" FROM "second...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What was the final score for the match where Hereford United was the home team? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: In Tie #18, who was the away team? <|assistant|> SELECT "away_team" FROM "second...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: In Tie #19, what was the name of the away team? <|assistant|> SELECT "away_team"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the Tie number for the match where Dartford was the hone team? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: In the match played against Telford United, who was the home team? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "season" text, "player" text, "school" text, "position" text, "class" text ); Question: What is Position, when Class is Sophomore, and when Player is Shaquille O'Neal Category:Articl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "season" text, "player" text, "school" text, "position" text, "class" text ); Question: What is Player, when Class is "senior", when Position is "shooting guard", and when School is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "season" text, "player" text, "school" text, "position" text, "class" text ); Question: What is Position, when Player is "Kevin Durant category:articles with hCards"? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_11_6_5" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What is the Score of the match on August 23, 20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_11_6_5" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What was the Score of the Spain F32, Gran Canar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_11_6_5" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: On what Surface was the match with a Score of 6...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_11_6_5" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What is the Outcome of the match with Partner A...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "score" text, "leading_scorer" text, "attendance" real, "record" text ); Question: Who was the Leading Scorer in the Game with a Score of 96-8...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "format" text, "country" text, "label" text, "catalogue_no" text, "date" text ); Question: What Country with a MC Format has a ATCO Records Label? <|assistant|> SELECT "count...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_num1" text, "points" text, "team_num2" text, "1st_leg" text, "2nd_leg" text ); Question: What is 1st Leg, when Team #2 is "Emelec"? <|assistant|> SELECT "1st_leg" FROM "rou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_num1" text, "points" text, "team_num2" text, "1st_leg" text, "2nd_leg" text ); Question: What is 1st Leg, when Team #1 is "San Lorenzo"? <|assistant|> SELECT "1st_leg" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "38_comparisons" ( "cartridge" text, "bullet_weight" text, "muzzle_velocity" text, "muzzle_energy" text, "max_pressure" text ); Question: What is the muzzle energy with grains (g) bullet weight ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "38_comparisons" ( "cartridge" text, "bullet_weight" text, "muzzle_velocity" text, "muzzle_energy" text, "max_pressure" text ); Question: What is the bullet weight with a 12,000 cup max pressure...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "38_comparisons" ( "cartridge" text, "bullet_weight" text, "muzzle_velocity" text, "muzzle_energy" text, "max_pressure" text ); Question: What is the max pressure for the 468ft•lbf (634 j) muzzl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "38_comparisons" ( "cartridge" text, "bullet_weight" text, "muzzle_velocity" text, "muzzle_energy" text, "max_pressure" text ); Question: What is the muzzle velocity for the muzzle energy 351ft•...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "38_comparisons" ( "cartridge" text, "bullet_weight" text, "muzzle_velocity" text, "muzzle_energy" text, "max_pressure" text ); Question: What is the muzzle velocity for the .38 long colt cartri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "38_comparisons" ( "cartridge" text, "bullet_weight" text, "muzzle_velocity" text, "muzzle_energy" text, "max_pressure" text ); Question: What is the muzzle energy with 40,000 psi max pressure? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the home country of the player who placed t5 and had a score of 69-71=140? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What was the place for the player whose final score was 71-69=140? <|assistant|> SELECT "pl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What was the To par for the player whose final score was 67-71=138? <|assistant|> SELECT "t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What was Nolan Henke's To par when he placed in t3? <|assistant|> SELECT "to_par" FROM "sec...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_radicals" ( "radical_variants" text, "stroke_count" real, "p_ny_n" text, "hiragana_romaji" text, "meaning" text, "frequency" real, "examples" text ); Question: WHAT IS THE MEANING ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_radicals" ( "radical_variants" text, "stroke_count" real, "p_ny_n" text, "hiragana_romaji" text, "meaning" text, "frequency" real, "examples" text ); Question: WHAT IS THE RADICAL ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_radicals" ( "radical_variants" text, "stroke_count" real, "p_ny_n" text, "hiragana_romaji" text, "meaning" text, "frequency" real, "examples" text ); Question: WHAT IS THE STROKE C...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_of_radicals" ( "radical_variants" text, "stroke_count" real, "p_ny_n" text, "hiragana_romaji" text, "meaning" text, "frequency" real, "examples" text ); Question: WHAT IS THE STROKE C...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "talk_shows" ( "show" text, "host_s" text, "flagship" text, "market" text, "i_heart_radio" text ); Question: What is the Flagship of the Show Hosted by Rover (Shane French)? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "talk_shows" ( "show" text, "host_s" text, "flagship" text, "market" text, "i_heart_radio" text ); Question: What is the Host of the Show with a Market of New York? <|assistant|> SELECT "host_s"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "talk_shows" ( "show" text, "host_s" text, "flagship" text, "market" text, "i_heart_radio" text ); Question: What is the iHeartRadio of the Bronson and Christine Show? <|assistant|> SELECT "i_he...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" text ); Question: What is the to total number of par with laurie ayton? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" real, "money" text ); Question: Where is bobby jones (a)? <|assistant|> SELECT "place" FROM "final_lea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nascar_camping_world_truck_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" real, "avg_finish" text, "winnings" text, "position...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nascar_camping_world_truck_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" real, "avg_finish" text, "winnings" text, "position...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nascar_camping_world_truck_series" ( "year" real, "starts" real, "wins" real, "top_5" real, "top_10" real, "poles" real, "avg_start" real, "avg_finish" text, "winnings" text, "position...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "north_conference" ( "institution" text, "location" text, "founded" real, "affiliation" text, "nickname" text ); Question: Who is affiliated with the nickname Ramblers? <|assistant|> SELECT "aff...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_14_6_8" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Who was the Opponent in the match with a Score of 6–3, 6–4? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_14_6_8" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: On what Surface was the match against Malek Jaziri played? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" real, "total" real, "to_par" real, "finish" text ); Question: What is the total number of Year(s) Won, when Player is Ed Furgol, an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" real, "total" real, "to_par" real, "finish" text ); Question: What is Year(s) Won, when Player is Arnold Palmer? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" real, "total" real, "to_par" real, "finish" text ); Question: What is Highest Total, when Year(s) Won is before 1959? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" real, "total" real, "to_par" real, "finish" text ); Question: What is Player, when Year(s) Won is before 1961, and when To Par is 6...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" real, "total" real, "to_par" real, "finish" text ); Question: What is Finish, when To Par is greater than 6, and when Year(s) Won i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is Top Par, when Country is Sweden? <|assistant|> SELECT "to_par" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the highest Money ($), when Top Par is E, and when Player is Ernie E...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the sum of Money ($), when Score is 70-71-70-69=280? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...