text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_four" ( "pick_num" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: What Nationality is Dave Hynes? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_four" ( "pick_num" text, "player" text, "position" text, "nationality" text, "nhl_team" text, "college_junior_club_team" text ); Question: The Estevan Bruins (WCHL) are affiliated with ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "head_to_head_records_against_other_count" ( "games" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_differential" text ); Question: what's the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "head_to_head_records_against_other_count" ( "games" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_differential" text ); Question: what's the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "head_to_head_records_against_other_count" ( "games" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_differential" text ); Question: for a Goals...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_9_8_1" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What tournament happened on 12 november 2006? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_9_8_1" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: what was the score on 6 june 2010? <|assistant|> SELECT "score" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "belfast_and_county_down_railway" ( "type" text, "fleet_numbers" text, "quantity_made" text, "manufacturer" text, "date_made" text ); Question: When was the railmotor made? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "belfast_and_county_down_railway" ( "type" text, "fleet_numbers" text, "quantity_made" text, "manufacturer" text, "date_made" text ); Question: What are the fleet number for the 4-6-4t locomotiv...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_results" ( "season" text, "series" text, "team" text, "races" text, "wins" text, "fast_laps" text, "points" text, "pos" text ); Question: How many fast laps have 0 points in the Wo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_results" ( "season" text, "series" text, "team" text, "races" text, "wins" text, "fast_laps" text, "points" text, "pos" text ); Question: How many fast laps are in 6 races with 30 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_results" ( "season" text, "series" text, "team" text, "races" text, "wins" text, "fast_laps" text, "points" text, "pos" text ); Question: Which team has the points category of test...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_results" ( "season" text, "series" text, "team" text, "races" text, "wins" text, "fast_laps" text, "points" text, "pos" text ); Question: What is the position with 0 points in Seas...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "democratic_primary" ( "poll_source" text, "dates_administered" text, "dianne_feinstein" text, "jerry_brown" text, "antonio_villaraigosa" text, "gavin_newsom" text, "john_garamendi" text, "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "democratic_primary" ( "poll_source" text, "dates_administered" text, "dianne_feinstein" text, "jerry_brown" text, "antonio_villaraigosa" text, "gavin_newsom" text, "john_garamendi" text, "...
<|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, "rank" text, "wins" real ); Question: Name the least year for wins more than 0 <|assistant|> SELECT MIN...
<|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, "rank" text, "wins" real ); Question: Name the least wins for 6 points <|assistant|> SELECT MIN("wins")...
<|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, "rank" text, "wins" real ); Question: Name the wins for 1963 bultaco <|assistant|> SELECT "wins" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "prize_winners" ( "year" real, "film" text, "director" text, "nationality_of_director" text, "award" text ); Question: Year larger than 2008, and a Nationality of director of lebanon is what dir...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "prize_winners" ( "year" real, "film" text, "director" text, "nationality_of_director" text, "award" text ); Question: ilm of taukukauppiaat has how many total number of years? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "prize_winners" ( "year" real, "film" text, "director" text, "nationality_of_director" text, "award" text ); Question: Award of troisième prix, and a Year smaller than 2010, and a Director of ja...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "prize_winners" ( "year" real, "film" text, "director" text, "nationality_of_director" text, "award" text ); Question: Film of um sol alaranjado director is what nationality? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is the position for round 5 from alabama stat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: what is the pick # when overall is more than 131, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: what is the highest round for anthony gonzalez? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: How many times is brannon condren with and overall...
<|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: Which rider has the time of +31.426? <|assistant|> SELECT "rider" FROM "m...
<|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 is the grid for the rider who rides a Suzuki and has the time of +1:...
<|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 score for Australia with a place of 4? <|assistant|> SELECT "score" FROM "third_...
<|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 of To par of e when Arron Oberholser was the player ? <|assistant|> SELECT...
<|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 score with a place of t6 for the player k.j. choi? <|assistant|> SELECT "score" ...
<|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 for the player Tiger Woods? <|assistant|> SELECT "country" 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 name of the player with a score of 72-68-70=210? <|assistant|> SELECT "player" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What is the name of the player with t6 as his place and a country of United states? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "150_yuan" ( "year" real, "denomination" text, "reverse" text, "weight" text, "diameter" text, "fineness" text, "series" text ); Question: What is the fineness of the 2008 chinese cuju sport...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "150_yuan" ( "year" real, "denomination" text, "reverse" text, "weight" text, "diameter" text, "fineness" text, "series" text ); Question: What's the diameter of the 2006 equestrian Reverse?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "150_yuan" ( "year" real, "denomination" text, "reverse" text, "weight" text, "diameter" text, "fineness" text, "series" text ); Question: What denomination was produced in 2006? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "150_yuan" ( "year" real, "denomination" text, "reverse" text, "weight" text, "diameter" text, "fineness" text, "series" text ); Question: What was the fineness prior to 2007? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "150_yuan" ( "year" real, "denomination" text, "reverse" text, "weight" text, "diameter" text, "fineness" text, "series" text ); Question: What does the ii Series weigh? <|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: What loss has 10-16 as the record? <|assistant|> SELECT "loss" FROM "game_lo...
<|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 least attendance that has 3-5 as a record? <|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: What is the average attendance for the date of april 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: Which opponent has april 2 as the date? <|assistant|> SELECT "opponent" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_fleet_size" ( "rank" real, "airline" text, "country" text, "fleet_size" real, "remarks" text ); Question: What is the Remark of Airline of Dutch Antilles Express? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "title" text, "result" text ); Question: What Category has a Year that's smaller than 2006, has Result of Nominated, and a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "title" text, "result" text ); Question: What is recorded as the lowest Year that has the Title of Cold Feet? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "title" text, "result" text ); Question: What Category has a Result of Nominated, Year of 2006, and the Title of Pierrepoin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "title" text, "result" text ); Question: What Title is listed for the Year of 1999? <|assistant|> SELECT "title" FROM "awar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "year" real, "award" text, "category" text, "title" text, "result" text ); Question: What is the total number of Year for the Title of The Queen, has an Award of Briti...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1942" ( "date" text, "opponent" text, "city" text, "result" text, "score" text ); Question: What was the date of the game against Northwestern? <|assistant|> SELECT "date" FROM "1942" WHERE "op...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1942" ( "date" text, "opponent" text, "city" text, "result" text, "score" text ); Question: Who was the opponent when the city was Louisville? <|assistant|> SELECT "opponent" FROM "1942" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1942" ( "date" text, "opponent" text, "city" text, "result" text, "score" text ); Question: What was the score of the game against Minnesota? <|assistant|> SELECT "score" FROM "1942" WHERE "opp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: On what date was a friendly competition and a result of 3–0? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: When was the score 1–0, and the result 4–0? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What was the result at dakar , senegal, on 3 september 2011, and wi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: Which time has a Rank larger than 3, and a Name of andrey kapralov? <|assistant|> SELECT "time...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: Which Nationality has a Name of igor koleda? <|assistant|> SELECT "nationality" FROM "semifina...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "largest_nordic_companies_according_to_fo" ( "rank" text, "company" text, "headquarters" text, "industry" text, "revenue_billion" real, "profits_billion" real, "s_asset_billion" real, "mark...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "largest_nordic_companies_according_to_fo" ( "rank" text, "company" text, "headquarters" text, "industry" text, "revenue_billion" real, "profits_billion" real, "s_asset_billion" real, "mark...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_15_8_7" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: Name the date for zi yan jie zheng opponent <|assistant|> SELECT "da...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_15_8_7" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: Name the partner for 14 october 2007 <|assistant|> SELECT "partner" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_15_8_7" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: Name the partner for opponents of alexandra dulgheru magdaléna rybár...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_15_8_7" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: Name the opponents for 24 july 2011 <|assistant|> SELECT "opponents"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: What is Ken Walter's lowest pick number with an ov...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_2_physical_properties_of_polypheny" ( "polyphenyl_ether" text, "appearance" text, "thermal_stability_f_c" text, "viscosity_c_st_at_100_f_38_c" real, "viscosity_c_st_at_210_f_99_c" real ); ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stage_results" ( "date" text, "course" text, "distance" text, "winner" text, "race_leader" text ); Question: How long was the course from Naples to Foggia? <|assistant|> SELECT "distance" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_17_14_titles_3_runners_up" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Name the score with opponent of milos raonic <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_17_14_titles_3_runners_up" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Name the date with a hard surface and tournamen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_17_14_titles_3_runners_up" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Name the outcome with tournament of mexico f12,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_17_14_titles_3_runners_up" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Name the tournament for march 25, 2012 <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_12_7_5" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: What was the final score for the August ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What is the average year of an entrant that had fewer than 6 p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What entrant had a Maserati 250F chassis and fewer than 6 poin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What chassis has a year of 1951? <|assistant|> SELECT "chassis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What is the chassis of Officine Alfieri Maserati with a Masera...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real ); Question: Which lane has a time less than 49.67, is from Michael Klim and less than 1 rank? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real ); Question: What is the lowest lane with Lorenzo Vismara and a time higher than 49.67? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: Who was the visitor on January 24? <|assistant|> SELECT "vi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text ); Question: Who was the home team on January 8? <|assistant|> SELECT "h...
<|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" text, "record" text ); Question: Who was the Opponent when the Attendance was 38,150? <|assistant|> SELECT "o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "nickname" text, "current_conference" text, "classification" text ); Question: Where is NCAA division ii Franklin Pierce University locate...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "nickname" text, "current_conference" text, "classification" text ); Question: Post University has what nickname? <|assistant|> SELECT "ni...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "nickname" text, "current_conference" text, "classification" text ); Question: The River Hawks belonged to what current conference? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "nickname" text, "current_conference" text, "classification" text ); Question: What is the nickname of the school located in Manchester, N...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "nickname" text, "current_conference" text, "classification" text ); Question: What is the classification for the school in the NEC Confer...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "former_members" ( "institution" text, "location" text, "nickname" text, "current_conference" text, "classification" text ); Question: What institution is a NCAA Division i school and part of th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What was the record at the home of the Montreal Maroons <|assistant|> SELECT "record" FROM "game_l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "num_county" text, "enrollment_08_09" real, "ihsaa_class" text, "year_joined" real, "previous_conference" text ); Question: wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "num_county" text, "enrollment_08_09" real, "ihsaa_class" text, "year_joined" real, "previous_conference" text ); Question: wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "membership" ( "school" text, "location" text, "mascot" text, "num_county" text, "enrollment_08_09" real, "ihsaa_class" text, "year_joined" real, "previous_conference" text ); Question: wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "name" text, "city_state" text, "country" text, "status" text, "status_date" text, "episode_number" text ); Question: Which episode number was associated with Vibhav Gautam? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "name" text, "city_state" text, "country" text, "status" text, "status_date" text, "episode_number" text ); Question: Which city/state was associated with a contestant whose st...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "name" text, "city_state" text, "country" text, "status" text, "status_date" text, "episode_number" text ); Question: Which contestant was associated with episode 34? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "name" text, "city_state" text, "country" text, "status" text, "status_date" text, "episode_number" text ); Question: What is the status of the city/state of Indor, Madhya Prad...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1934" ( "title" text, "studio" text, "role" text, "leading_lady" text, "director" text ); Question: What role did John Wayne play in The Trail Beyond, directed by R.N. Bradbury? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1934" ( "title" text, "studio" text, "role" text, "leading_lady" text, "director" text ); Question: Who directed the movie The Star Packer? <|assistant|> SELECT "director" FROM "1934" WHERE "ti...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1934" ( "title" text, "studio" text, "role" text, "leading_lady" text, "director" text ); Question: What role did John Wayne play in The Lawless Frontier, with Sheila Terry as the leading lady?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1934" ( "title" text, "studio" text, "role" text, "leading_lady" text, "director" text ); Question: In what movie did John Wayne play the role of Chris Morrell? <|assistant|> SELECT "title" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1934" ( "title" text, "studio" text, "role" text, "leading_lady" text, "director" text ); Question: What role did John Wayne play with Verna Hillie as the leading lady? <|assistant|> SELECT "ro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1934" ( "title" text, "studio" text, "role" text, "leading_lady" text, "director" text ); Question: Who directed the movie when John Wayne played the role of John Travers? <|assistant|> SELECT ...