text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real ); Question: What score did Ed Furgol get to come in at T6? <|assistant|> SELECT "score" FROM "third_roun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real ); Question: What score did Ted Kroll get to come in at T2? <|assistant|> SELECT "score" FROM "third_roun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real ); Question: Where is Fred Haas from? <|assistant|> SELECT "country" FROM "third_round" WHERE "player"='f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" real ); Question: Where is Fred Haas from? <|assistant|> SELECT "country" FROM "third_round" WHERE "player"='f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cfl_draft" ( "round" real, "pick" text, "player" text, "position" text, "school_club_team" text ); Question: What is Position, when School/Club Team is McMaster? <|assistant|> SELECT "position"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cfl_draft" ( "round" real, "pick" text, "player" text, "position" text, "school_club_team" text ); Question: What is the lowest Round, when Pick is 9 (via Hamilton)? <|assistant|> SELECT MIN("r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cfl_draft" ( "round" real, "pick" text, "player" text, "position" text, "school_club_team" text ); Question: What is Pick, when Position is OL, and when Round is less than 6? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cfl_draft" ( "round" real, "pick" text, "player" text, "position" text, "school_club_team" text ); Question: What is School/Club Team, when Pick is 9 (via Hamilton)? <|assistant|> SELECT "schoo...
<|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 is the Result of the game with an Attendance of 55,353? <|assistant|> SELECT "result" F...
<|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: In what Week was the Attendance 39,923? <|assistant|> SELECT SUM("week") 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" text ); Question: What was the Result of the game after Week 9 with an Attendance of 69,714? <|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, "attendance" text ); Question: What Week falls on September 4, 1994? <|assistant|> SELECT AVG("week") FROM "schedule" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_team" ( "date" text, "pos" text, "player" text, "from_club" text, "transfer_fee" text ); Question: What is Pos., when Player is "Nigel De Jong"? <|assistant|> SELECT "pos" FROM "first_tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_team" ( "date" text, "pos" text, "player" text, "from_club" text, "transfer_fee" text ); Question: What is From Club, when Player is "Robinho"? <|assistant|> SELECT "from_club" FROM "firs...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_team" ( "date" text, "pos" text, "player" text, "from_club" text, "transfer_fee" text ); Question: What is Pos., when From Club is "CSKA Moscow"? <|assistant|> SELECT "pos" FROM "first_te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_team" ( "date" text, "pos" text, "player" text, "from_club" text, "transfer_fee" text ); Question: What is Pos., when From Club is "Chelsea", and when Date is "30 July 2008"? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is the team 2 for the match with a team 1 of Panathinaikos? <|assistant|> SELECT "team_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What was the first leg score for the match with a team 1 of Panathinaikos? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What is the 2nd leg score for the match with a team 2 of Werder Bremen? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personnel_and_sponsoring" ( "team" text, "head_coach" text, "team_captain" text, "kitmaker" text, "shirt_sponsor" text ); Question: Who is the kitmaker for Fc Augsburg? <|assistant|> SELECT "ki...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personnel_and_sponsoring" ( "team" text, "head_coach" text, "team_captain" text, "kitmaker" text, "shirt_sponsor" text ); Question: Who is the head coach of the team, whose shirt sponsor is kar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personnel_and_sponsoring" ( "team" text, "head_coach" text, "team_captain" text, "kitmaker" text, "shirt_sponsor" text ); Question: Who is the kitmaker for the team that Uwe Rapolder is the hea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personnel_and_sponsoring" ( "team" text, "head_coach" text, "team_captain" text, "kitmaker" text, "shirt_sponsor" text ); Question: Who is the team captain of the team that Lübzer is the shirt ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personnel_and_sponsoring" ( "team" text, "head_coach" text, "team_captain" text, "kitmaker" text, "shirt_sponsor" text ); Question: Who is the shirt sponsor of the team Andreas Wolf is the capt...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personnel_and_sponsoring" ( "team" text, "head_coach" text, "team_captain" text, "kitmaker" text, "shirt_sponsor" text ); Question: Who is the shirt sponsor for the team Daniel Thioune captains...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "game" real, "date" text, "team" text, "score" text, "record" text, "streak" text ); Question: What was the date of the game number 22? <|assistant|> SELECT "date" FROM "se...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films_u_s" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text ); Question: What is the Director from Paramount with a Film with a Gross of $128,152,301? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films_u_s" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text ); Question: What is the Studio of the Rank 10 Film? <|assistant|> SELECT "studio" FROM "hi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_gu" ( "source" text, "dates_administered" text, "democrat_christine_gregoire" text, "republican_dino_rossi" text, "lead_margin" real ); Question: What is t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_gu" ( "source" text, "dates_administered" text, "democrat_christine_gregoire" text, "republican_dino_rossi" text, "lead_margin" real ); Question: What was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_doctor_who_audio_releases" ( "title" text, "writer" text, "format" text, "company" text, "release_date" text ); Question: What is the release date of the album written by Ford, Phil Phi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_doctor_who_audio_releases" ( "title" text, "writer" text, "format" text, "company" text, "release_date" text ); Question: What is the release date of the album written by Goss, James Ja...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_doctor_who_audio_releases" ( "title" text, "writer" text, "format" text, "company" text, "release_date" text ); Question: Who is the company that released the album on 2008-09-18 18 Sep...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: Notre-Dame-De-Lourdes has what average area km 2? <|assistant|> SELECT A...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: Saint-Jacques has what as the area km 2? <|assistant|> SELECT "area_km_2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: With an area km 2 of 343.95 what is the official name? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "parishes" ( "official_name" text, "status" text, "area_km_2" real, "population" real, "census_ranking" text ); Question: Saint-Basile has what status? <|assistant|> SELECT "status" FROM "parish...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "y" ( "discipline" text, "circuit" text, "event" text, "session" text, "cause" text ); Question: What circuit has qualifying as the session? <|assistant|> SELECT "circuit" FROM "y" WHERE "sessio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "y" ( "discipline" text, "circuit" text, "event" text, "session" text, "cause" text ); Question: The 1997 Japanese Formula 3 Championship is part of what circuit? <|assistant|> SELECT "circuit" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "y" ( "discipline" text, "circuit" text, "event" text, "session" text, "cause" text ); Question: The Fall Nationals has what sessions? <|assistant|> SELECT "session" FROM "y" WHERE "event"='fall...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "y" ( "discipline" text, "circuit" text, "event" text, "session" text, "cause" text ); Question: The 1977 Japanese Grand Prix in the open wheel discipline has what session? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "y" ( "discipline" text, "circuit" text, "event" text, "session" text, "cause" text ); Question: What circuit has a race for the session, and open wheel as the discipline, and the 1977 Japanese ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "y" ( "discipline" text, "circuit" text, "event" text, "session" text, "cause" text ); Question: For what cause is Touring Car Racing the discipline? <|assistant|> SELECT "cause" FROM "y" WHERE ...
<|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" text, "money" real ); Question: What player scored 70-73-69-72=284? <|assistant|> SELECT "player" FROM...
<|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" text, "money" real ); Question: What is the lowest amount of money that Craig Stadler won? <|assistant...
<|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" text, "money" real ); Question: What country is David Graham from? <|assistant|> SELECT "country" FROM...
<|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" text, "money" real ); Question: What is the total amount of money that the United States one with a To...
<|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" text, "money" real ); Question: What score did Jack Nicklaus have when he placed t6? <|assistant|> SEL...
<|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: How much money has a to par of E? <|assistant|> SELECT COUNT("money") FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1930s_giants_11_3" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text ); Question: What was the location on October 16? <|assistant|> SELECT "location" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1930s_giants_11_3" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text ); Question: Who was the winner when the result was 56-0 before 1935? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1930s_giants_11_3" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text ); Question: Who was the winner in philadelphia municipal stadium in 1939? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1930s_giants_11_3" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text ); Question: What was the earliest year that the result 21-17? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1930s_giants_11_3" ( "year" real, "date" text, "winner" text, "result" text, "loser" text, "location" text ); Question: What was the location after 1934 that Philadelphia Eagles lost on Octob...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "republic_of_korea_1948_presents" ( "president" text, "vice" real, "romanized_hangul" text, "took_office" text, "left_office" text, "political_party" text ); Question: When did chang myon (장면)...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "republic_of_korea_1948_presents" ( "president" text, "vice" real, "romanized_hangul" text, "took_office" text, "left_office" text, "political_party" text ); Question: When did the vice presid...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "provinces_table" ( "province" text, "region" text, "capital" text, "districts" real, "ubigeo" real ); Question: What province in Tumbes has less than 11 districts and a UBIGEO of 2401? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "provinces_table" ( "province" text, "region" text, "capital" text, "districts" real, "ubigeo" real ); Question: What is Chepén's average UBIGEO? <|assistant|> SELECT AVG("ubigeo") FROM "provinc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "provinces_table" ( "province" text, "region" text, "capital" text, "districts" real, "ubigeo" real ); Question: What is the region for Chepén with 3 districts? <|assistant|> SELECT "region" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "valles" ( "name" text, "latitude" text, "longitude" text, "diameter_km" real, "year_named" real ); Question: What is the Diameter (km) of the Valle with a Longitude of 152.5e named before 1997?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "valles" ( "name" text, "latitude" text, "longitude" text, "diameter_km" real, "year_named" real ); Question: What is the Year named of the Ganga Valles? <|assistant|> SELECT MAX("year_named") F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "valles" ( "name" text, "latitude" text, "longitude" text, "diameter_km" real, "year_named" real ); Question: What is the Latitude of the Alajen Vallis named after 1997? <|assistant|> SELECT "la...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "releases" ( "cat_num" text, "artist" text, "title" text, "release_date" text, "format" text, "other_information" text ); Question: What is the release date with par116 as the cat. #? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "releases" ( "cat_num" text, "artist" text, "title" text, "release_date" text, "format" text, "other_information" text ); Question: What is the title released on 24 July 2005? <|assistant|> SE...
<|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, "location_attendance" text, "record" text ); Question: What is Record, when High...
<|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, "location_attendance" text, "record" text ); Question: What is High Rebounds, wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "gains_holds_and_losses_by_party" ( "party" text, "seats_dissol" real, "seats_2012" real, "gains" real, "holds" real, "losses" real, "net_change" text ); Question: Can you tell me the lowest...
<|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...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stadiums_and_locations" ( "team" text, "location" text, "venue" text, "capacity" real, "avg_attendance" real ); Question: Which location has a capacity greater than 51,500? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: Who was the rider who had less than 30 laps, ended in an accident with a car manu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: Who was the manufacturer for the race on grid 12? <|assistant|> SELECT "manufactu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: Who was the manufacturer for the car that dani pedrosa did less than 9 laps in? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real ); Question: How many laps did the driver with the yamaha manufacturer go on grid 3? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "21st_century_comeback" ( "date" text, "time" text, "opponent" text, "score" text, "site" text, "city" text ); Question: What is the time in Baltimore? <|assistant|> SELECT "time" FROM "21st_c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "21st_century_comeback" ( "date" text, "time" text, "opponent" text, "score" text, "site" text, "city" text ); Question: What date was the score 1-8? <|assistant|> SELECT "date" FROM "21st_cen...
<|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 is the event where the o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_26_18_8" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What is the Surface of the Court in Napoli? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_26_18_8" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What is the Outcome of the game with a Score of 6–4, 6–4? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_26_18_8" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What is the Outcome of the game against Frederic Jeanclaude? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_26_18_8" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What is the Opponent in a game with a Score of 6–2, 6–2? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_26_18_8" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What is the Surface of the court against Ivo Klec with a Score of...
<|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: Who was the player with a score of 70-69=139? <|assistant|> SELECT "player" FROM "second_ro...
<|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 country did Bart Bryant with a score of 69-70=139 belong to? <|assistant|> SELECT "cou...
<|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 country that the player with a score of 70-69=139 from? <|assistant|> SELECT "c...
<|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: In what place did the player with a score of 66-67=133 come in? <|assistant|> SELECT "place...
<|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 country was the player from who placed t3 with a score of 70-68=138? <|assistant|> SEL...
<|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 score for the player from Scotland? <|assistant|> SELECT "score" FROM "second_...
<|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: What week had a game that was played on November 11, 1962? <|assistant|> SELECT AVG("week") ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_10_female_characters_rankings" ( "year" real, "character" text, "title" text, "author" text, "artist" text, "imprint" text ); Question: Who is the author of Bludgeoning Angel Dokuro-Chan?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_departure" text, "incoming_manager" text, "date_hired" text, "position_in_table" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_departure" text, "incoming_manager" text, "date_hired" text, "position_in_table" text ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "german_cup_finals_under_the_gauliga_syst" ( "year" real, "winner" text, "finalist" text, "result" text, "date" text, "venue" text, "attendance" real ); Question: Who was the winner when the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "german_cup_finals_under_the_gauliga_syst" ( "year" real, "winner" text, "finalist" text, "result" text, "date" text, "venue" text, "attendance" real ); Question: Who was the finalist when t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: How did the manager...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: Who was hired to fi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: What is the name of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: How did the manager...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text ); Question: What is the name of...