text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displacement" text, "power" text, "fuel_system" text ); Question: Which years have a displacement of 1816cc? <|assistant|> SELECT "years...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displacement" text, "power" text, "fuel_system" text ); Question: How much power does the fuel injection system have with a displacement...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displacement" text, "power" text, "fuel_system" text ); Question: Which fuel system has a displacement of 1490cc? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displacement" text, "power" text, "fuel_system" text ); Question: Which fuel system has a displacement of 1500cc for the Berlina model? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "trend_of_regional_gross_value_added_of_c" ( "year" real, "regional_gva" real, "agriculture" real, "industry" real, "services" real ); Question: What is the lowest Industry, when Year is greater...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "trend_of_regional_gross_value_added_of_c" ( "year" real, "regional_gva" real, "agriculture" real, "industry" real, "services" real ); Question: What is the average Industry, when Agriculture is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "trend_of_regional_gross_value_added_of_c" ( "year" real, "regional_gva" real, "agriculture" real, "industry" real, "services" real ); Question: What is the average Services, when Year is greate...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "trend_of_regional_gross_value_added_of_c" ( "year" real, "regional_gva" real, "agriculture" real, "industry" real, "services" real ); Question: What is the sum of Agriculture, when Regional GVA...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "trend_of_regional_gross_value_added_of_c" ( "year" real, "regional_gva" real, "agriculture" real, "industry" real, "services" real ); Question: What is the sum of Year, when Regional GVA is 6,5...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "trend_of_regional_gross_value_added_of_c" ( "year" real, "regional_gva" real, "agriculture" real, "industry" real, "services" real ); Question: What is the highest Regional GVA, when Year is gr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ladder" ( "team" text, "lost" real, "last_5" text, "streak" text, "home" text, "away" text, "pct_pts" real, "pct_won" real ); Question: When the points scored was over 110.25%, what's the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ladder" ( "team" text, "lost" real, "last_5" text, "streak" text, "home" text, "away" text, "pct_pts" real, "pct_won" real ); Question: If the points scored were 93.45%, what's the lowest...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text ); Question: What is the rank of the film directed by Kevin Costner? <|assistant|> SELECT COUNT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text ); Question: What director grossed $200,512,643 <|assistant|> SELECT "director" FROM "highest_g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text ); Question: What is the average rank of the movie from Paramount Studios that grossed $200,512...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text ); Question: Who directed Teenage Mutant Ninja Turtles? <|assistant|> SELECT "director" FROM "h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_grossing_films" ( "rank" real, "title" text, "studio" text, "director" text, "gross" text ); Question: What director ranked higher than 1 from Universal Studios and grossed $201,957,688...
<|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_retired" text, "grid" real ); Question: When the rider is Garry Mccoy and the manufacturer was Kawasaki, what was...
<|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_retired" text, "grid" real ); Question: What's the highest amount of laps Garry Mccoy drove? <|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_retired" text, "grid" real ); Question: If the manufacturer is Proton Kr and the grid was over 10, what was the t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time" ( "continent" text, "structure" text, "height" text, "year" real, "country" text ); Question: The year 1974 has what listed as the Height? <|assistant|> SELECT "height" FROM "all_time...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time" ( "continent" text, "structure" text, "height" text, "year" real, "country" text ); Question: The OMEGA transmitter Chabrier has what country listed? <|assistant|> SELECT "country" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time" ( "continent" text, "structure" text, "height" text, "year" real, "country" text ); Question: Listed with a continent of Africa and before 2009 this structure is called what? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time" ( "continent" text, "structure" text, "height" text, "year" real, "country" text ); Question: The year 1972 has what written in Height column? <|assistant|> SELECT "height" FROM "all_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_time" ( "continent" text, "structure" text, "height" text, "year" real, "country" text ); Question: What is the Continent that also has the United States listed as a country? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "standings" ( "country" text, "skip" text, "ends_won" real, "ends_lost" real, "blank_ends" real, "stolen_ends" real, "shot_pct" real ); Question: What is the highest number of ends won of 47...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ranking_movement" ( "poll" text, "pre_season" text, "mar_3" text, "mar_17" text, "mar_24" text, "mar_31" text, "april_7" text, "april_14" text, "april_21" text, "april_28" text, "may...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ranking_movement" ( "poll" text, "pre_season" text, "mar_3" text, "mar_17" text, "mar_24" text, "mar_31" text, "april_7" text, "april_14" text, "april_21" text, "april_28" text, "may...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ranking_movement" ( "poll" text, "pre_season" text, "mar_3" text, "mar_17" text, "mar_24" text, "mar_31" text, "april_7" text, "april_14" text, "april_21" text, "april_28" text, "may...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ranking_movement" ( "poll" text, "pre_season" text, "mar_3" text, "mar_17" text, "mar_24" text, "mar_31" text, "april_7" text, "april_14" text, "april_21" text, "april_28" text, "may...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ranking_movement" ( "poll" text, "pre_season" text, "mar_3" text, "mar_17" text, "mar_24" text, "mar_31" text, "april_7" text, "april_14" text, "april_21" text, "april_28" text, "may...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ranking_movement" ( "poll" text, "pre_season" text, "mar_3" text, "mar_17" text, "mar_24" text, "mar_31" text, "april_7" text, "april_14" text, "april_21" text, "april_28" text, "may...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "wins" real, "poles" real, "podiums" real, "position" text ); Question: What is the total number of Podiums, when Position is "2nd", when Wins is less than 6, a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "wins" real, "poles" real, "podiums" real, "position" text ); Question: What is the sum of Poles, when Season is greater than 2004, and when Podiums is less tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "wins" real, "poles" real, "podiums" real, "position" text ); Question: What is the average Poles, when Wins is 0, when Position is "nc", and when Season is bef...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" real, "wins" real, "poles" real, "podiums" real, "position" text ); Question: What is the sum of Poles, when Season is before 2005, when Position is "2nd", and when W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current" ( "name" text, "pos" text, "height" text, "weight" text, "2012_club" text ); Question: What is the 2012 club of the cf pos. player? <|assistant|> SELECT "2012_club" FROM "current" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "members" ( "institution" text, "nickname" text, "location" text, "founded" real, "years_in_the_acc" text, "school_type" text, "enrollment" real ); Question: What are the years in the ACC of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_35_20_15" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partnering" text, "opponent" text, "score" text ); Question: Who was the partner for the tournament in L...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_35_20_15" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partnering" text, "opponent" text, "score" text ); Question: Who were the opponents for the event in Mil...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real ); Question: What was the record on the date of december 1, 19...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real ); Question: What was the record on the date of september 15, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "opponent" text, "result" text, "game_site" text, "record" text, "attendance" real ); Question: What was the record on the date of november 10, 1...
<|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_assists" text, "location_attendance" text, "record" text ); Question: What was the first game pl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_average_1" real, "points_2" real ); Question: What i...
<|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 "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 "nba_draft" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text ); Question: Which round was Joe Taylor selected in? <|assistant|> SELECT SUM("round") FROM "nba_draft"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_draft" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text ); Question: Which player went to Wake Forest and was selected with a pick after 145? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_draft" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text ); Question: How many picks were from round 6? <|assistant|> SELECT COUNT("pick") FROM "nba_draft" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_draft" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text ); Question: What is the largest round of a pick smaller than 92 from Toledo University? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nba_draft" ( "round" real, "pick" real, "player" text, "nationality" text, "college" text ); Question: Which nationality is Dick Walker? <|assistant|> SELECT "nationality" FROM "nba_draft" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What college has a pick greater than 4 and an overall...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the overall sum of round 3? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the position of the player with a round less ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the position of the player from the college o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the sum of the pick in round 17? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What was the 1st leg when team 2 was nov milenium? <|assistant|> SELECT "1st_leg" FROM "sec...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What was the 1st leg for a team 1 of Teteks? <|assistant|> SELECT "1st_leg" FROM "second_ro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cities_between_100_000_and_1_000_000_pop" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real ); Question: What is the sum of Date of Of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cities_between_100_000_and_1_000_000_pop" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real ); Question: What is the total number of R...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cities_between_100_000_and_1_000_000_pop" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real ); Question: What is the sum of Rank, when...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cities_between_100_000_and_1_000_000_pop" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real ); Question: What is the highest Rank, whe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cities_between_100_000_and_1_000_000_pop" ( "rank" real, "city" text, "province" text, "date_of_official_foundation_of_municipality" real, "2006" real ); Question: What is Province, when 2006 i...
<|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" text ); Question: what is the place when the score is 68-70-68=206? <|assistant|> SELECT "place" FROM "third_r...
<|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" text ); Question: what is the country when the score is 71-65-69=205? <|assistant|> SELECT "country" FROM "thi...
<|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" text ); Question: what is the country when the score is 72-68-67=207? <|assistant|> SELECT "country" FROM "thi...
<|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" text ); Question: what is the country when the score is 68-72-67=207? <|assistant|> SELECT "country" FROM "thi...
<|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" text ); Question: who is the player when the place is t5 and the score is 69-66-71=206? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "pos" text, "class" text, "entrant" text, "drivers" text, "laps" real ); Question: What was the highest amount of laps when the class was v8 and the entrant was diet-coke racing? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senior_team_season_records" ( "season" text, "division" text, "wins" text, "ties" text, "final_position" text ); Question: What is the tie with a win of 0? <|assistant|> SELECT "ties" FROM "sen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senior_team_season_records" ( "season" text, "division" text, "wins" text, "ties" text, "final_position" text ); Question: What is the final position with ties of 0, and wins of 5? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senior_team_season_records" ( "season" text, "division" text, "wins" text, "ties" text, "final_position" text ); Question: What are the ties for division of bafl division two south? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senior_team_season_records" ( "season" text, "division" text, "wins" text, "ties" text, "final_position" text ); Question: What is the final position for the season 2008? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senior_team_season_records" ( "season" text, "division" text, "wins" text, "ties" text, "final_position" text ); Question: What is the final position for the season 2012? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "senior_team_season_records" ( "season" text, "division" text, "wins" text, "ties" text, "final_position" text ); Question: What is the division with wins of 2? <|assistant|> SELECT "division" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overview" ( "club" text, "location" text, "stadium" text, "capacity" real, "manager" text ); Question: What is the Location of the Hietalahti Stadium? <|assistant|> SELECT "location" FROM "over...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overview" ( "club" text, "location" text, "stadium" text, "capacity" real, "manager" text ); Question: What is the Location of the Tapiolan Urheilupuisto Stadium with a Capacity or more than 15...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overview" ( "club" text, "location" text, "stadium" text, "capacity" real, "manager" text ); Question: What is the Location of the Stadium where Job Dragtsma is Manager? <|assistant|> SELECT "l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinals" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text, "react" real ); Question: what is the react when the lane is 3 and heat is 2? <|assistant|> SELECT "react" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinals" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text, "react" real ); Question: what is the highest lane number for johan wissman when the react is less than 0.242...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinals" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text, "react" real ); Question: what is the heat when the country is united kingdom and react is less than 0.232? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinals" ( "heat" real, "lane" real, "name" text, "country" text, "mark" text, "react" real ); Question: what is the react when the country is sweden and the lane is higher than 6? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_record" ( "season" text, "competition" text, "round" text, "club" text, "1st_leg" text, "2nd_leg" text ); Question: What is the 1st leg of the UEFA Champions League Compeition in the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_record" ( "season" text, "competition" text, "round" text, "club" text, "1st_leg" text, "2nd_leg" text ); Question: Which season has the Renova Club? <|assistant|> SELECT "season" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_record" ( "season" text, "competition" text, "round" text, "club" text, "1st_leg" text, "2nd_leg" text ); Question: Which season has the Werder Bremen Club and is in Round 2r? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_record" ( "season" text, "competition" text, "round" text, "club" text, "1st_leg" text, "2nd_leg" text ); Question: Which round is the UEFA Cup Compeition and the Kolkheti-1913 Poti ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "color_standards" ( "ntsc_m" text, "pal_b_g_h" text, "pal_i" text, "pal_n" text, "pal_m" text ); Question: What is the PAL B, G, H for the PAL I 4.43361875mhz? <|assistant|> SELECT "pal_b_g_h" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "color_standards" ( "ntsc_m" text, "pal_b_g_h" text, "pal_i" text, "pal_n" text, "pal_m" text ); Question: Which PAL has a PAL B, G, H of 4.43361875mhz? <|assistant|> SELECT "pal_n" FROM "color_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "color_standards" ( "ntsc_m" text, "pal_b_g_h" text, "pal_i" text, "pal_n" text, "pal_m" text ); Question: Which PAL M has a PAL I of 50HZ? <|assistant|> SELECT "pal_m" FROM "color_standards" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "color_standards" ( "ntsc_m" text, "pal_b_g_h" text, "pal_i" text, "pal_n" text, "pal_m" text ); Question: What is the NTSC M for Pal M 525/60? <|assistant|> SELECT "ntsc_m" FROM "color_standard...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "color_standards" ( "ntsc_m" text, "pal_b_g_h" text, "pal_i" text, "pal_n" text, "pal_m" text ); Question: What is the PAL M for the NTSC M 4.5mhz? <|assistant|> SELECT "pal_m" FROM "color_stand...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "accolades" ( "publication" text, "country" text, "accolade" text, "year" real, "rank" real ); Question: What is the sum of Year, when Rank is less than 19? <|assistant|> SELECT SUM("year") FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "accolades" ( "publication" text, "country" text, "accolade" text, "year" real, "rank" real ); Question: What is the sum of Year, when Publication is "VH1", and when Rank is greater than 11? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "accolades" ( "publication" text, "country" text, "accolade" text, "year" real, "rank" real ); Question: What is Accolade, when Year is less than 2002, when Publication is "Rolling Stone", and w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "accolades" ( "publication" text, "country" text, "accolade" text, "year" real, "rank" real ); Question: What is the lowest Year, when Rank is greater than 85? <|assistant|> SELECT MIN("year") F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "accolades" ( "publication" text, "country" text, "accolade" text, "year" real, "rank" real ); Question: What is Accolade, when Country is "United States", and when Year is "1999"? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" real, "player" text, "nationality" text, "school_club_team" text ); Question: What is Pick, when Player is "Dexter Bailey"? <|assistant|> SELECT "pick" FROM ...