text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: what is the most laps for driver jackie stewart? <|assistant|> SELECT MAX("laps")...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: what is the time/retired for driver richard attwood? <|assistant|> SELECT "time_r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_before_the_elections" ( "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45" text, "d_46" text, "d_47" text, "r_53" text, "r_52" text, "r_51" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_before_the_elections" ( "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45" text, "d_46" text, "d_47" text, "r_53" text, "r_52" text, "r_51" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_before_the_elections" ( "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45" text, "d_46" text, "d_47" text, "r_53" text, "r_52" text, "r_51" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_before_the_elections" ( "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45" text, "d_46" text, "d_47" text, "r_53" text, "r_52" text, "r_51" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_before_the_elections" ( "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45" text, "d_46" text, "d_47" text, "r_53" text, "r_52" text, "r_51" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senate_composition_before_the_elections" ( "d_41" text, "d_42" text, "d_43" text, "d_44" text, "d_45" text, "d_46" text, "d_47" text, "r_53" text, "r_52" text, "r_51" text ); Question...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table_2007_2013" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real ); Question: What is the low silver total for switzerland with over 0 golds? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table_2007_2013" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real ); Question: What is the silver total for nations with 10 bronze medals? <|assistant|> SELECT SUM(...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table_2007_2013" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real ); Question: What is the gold total for lithuania with under 2 silvers? <|assistant|> SELECT SUM("...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_6" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the score for the home team that...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "discontinued_models" ( "maker" text, "model" text, "intro_year" text, "screen_size_inch" text, "self_lit" text, "screen_type" text, "screen_pixels" text ); Question: Name the size of the sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text ); Question: Which Report inclu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text ); Question: Which Report inclu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text ); Question: On what date did G...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_review" ( "race" text, "date" text, "location" text, "pole_position" text, "fastest_lap" text, "race_winner" text, "constructor" text, "report" text ); Question: Who had the fastes...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" real, "label" text, "format" text, "catalog" text ); Question: What is the format for the album under the label, luaka bop, that had a catalog number of...
<|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 for the album that had a catalog number of 3645, was formatted ...
<|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: Under what label was the album with the catalog of 3645 and came out later than 1987? <|a...
<|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, "decision" text, "attendance" real, "record" text, "points" real ); Question: What is the points whe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: How many laps did mike spence complete grids above 12? <|assistant|> SELECT COUNT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: How many average laps did brm complete in grids larger than 12? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: Who drove in grids more than 3 and exited in an accident? <|assistant|> SELECT "d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: In what grid did jim clark drive in? <|assistant|> SELECT "grid" FROM "classifica...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pre_season" ( "match" real, "date" text, "competition_or_tour" text, "ground" text, "opponent" text, "score1" text ); Question: Which opponent has a date 21 jul 2007? <|assistant|> SELECT "op...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the venue of the Melbourne team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text ); Question: What was the race that featured stirling ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text ); Question: What does the Circuit of caen report? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text ); Question: Who is the winning drive of iv grand prix...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "yards_on_the_great_lakes" ( "yard_name" text, "location_city_state" text, "1st_ship_delivery_date" text, "ship_types_delivered" text, "total_number_of_ways" text ); Question: What types of ship...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "yards_on_the_great_lakes" ( "yard_name" text, "location_city_state" text, "1st_ship_delivery_date" text, "ship_types_delivered" text, "total_number_of_ways" text ); Question: What ship types we...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "notable_players" ( "nationality" text, "position" text, "boro_career" text, "captaincy" text, "appearances" real, "goals" real ); Question: What is the amount of apperances of the person who ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: If the Home team was north melbourne and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: How many people were in the Crowd when th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ladies" ( "rank" real, "name" text, "nation" text, "sp_fs" real, "points" real, "places" real ); Question: Tell me the name with points of 151.66 <|assistant|> SELECT "name" FROM "ladies" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ladies" ( "rank" real, "name" text, "nation" text, "sp_fs" real, "points" real, "places" real ); Question: Tell me the total number of rank for places less than 94 and points less than 169.8 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ladies" ( "rank" real, "name" text, "nation" text, "sp_fs" real, "points" real, "places" real ); Question: Tell me the total number of SP+FS with rank more than 8 for the netherlands and poin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ladies" ( "rank" real, "name" text, "nation" text, "sp_fs" real, "points" real, "places" real ); Question: Name the total number of SP+FS for places of 60 and points more than 151.66 <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ladies" ( "rank" real, "name" text, "nation" text, "sp_fs" real, "points" real, "places" real ); Question: Name the average SP+FS with places less tha 94 for renata baierova <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "features_by_model" ( "model_name" text, "model_num" text, "color" text, "switch_type" text, "interface" text, "blank_keytops" text, "introduced" text ); Question: What color is model # pd-k...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "preliminary_competition" ( "state" text, "interview" real, "swimsuit" real, "evening_gown" real, "average" real ); Question: What's the lowest average for a swimsuit over 6.89, evening gown ove...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "preliminary_competition" ( "state" text, "interview" real, "swimsuit" real, "evening_gown" real, "average" real ); Question: What's the highest swimsuit for an average less than 8.073, evening ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "preliminary_competition" ( "state" text, "interview" real, "swimsuit" real, "evening_gown" real, "average" real ); Question: What's utah's lowest swimsuit with an interview over 8.53? <|assista...
<|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 was October 9, 1938? <|assistant|> SELECT COUNT("week") FROM "schedule" WHERE "dat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What home team played Collingwood as the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_17" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the score of the away team at J...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: Who built giancarlo fisichella's car? <|assistant|> SELECT "constructor" FROM "race" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: What is the high lap total for mika salo with a grid greater than 17? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_100_in_the_world" ( "rank" real, "name" text, "location" text, "country" text, "designer_year" text ); Question: Where was the location with Muirfield in Scotland? <|assistant|> SELECT "loc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "transfer_fee" text ); Question: Name the country for pieroni <|assistant|> SELECT "country...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "transfer_fee" text ); Question: Name the country for 6-month loan and moving from of lens ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "transfer_fee" text ); Question: Name the transfer fee with a transfer window of summer for...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "transfer_fee" text ); Question: Name the name that has moving of 1. fc nürnberg. <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "players_in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "transfer_fee" text ); Question: Name the country with polák <|assistant|> SELECT "country"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was the home team score at North Mel...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Which away team scored 4.15 (39)? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What was Collingwood's score at the home ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: What is the lowest number of laps with a grid larger than 24? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: For Jo Siffert, what was the highest grid with the number of laps above 12? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: What is the average number of laps when Gerhard Berger is the driver? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: What is the name of the constructor who has more than 50 laps and a grid of 7? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2" ( "title" text, "directed_by" text, "written_by" text, "original_air_date" text, "production_code" text ); Question: What is the title of the episode with a production code of ad1b04?...
<|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: Name the time for event of tf...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "asian_games" ( "sport" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What sport has a Gold larger than 0, and a Silver of 2? <|assistant|> SELECT "sport" FROM "asia...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "asian_games" ( "sport" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the lowest Bronze that has a Total larger than 18 and a Silver smaller than 143? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "asian_games" ( "sport" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: How many total Silver has a Bronze larger than 19 and a Total smaller than 125? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "asian_games" ( "sport" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the highest total Bronze larger than 10, Silver larger than 28, and a Gold of 58? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "asian_games" ( "sport" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the lowest Total that has a Gold larger than 0, Silver smaller than 4, Sport of footbal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: what is the time/retired when the grid is 9? <|assistant|> SELECT "time_retired" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: what is the number of laps when the driver is ron flockhart? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "years" text, "displacement" text, "engine" text, "power" text, "torque" text ); Question: What Engine has a Power of 114hp (85kw)? <|assistant|> SELECT "engine" FROM "engines" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "years" text, "displacement" text, "engine" text, "power" text, "torque" text ); Question: What Torque has an AMC Power Tech I6 Engine? <|assistant|> SELECT "torque" FROM "engines" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "years" text, "displacement" text, "engine" text, "power" text, "torque" text ); Question: What Displacement has 185hp (138kw) Power o <|assistant|> SELECT "displacement" FROM "engin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What venue features collingwood as the ho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "attendance" real ); Question: What's the attendance numbers for veterans stadium? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_boys_team" ( "player" text, "height" text, "school" text, "hometown" text, "college" text, "nba_draft" text ); Question: What is the name of the school that has a player named Michael Du...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "delegates" ( "district" text, "name" text, "party" text, "religion" text, "former_experience" text, "assumed_office" real, "born_in" real ); Question: Name the religion for Former Experienc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "delegates" ( "district" text, "name" text, "party" text, "religion" text, "former_experience" text, "assumed_office" real, "born_in" real ); Question: Tell me the loewst assume office for m...
<|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_13" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: How many people attended the game at Jun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: What was the score for Boston's Home game that had Gerber as ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: What was the record for the game on March 25? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "march" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: Who was the Decision at Anaheim's home game? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyres" text, "driver" text, "rounds" text ); Question: Who is the driver of the chassis that ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyres" text, "driver" text, "rounds" text ); Question: What was the engine belonging to Pierl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyres" text, "driver" text, "rounds" text ); Question: What was the featured in Engine throug...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_and_constructors" ( "entrant" text, "constructor" text, "chassis" text, "engine" text, "tyres" text, "driver" text, "rounds" text ); Question: Nigel Mansell was the driver in what E...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tornadoes" ( "rank" real, "name_location" text, "country" text, "date" text, "deaths" real, "injuries_num" text ); Question: What Date does the Name (location) Belyanitsky, Ivanovo, and Balin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What day did North Melbourne play as the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Who was the away team at Arden Street Ov...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "ordinary_income_rate" text, "long_term_capital_gain_rate" text, "short_term_capital_gain_rate" text, "long_term_gain_on_commercial_buildings" text, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "ordinary_income_rate" text, "long_term_capital_gain_rate" text, "short_term_capital_gain_rate" text, "long_term_gain_on_commercial_buildings" text, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "ordinary_income_rate" text, "long_term_capital_gain_rate" text, "short_term_capital_gain_rate" text, "long_term_gain_on_commercial_buildings" text, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "ordinary_income_rate" text, "long_term_capital_gain_rate" text, "short_term_capital_gain_rate" text, "long_term_gain_on_commercial_buildings" text, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "ordinary_income_rate" text, "long_term_capital_gain_rate" text, "short_term_capital_gain_rate" text, "long_term_gain_on_commercial_buildings" text, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_and_capital_gains_tax_rates_for_" ( "ordinary_income_rate" text, "long_term_capital_gain_rate" text, "short_term_capital_gain_rate" text, "long_term_gain_on_commercial_buildings" text, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "franklin_local_board" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What is the Decile with a State Authority and a roll...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "franklin_local_board" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What is the highest Roll of Orere School with a Deci...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Which venue has an Away team score of 10...