text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_of_some_cameras_compatible_wi" ( "camera" text, "sensor_resolution" text, "sensor" text, "output" text, "cpu_usage" text, "ir_le_ds" text ); Question: What was the output with no I...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "comparison_of_some_cameras_compatible_wi" ( "camera" text, "sensor_resolution" text, "sensor" text, "output" text, "cpu_usage" text, "ir_le_ds" text ); Question: What sensor has a resolution ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "diesel_multiple_units" ( "type" text, "numbers" text, "year_built" real, "quantity_built" text, "power_horsepower" real, "max_speed_km_h" real ); Question: What is the max speed of the unit w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "diesel_multiple_units" ( "type" text, "numbers" text, "year_built" real, "quantity_built" text, "power_horsepower" real, "max_speed_km_h" real ); Question: What is the numbers of the thn unit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "diesel_multiple_units" ( "type" text, "numbers" text, "year_built" real, "quantity_built" text, "power_horsepower" real, "max_speed_km_h" real ); Question: What is the power of the unit built...
<|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, "record" text, "game_site" text, "attendance" real ); Question: Week larger than 6, and a Date of november 22, 1959 had...
<|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, "record" text, "game_site" text, "attendance" real ); Question: Result of w 21–7 had what average week? <|assistant|> S...
<|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, "record" text, "game_site" text, "attendance" real ); Question: Date of november 29, 1959 had what lowest attendance? <...
<|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, "record" text, "game_site" text, "attendance" real ); Question: Week that has a Date of december 5, 1959 had what week?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "record" text ); Question: Which Game has an Opponent of @ carolina hurricanes? <|assistant|> SELECT SUM("ga...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "record" text ); Question: How many games have a November of 10? <|assistant|> SELECT COUNT("game") FROM "sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "record" text ); Question: Which Game has a November of 22? <|assistant|> SELECT SUM("game") FROM "schedule_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "chart_the_eight_wives" ( "year_of_marriage" real, "name" text, "her_age" real, "his_age" real, "num_of_children" real ); Question: What is the mean year of marriage when her age was more than 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "chart_the_eight_wives" ( "year_of_marriage" real, "name" text, "her_age" real, "his_age" real, "num_of_children" real ); Question: What is the lowest figure for her age when the year of marriag...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "chart_the_eight_wives" ( "year_of_marriage" real, "name" text, "her_age" real, "his_age" real, "num_of_children" real ); Question: What is the total number of her age figures where his age is l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: How much Lost has an Against...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: Which Played has a Lost of 3...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: Which Played is the highest ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: Which Against is the highest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "october" real, "opponent" text, "score" text, "record" text, "points" real ); Question: What opponent has october less than 20, and 8 for points? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: What position does Drew Callander play? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: What round did Ray Kurpis play? <|assistant|> SELECT "round"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "american_seafoods_company_fleet" ( "name" text, "length" text, "tonnage" real, "built_by" text, "year" real, "engines" text, "horsepowers" real, "former_names" text ); Question: Which Bui...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "american_seafoods_company_fleet" ( "name" text, "length" text, "tonnage" real, "built_by" text, "year" real, "engines" text, "horsepowers" real, "former_names" text ); Question: How many ...
<|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: When was the 2014 fifa world cup qualification? <|assistant|> SELECT "date" FROM "...
<|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: When was the date of an event at Tokyo venue? <|assistant|> SELECT "date" FROM "in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1980" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: What city did Yugoslavia play against Poland in? <|assistant|> SELECT "city" FROM "1980" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1980" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: What day did Yugoslavia play Luxembourg? <|assistant|> SELECT "date" FROM "1980" WHERE "oppon...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1980" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: What type of game was played in Ljubljana? <|assistant|> SELECT "type_of_game" FROM "1980" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1980" ( "date" text, "city" text, "opponent" text, "results" text, "type_of_game" text ); Question: What's the result of the game played in Belgrade? <|assistant|> SELECT "results" FROM "1980" ...
<|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, "record" text ); Question: What was the score on March 23? <|assistant|> SELECT "score" FROM "regular_season" WHERE "da...
<|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, "record" text ); Question: When the Vancouver Canucks were visiting, what was the record when the score was 4-2? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_9_6_titles_3_runner_ups" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: Which Partner has a Score of 6...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_9_6_titles_3_runner_ups" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: Which Score has a Date of 13 a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_9_6_titles_3_runner_ups" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: Which Partner has a Score of 7...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_9_6_titles_3_runner_ups" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: Which Date has a Tournament of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_9_6_titles_3_runner_ups" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: Which Partner has a Tournament...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_9_6_titles_3_runner_ups" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: Which Date has a Surface of cl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "events" ( "date" text, "race_name" text, "location" text, "uci_rating" text, "winner" text, "team" text ); Question: Who was the winner of the tre valli varesine race? <|assistant|> SELECT "w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "events" ( "date" text, "race_name" text, "location" text, "uci_rating" text, "winner" text, "team" text ); Question: What is the date of the omloop van de vlaamse scheldeboorden race with a U...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "events" ( "date" text, "race_name" text, "location" text, "uci_rating" text, "winner" text, "team" text ); Question: What is the date of the gp cittΓ  di camaiore race? <|assistant|> SELECT "d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "events" ( "date" text, "race_name" text, "location" text, "uci_rating" text, "winner" text, "team" text ); Question: What is the UCI rating of the race in Italy with the progetto ciclismo alp...
<|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, "record" text, "game_site" text, "attendance" real ); Question: What is the date of the game being played at Schaeffer ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real ); Question: Which Points have a Year larger than 1966, and Wins larger than 1? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real ); Question: Which Year is the lowest one that has Wins smaller than 0? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real ); Question: Which Points have Wins larger than 1? <|assistant|> SELECT AVG("points") FROM "m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "motorcycle_grand_prix_results" ( "year" real, "class" text, "team" text, "points" real, "wins" real ); Question: Which Wins have a Year of 1963, and a Class of 50cc? <|assistant|> SELECT AVG("w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "liberec" ( "rank" real, "name" text, "nationality" text, "1st_m" real, "2nd_m" real, "points" real, "overall_wc_points_rank" text ); Question: How many overall WC ponts (rank) did Anders Ja...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "liberec" ( "rank" real, "name" text, "nationality" text, "1st_m" real, "2nd_m" real, "points" real, "overall_wc_points_rank" text ); Question: Who had the highest rank with a 1st (m) of 129...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "liberec" ( "rank" real, "name" text, "nationality" text, "1st_m" real, "2nd_m" real, "points" real, "overall_wc_points_rank" text ); Question: Who had the lowest 1st (m), ranked lower than ...
<|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, "wins" real ); Question: What is the player from Australia's rank with more than 16 wins? <|assistant|> SELECT COUNT("ran...
<|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, "wins" real ); Question: What is the lowest rank of a player with earnings under $11,936,443 and more than 16 wins? <|ass...
<|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, "wins" real ); Question: What is the highest earnings of a player with more than 19 wins? <|assistant|> SELECT MAX("earni...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "roller_coasters" ( "name" text, "style" text, "opened" real, "manufacturer" text, "themed_area" text ); Question: Which average Opened has a Manufacturer of vekoma? <|assistant|> SELECT AVG("op...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "roller_coasters" ( "name" text, "style" text, "opened" real, "manufacturer" text, "themed_area" text ); Question: Which Opened is the highest one that has a Themed Area of aerial park, and a Ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "roller_coasters" ( "name" text, "style" text, "opened" real, "manufacturer" text, "themed_area" text ); Question: Which Themed Area has a Name of troublesome trucks runaway coaster? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "roller_coasters" ( "name" text, "style" text, "opened" real, "manufacturer" text, "themed_area" text ); Question: Which Manufacturer has a Style of steel sit down, and an Opened larger than 200...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "school" text ); Question: What position has a pick less than 25 for the university of california? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "school" text ); Question: What is the pick number for tulane university? <|assistant|> SELECT SUM("pick") FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "school" text ); Question: What is the pick number for the kansas city royals? <|assistant|> SELECT SUM("pick...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "school" text ); Question: What is the average Pick for the Pasco, Wa school? <|assistant|> SELECT AVG("pick"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "date" text, "label" text, "region" text, "format" text, "catalog" text ); Question: What Label released a CD single in 1993? <|assistant|> SELECT "label" FROM "release_histo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: Where was home with a record of 7–5–2? <|assistant|> SELECT "home" FROM "december" WHERE "record"=...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: On what date was the record 8–6–3? <|assistant|> SELECT "date" FROM "december" WHERE "record"='8–6...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What was the score when Pittsburgh was the visitor? <|assistant|> SELECT "score" FROM "december" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: On what date were the NY Rangers home? <|assistant|> SELECT "date" FROM "december" WHERE "home"='n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: Which visitor had a record of 7–5–3? <|assistant|> SELECT "visitor" FROM "december" WHERE "record"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "december" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: Who was home when Detroit was visiting with a score of 4 – 1? <|assistant|> SELECT "home" FROM "de...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" real, "label" text, "format" text, "catalog" text ); Question: What is the earliest date with Great Expectations label with LP format? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" real, "label" text, "format" text, "catalog" text ); Question: What format was used for Mobil 1? <|assistant|> SELECT "format" FROM "release_history" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "under_23" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: what team won the friendly match <|assistant|> SELECT "result" FROM "under_23" WHERE "competi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wins_by_club" ( "rank" real, "club" text, "wins" real, "last_win" real, "runner_up" real, "last_losing_final" text ); Question: Which Runner-up has a Last win smaller than 1998, and Wins of 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "wins_by_club" ( "rank" real, "club" text, "wins" real, "last_win" real, "runner_up" real, "last_losing_final" text ); Question: How many Last wins have a Club of mansfield town, and Wins smal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "formula_one_entries_for_brm_type_15" ( "date" text, "event" text, "circuit" text, "driver" text, "race" text ); Question: Which Driver has a Date of 16th september 1951, and a Race of dns? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "formula_one_entries_for_brm_type_15" ( "date" text, "event" text, "circuit" text, "driver" text, "race" text ); Question: At which race did reg parnell win the goodwood trophy? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "formula_one_entries_for_brm_type_15" ( "date" text, "event" text, "circuit" text, "driver" text, "race" text ); Question: Which Race has a Date of 31st may 1953, and an Event of grand prix de l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_final_statistics" ( "rank" real, "airport" text, "code_iata_icao" text, "total_cargo_metric_tonnes" real, "pct_change" text ); Question: What's the highest rank of a PVG/ZSPD Code (IATA/IC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_final_statistics" ( "rank" real, "airport" text, "code_iata_icao" text, "total_cargo_metric_tonnes" real, "pct_change" text ); Question: What's the average total cargo in metric tonnes tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_final_statistics" ( "rank" real, "airport" text, "code_iata_icao" text, "total_cargo_metric_tonnes" real, "pct_change" text ); Question: What is the highest rank of Tokyo International Air...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_2" ( "games" real, "drawn" real, "lost" real, "points_difference" text, "points" real ); Question: Where the games are smaller than 5 and the points are 6, what is the average lost? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "roster" ( "order" real, "built" text, "serial_numbers" text, "quantity" real, "1st_no" text ); Question: with build 5/69-6/69 what's the order? <|assistant|> SELECT SUM("order") FROM "roster" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_17_10_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Which Outcome has a Score of 6–2, 6–2? <|assistant|> SELECT "outc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_17_10_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Which Date has an Outcome of winner, and a Score of 7–5, 6–4? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_17_10_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Which Tournament has an Outcome of winner, and a Surface of clay,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_17_10_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What was the outcome in mari andersson's tournament? <|assistant|...
<|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, "attendance" real, "record" text ); Question: What's the loss of the game with the opponent of the Nationals with a score ...
<|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, "attendance" real, "record" text ); Question: Which opponent has a record of 70-52? <|assistant|> SELECT "opponent" FROM "...
<|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, "attendance" real, "record" text ); Question: What is the attendance of the game that has the opponent of The Nationals wi...
<|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, "attendance" real, "record" text ); Question: What's the attendance of the game with a score of 5-4? <|assistant|> SELECT ...
<|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, "attendance" real, "record" text ); Question: Who's the opponent of the game with the record 64-51? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "february" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Who were the opponents in games before number 54? <|assistant|> SELECT...
<|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" text ); Question: what was the score of bert yancey <|assistant|> SELECT "score" FROM "f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_fleet" ( "length_fuel" text, "model" text, "year_built" text, "quantity" real, "floor_styling" text, "wheelchair_access" text ); Question: What is the Length/Fuel of the bus with a Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_fleet" ( "length_fuel" text, "model" text, "year_built" text, "quantity" real, "floor_styling" text, "wheelchair_access" text ); Question: What is the Length/Fuel of the bus built bet...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "thomas_buffel_international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: In what Venue was the game with a Friendly Competitio...
<|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 amount of money that a +5 to par with a score of 76-69-70-70=285...
<|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 name of the player with a 71-69-71-69=280 score? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "game_num" real, "date" text, "visitor" text, "score" text, "home" text, "record" text, "points" real ); Question: Which average Game # has a Home of san jose, and Points smalle...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "game_num" real, "date" text, "visitor" text, "score" text, "home" text, "record" text, "points" real ); Question: Which Home has a Game # of 59? <|assistant|> SELECT "home" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "february" ( "game_num" real, "date" text, "visitor" text, "score" text, "home" text, "record" text, "points" real ); Question: Which Visitor has a Game # larger than 62, and a Date of febru...