text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "population" ( "year" real, "population_region_total" real, "population_maryborough" real, "population_hervey_bay" real, "population_woocoo" real, "population_tiaro" real ); Question: Name the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real ); Question: Which manufacturer made Shoya Tomizawa's motorcycle? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real ); Question: How many laps were ridden in the race that had a Time/Retired of +37.351? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "125cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real ); Question: How many laps did Mattia Pasini ride? <|assistant|> SELECT MIN("laps") FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "notable_players" ( "nationality" text, "position" text, "leeds_career" text, "appearances" real, "goals" real ); Question: What position does the player who has made 244 appearances with a Leed...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "notable_players" ( "nationality" text, "position" text, "leeds_career" text, "appearances" real, "goals" real ); Question: What position does the Wales player who made more than 167 appearances...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "notable_players" ( "nationality" text, "position" text, "leeds_career" text, "appearances" real, "goals" real ); Question: What is the average number of goals for a player who had a Leeds caree...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "alma_mater" ( "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text ); Question: Who attended the school in 2008, that Deandria Hill attended in 2005? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "alma_mater" ( "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text ); Question: Who attended the school in 2006, that Jasmine Wilson attended in 2005? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "alma_mater" ( "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text ); Question: Who attended the school in 2009, that Lakita Hall attended in 2007? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "alma_mater" ( "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text ); Question: Who attended the school in 2007, that Kiara Spivey attended in 2008? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "alma_mater" ( "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text ); Question: Who attended the school in 2006, that Whitney Powell attended in 2007? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "alma_mater" ( "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text ); Question: Who attended the school in 2008, that Brikajdri Wilson attended in 2006? <|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" text ); Question: What is the lowest rank of a swimmer named Elizabeth Van Welie with a lane larger than 5? <|as...
<|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" text ); Question: What is the rank of the swimmer with a time of 2:11.83? <|assistant|> SELECT "rank" FROM "semi...
<|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" text ); Question: What is the lowest lane of a swimmer with a time of 2:07.57 and a rank larger than 1? <|assist...
<|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" text ); Question: What is the rank of the swimmer named Petria Thomas? <|assistant|> SELECT "rank" FROM "semifin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_stage" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real, "group_position" text ); Question: How many people were in attendance when the group position w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_stage" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real, "group_position" text ); Question: What was the final score agains Dynamo Kyiv, when the group ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_stage" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real, "group_position" text ); Question: What was the average attendance on 18 October 2000? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: In 2007, what player won player of the year? <|assistant|> SELECT "pl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: What year(s) did Mike Weir win player of the year? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "made_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" text, "finish" text ); Question: The To par of +14 was won in what year(s)? <|assistant|> SELECT "year...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What is the result when the competition is 1982 president's cup? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What is the score when the date is December 14, 1985? <|assistant|> SELECT "score"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What is the venue when the date is September 24, 1980? <|assistant|> SELECT "venue...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What is the venue when the result is 2-0, and the score is 1 goal, and the competi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What is the venue when the score is 1 goal, and the date is August 27, 1980? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What is the result when the date is August 27, 1980? <|assistant|> SELECT "result"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_european_formula_two_championsh" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What year shows the Entrant of bmw motorsport? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_european_formula_two_championsh" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: Which Entrant of stp march engineering scored the lowest point...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_european_formula_two_championsh" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What year had the Chassis of march 762 and more than 0 points?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_european_formula_two_championsh" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: Which engine of bmw had the lowest points and chassis of march...
<|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: Name the record when the attendance was more than 20,228 and rockies was the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_sports_teams_in_florida" ( "school" text, "nickname" text, "city" text, "affiliation" text, "conference" text, "national_championships" real ); Question: Which Conference has a City o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_sports_teams_in_florida" ( "school" text, "nickname" text, "city" text, "affiliation" text, "conference" text, "national_championships" real ); Question: Which School has a National C...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_sports_teams_in_florida" ( "school" text, "nickname" text, "city" text, "affiliation" text, "conference" text, "national_championships" real ); Question: Which school has National Cha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "win_pct" text ); Question: What is the win percentage when 2011 shows 1r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "win_pct" text ); Question: What shows for 2009 when 25 shows for 2011? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "win_pct" text ); Question: What shows for 2010 when 2011 is 1r at the US...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "win_pct" text ); Question: What is the win percentage when 2010 was 98? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "win_pct" text ); Question: What shows for 2008 at the Shanghai tournamen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "win_pct" text ); Question: What is the win percentage for the 2012 of ol...
<|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, "round" real, "time" text, "location" text ); Question: Who was the opponent in the match that lasted...
<|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, "round" real, "time" text, "location" text ); Question: Which round did the bout against Jonatas Nova...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sports" ( "club" text, "league" text, "sport" text, "venue" text, "established" real, "championships" real ); Question: Name the average established for championships less than 1 and club of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sports" ( "club" text, "league" text, "sport" text, "venue" text, "established" real, "championships" real ); Question: Name the most championships for club of erie seawolves <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sports" ( "club" text, "league" text, "sport" text, "venue" text, "established" real, "championships" real ); Question: Name the sport with championships less than 1 and club of erie bayhawks...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "game" real, "date" text, "location" text, "time" text, "attendance" real ); Question: what is the date for game 3? <|assistant|> SELECT "date" FROM "summary" WHERE "game"=3;<|endoft...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "titles_in_the_neo_geo_online_collection_" ( "vol" text, "english_title" text, "japanese_title" text, "release_date_japan" text, "sony_catalog_no" text ); Question: What is the English title of ...
<|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 ); Question: Who was the opponent when there was a loss of Francisco (1-1)? <|assistant|> SELECT "opponent...
<|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 ); Question: On what date was the attendance 17,136? <|assistant|> SELECT "date" FROM "game_log" WHERE "at...
<|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 ); Question: Who was the opponent during the game with a score of 6-5 and a loss of White (2-1)? <|assista...
<|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 ); Question: What was the score for the game that had an attendance of 41,087? <|assistant|> SELECT "score...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text ); Question: When the game had a loss of Koch (0-1) what was the attendance? <|assistant|> SELECT "attenda...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_mexican_municipalities" ( "inegi_code" real, "municipality" text, "municipal_seat" text, "population_2010" real, "area_km2" real ); Question: What is the inegi code for mexicali with 13...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "premier_league" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real, "league_position" text ); Question: What is the date of the away game when the team has a le...
<|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 Score has an Attendance larger than 13,175 and a Record of 18-16? <|as...
<|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: On May 17, what is the highest Attendance? <|assistant|> SELECT MAX("attenda...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What is the highest number of points for the Modena Team Spa after 1991? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What was the earliest year for the Ligier Gitanes? <|assistant|> SELECT MI...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_5" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" real, "investing_dragon_s" text ); Question: Which company or product ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_5" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" real, "investing_dragon_s" text ); Question: In episode 7 what was the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_5" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" real, "investing_dragon_s" text ); Question: How much money did reesto...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_5" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" real, "investing_dragon_s" text ); Question: How much money did gaming...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); Question: Who is the winner of the prize of €93,000? <|assistant|> SELECT "winner" FROM "european_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); Question: Who is the winner of the prize of £200,000 as listed? <|assistant|> SELECT "winner" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_poker_tour" ( "date" text, "city" text, "event" text, "winner" text, "prize" text ); Question: Ram Vaswani was a winner on what date? <|assistant|> SELECT "date" FROM "european_poker_t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_podiums" ( "season" real, "date" text, "location" text, "race" text, "place" text ); Question: Which race resulted in 2nd place in the 1996 season on 20-Jan-1996? <|assistant|> SELECT "rac...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_podiums" ( "season" real, "date" text, "location" text, "race" text, "place" text ); Question: What is the place result of the downhill race before the 1996 season on 11-Mar-1995? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_podiums" ( "season" real, "date" text, "location" text, "race" text, "place" text ); Question: What place result was the 1996 season at Lake Louise, Canada? <|assistant|> SELECT "place" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: What is the Record that has a Home of detroit red wings, and a Score of 1–2 on december 29? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "record" text ); Question: Whose Visitor has a Record of 10–11–5? <|assistant|> SELECT "visitor" FROM "regular_season" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season" ( "rank" real, "player" text, "county" text, "tally" text, "total" real, "matches" real, "average" real ); Question: What is the typical match smaller than 2? <|assistant|> SELECT A...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season" ( "rank" real, "player" text, "county" text, "tally" text, "total" real, "matches" real, "average" real ); Question: What are the total number of matches smaller than 2 with a tally...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season" ( "rank" real, "player" text, "county" text, "tally" text, "total" real, "matches" real, "average" real ); Question: What is the average total in the county of tipperary with a rank...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real ); Question: What is the Qual with less than 68 laps? <|assistant|> SELECT "qual" FROM "ind...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_500_results" ( "year" text, "start" text, "qual" text, "rank" text, "finish" text, "laps" real ); Question: The 147.481 Qual, happened in what year? <|assistant|> SELECT "year" FROM "ind...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_of_needs" ( "need" text, "being_qualities" text, "having_things" text, "doing_actions" text, "interacting_settings" text ); Question: Name the being for having things of language...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_of_needs" ( "need" text, "being_qualities" text, "having_things" text, "doing_actions" text, "interacting_settings" text ); Question: Name the having things for privacy, intimate...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_of_needs" ( "need" text, "being_qualities" text, "having_things" text, "doing_actions" text, "interacting_settings" text ); Question: Name the interacting for need of protection ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_of_needs" ( "need" text, "being_qualities" text, "having_things" text, "doing_actions" text, "interacting_settings" text ); Question: Name the interacting settings for co-operate...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_of_needs" ( "need" text, "being_qualities" text, "having_things" text, "doing_actions" text, "interacting_settings" text ); Question: Name the being qualities for having things o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_of_needs" ( "need" text, "being_qualities" text, "having_things" text, "doing_actions" text, "interacting_settings" text ); Question: Name the being qualities for having things o...
<|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, "time" text, "record" text ); Question: What was the attendance for the game that went 2:42? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "name" text, "team" text, "laps" real, "time_retired" text, "grid" real, "points" real ); Question: How many laps for sébastien bourdais, and a Grid smaller than 1? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "challenger_and_futures_runner_up_5" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What was the score in the match against Kim Tiilikainen? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "challenger_and_futures_runner_up_5" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What was the date of the match against Jean-Julien Rojer, on a c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "challenger_and_futures_runner_up_5" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Which tournament had a hard surface? <|assistant|> SELECT "tourn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_5_13" ( "outcome" text, "date" text, "surface" text, "opponent" text, "score" text ); Question: What is the surface of the match when the outcome was runner-up, and a Score of julia gör...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_5_13" ( "outcome" text, "date" text, "surface" text, "opponent" text, "score" text ); Question: What was the surface of the match when the score was akgul amanmuradova chuang chia-jung?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_5_13" ( "outcome" text, "date" text, "surface" text, "opponent" text, "score" text ); Question: What date was the surface hard and Eva Hrdinová was the opponent? <|assistant|> SELECT "d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_5_13" ( "outcome" text, "date" text, "surface" text, "opponent" text, "score" text ); Question: What was the surface of the match against bethanie mattek-sands? <|assistant|> SELECT "su...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_dragons" ( "series_1" text, "series_2" text, "series_3" text, "series_5" text, "series_9" text, "series_11" text ); Question: What series 1 has a Doug Richards in Series 2? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_dragons" ( "series_1" text, "series_2" text, "series_3" text, "series_5" text, "series_9" text, "series_11" text ); Question: Who in series 1 corresponds with Peter Jones in series 5? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_dragons" ( "series_1" text, "series_2" text, "series_3" text, "series_5" text, "series_9" text, "series_11" text ); Question: Who in series 5 corresponds to Deborah Meaden in series 3? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_dragons" ( "series_1" text, "series_2" text, "series_3" text, "series_5" text, "series_9" text, "series_11" text ); Question: Who in series 11 corresponds to Peter Jones in series 1? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_dragons" ( "series_1" text, "series_2" text, "series_3" text, "series_5" text, "series_9" text, "series_11" text ); Question: Who in series 9 corresponds to Peter Jones in series 2? <|ass...
<|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 was the score of the game when the Blue Jays were 55-39? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championships" ( "event" text, "individual" text, "sprint" text, "pursuit" text, "mass_start" text, "relay" text ); Question: Who was the individual in the event of 1998 Pokljuka? <|ass...