text
stringlengths 411
1.74k
|
---|
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text );. Question: "How many spectators attended the game that ended in a result of w29-7?". [/INST] SELECT "attendance" FROM "schedule" WHERE "result"='w29-7';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "Which Place has a To par of –8?". [/INST] SELECT "place" FROM "final_round" WHERE "to_par"='–8';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "Which Score has a Place of 3?". [/INST] SELECT "score" FROM "final_round" WHERE "place"='3';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "Which average money has a Score of 69-72-72-72=285?". [/INST] SELECT AVG("money") FROM "final_round" WHERE "score"='69-72-72-72=285';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "Which Score has a Place of t6, and a Country of paraguay?". [/INST] SELECT "score" FROM "final_round" WHERE "place"='t6' AND "country"='paraguay';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );. Question: "What are the total rounds for the texas college and has a pick smaller than 25?". [/INST] SELECT COUNT("round") FROM "washington_redskins_draft_history" WHERE "college"='texas' AND "pick"<25;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "overall" real, "name" text, "position" text, "college" text );. Question: "What top round has a pick smaller than 2?". [/INST] SELECT MAX("round") FROM "washington_redskins_draft_history" WHERE "pick"<2;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "playoffs" ( "date" text, "opponent" text, "score" text, "result" text, "record" text );. Question: "WHAT IS THE RESULT WITH A SCORE OF 70-73?". [/INST] SELECT "result" FROM "playoffs" WHERE "score"='70-73';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "playoffs" ( "date" text, "opponent" text, "score" text, "result" text, "record" text );. Question: "What is the date with score of 66-62?". [/INST] SELECT "date" FROM "playoffs" WHERE "score"='66-62';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "playoffs" ( "date" text, "opponent" text, "score" text, "result" text, "record" text );. Question: "WHAT IS THE SCORE WITH A RECORD OF 1-0?". [/INST] SELECT "score" FROM "playoffs" WHERE "record"='1-0';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "playoffs" ( "date" text, "opponent" text, "score" text, "result" text, "record" text );. Question: "WHAT IS THE OPPONENT WITH A SCORE OF 72-63?". [/INST] SELECT "opponent" FROM "playoffs" WHERE "score"='72-63';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1928_29_season_as_a_two_year_old" ( "result" text, "race" text, "distance" text, "weight" real, "winner_or_2nd" text, "pos_n" text );. Question: "What is the weight number when the distance was 5 ½ f?". [/INST] SELECT COUNT("weight") FROM "1928_29_season_as_a_two_year_old" WHERE "distance"='5 ½ f';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1928_29_season_as_a_two_year_old" ( "result" text, "race" text, "distance" text, "weight" real, "winner_or_2nd" text, "pos_n" text );. Question: "What was the distance when the weight was 6.11?". [/INST] SELECT "distance" FROM "1928_29_season_as_a_two_year_old" WHERE "weight"=6.11;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1928_29_season_as_a_two_year_old" ( "result" text, "race" text, "distance" text, "weight" real, "winner_or_2nd" text, "pos_n" text );. Question: "What was the race when the winner of 2nd was Voleuse?". [/INST] SELECT "race" FROM "1928_29_season_as_a_two_year_old" WHERE "winner_or_2nd"='voleuse';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1928_29_season_as_a_two_year_old" ( "result" text, "race" text, "distance" text, "weight" real, "winner_or_2nd" text, "pos_n" text );. Question: "What was the name of the winner or 2nd when the result was –, and weight was 6.7?". [/INST] SELECT "winner_or_2nd" FROM "1928_29_season_as_a_two_year_old" WHERE "result"='–' AND "weight"=6.7;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1928_29_season_as_a_two_year_old" ( "result" text, "race" text, "distance" text, "weight" real, "winner_or_2nd" text, "pos_n" text );. Question: "What is the largest weight wth a Result of –, and a Distance of 7f?". [/INST] SELECT MAX("weight") FROM "1928_29_season_as_a_two_year_old" WHERE "result"='–' AND "distance"='7f';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "1928_29_season_as_a_two_year_old" ( "result" text, "race" text, "distance" text, "weight" real, "winner_or_2nd" text, "pos_n" text );. Question: "What is the the name of the winner or 2nd with a weight more than 7.3, and the result was –?". [/INST] SELECT "winner_or_2nd" FROM "1928_29_season_as_a_two_year_old" WHERE "weight">7.3 AND "result"='–';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_count" ( "nation" text, "gold" text, "silver" text, "bronze" text, "total" real );. Question: "What is the total number of Total, when Silver is 1, and when Bronze is 7?". [/INST] SELECT COUNT("total") FROM "medal_count" WHERE "silver"='1' AND "bronze"='7';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_count" ( "nation" text, "gold" text, "silver" text, "bronze" text, "total" real );. Question: "What is Bronze, when Silver is 2, and when Nation is Italy?". [/INST] SELECT "bronze" FROM "medal_count" WHERE "silver"='2' AND "nation"='italy';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_count" ( "nation" text, "gold" text, "silver" text, "bronze" text, "total" real );. Question: "What is Gold, when Total is 6?". [/INST] SELECT "gold" FROM "medal_count" WHERE "total"=6;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_count" ( "nation" text, "gold" text, "silver" text, "bronze" text, "total" real );. Question: "What is Gold, when Silver is 5, and when Nation is Belgium?". [/INST] SELECT "gold" FROM "medal_count" WHERE "silver"='5' AND "nation"='belgium';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_count" ( "nation" text, "gold" text, "silver" text, "bronze" text, "total" real );. Question: "What is Gold, when Bronze is 11?". [/INST] SELECT "gold" FROM "medal_count" WHERE "bronze"='11';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polling" ( "poll_source" text, "dates_administered" text, "jim_de_mint_r" text, "alvin_greene_d" text, "tom_clements_g" text, "other" text, "undecided" text );. Question: "Which poll source determined undecided of 5% and Jim DeMint (R) of 58%?". [/INST] SELECT "poll_source" FROM "polling" WHERE "undecided"='5%' AND "jim_de_mint_r"='58%';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polling" ( "poll_source" text, "dates_administered" text, "jim_de_mint_r" text, "alvin_greene_d" text, "tom_clements_g" text, "other" text, "undecided" text );. Question: "Which poll source had an other of 15%?". [/INST] SELECT "poll_source" FROM "polling" WHERE "other"='15%';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polling" ( "poll_source" text, "dates_administered" text, "jim_de_mint_r" text, "alvin_greene_d" text, "tom_clements_g" text, "other" text, "undecided" text );. Question: "What was the vote for Alvin Green when other was 9%?". [/INST] SELECT "alvin_greene_d" FROM "polling" WHERE "other"='9%';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polling" ( "poll_source" text, "dates_administered" text, "jim_de_mint_r" text, "alvin_greene_d" text, "tom_clements_g" text, "other" text, "undecided" text );. Question: "What was the vote for Alvin Green when Jim DeMint was 62%?". [/INST] SELECT "alvin_greene_d" FROM "polling" WHERE "jim_de_mint_r"='62%';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "polling" ( "poll_source" text, "dates_administered" text, "jim_de_mint_r" text, "alvin_greene_d" text, "tom_clements_g" text, "other" text, "undecided" text );. Question: "What was the vote for Alvin Green when other was 9%?". [/INST] SELECT "alvin_greene_d" FROM "polling" WHERE "other"='9%';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "What is the Place of the Player with a To par of –1?". [/INST] SELECT "place" FROM "final_leaderboard" WHERE "to_par"='–1';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "What is the Place of the Player with Money greater than 300 and a Score of 71-69-70-70=280?". [/INST] SELECT "place" FROM "final_leaderboard" WHERE "money">300 AND "score"='71-69-70-70=280';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "What is the Score of the game of the Player in Place 4?". [/INST] SELECT "score" FROM "final_leaderboard" WHERE "place"='4';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "What is the To par of the Player with a Score of 73-70-71-72=286?". [/INST] SELECT "to_par" FROM "final_leaderboard" WHERE "score"='73-70-71-72=286';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "What is the To par of the 4 Place Player?". [/INST] SELECT "to_par" FROM "final_leaderboard" WHERE "place"='4';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real );. Question: "What is the Money of the Player in Place 5?". [/INST] SELECT SUM("money") FROM "final_leaderboard" WHERE "place"='5';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "length" text );. Question: "Who was the arranger of "ขอโทษ"?". [/INST] SELECT "arranger_s" FROM "track_listing" WHERE "title"='\"ขอโทษ\"';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "length" text );. Question: "Who was the arranger for the song that had a lyricist of Sirapatara Kalayapanid?". [/INST] SELECT "arranger_s" FROM "track_listing" WHERE "lyricist_s"='sirapatara kalayapanid';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "track_listing" ( "title" text, "lyricist_s" text, "composer_s" text, "arranger_s" text, "length" text );. Question: "Who was the composer of "ขอโทษ"?". [/INST] SELECT "composer_s" FROM "track_listing" WHERE "title"='\"ขอโทษ\"';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_county" ( "county" text, "kerrypct" text, "kerrynum" real, "bushpct" text, "bushnum" real, "otherspct" text, "othersnum" real );. Question: "What is the lowest Bush#, when Bush% is "65.4%"?". [/INST] SELECT MIN("bushnum") FROM "by_county" WHERE "bushpct"='65.4%';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_county" ( "county" text, "kerrypct" text, "kerrynum" real, "bushpct" text, "bushnum" real, "otherspct" text, "othersnum" real );. Question: "What is the lowest Kerry#, when Others# is "106", and when Bush# is less than 3,188?". [/INST] SELECT MIN("kerrynum") FROM "by_county" WHERE "othersnum"=106 AND "bushnum"<'3,188';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "by_county" ( "county" text, "kerrypct" text, "kerrynum" real, "bushpct" text, "bushnum" real, "otherspct" text, "othersnum" real );. Question: "What is the highest Bush#, when Others% is "1.7%", when Others# is less than 75, and when Kerry# is greater than 1,524?". [/INST] SELECT MAX("bushnum") FROM "by_county" WHERE "otherspct"='1.7%' AND "othersnum"<75 AND "kerrynum">'1,524';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pre_season_and_friendlies" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real );. Question: "When did Manchester United play against Bristol City with an H/A of A?". [/INST] SELECT "date" FROM "pre_season_and_friendlies" WHERE "h_a"='a' AND "opponents"='bristol city';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pre_season_and_friendlies" ( "date" text, "opponents" text, "h_a" text, "result_f_a" text, "attendance" real );. Question: "How many people attended the match when Manchester United played against the Hearts?". [/INST] SELECT SUM("attendance") FROM "pre_season_and_friendlies" WHERE "opponents"='hearts';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "kickoff_time" text, "attendance" text );. Question: "What is the average number of weeks that the opponent was the Denver Broncos?". [/INST] SELECT AVG("week") FROM "schedule" WHERE "opponent"='denver broncos';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "kickoff_time" text, "attendance" text );. Question: "What was the result of the game played on November 23, 2003?". [/INST] SELECT "result" FROM "schedule" WHERE "date"='november 23, 2003';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "kickoff_time" text, "attendance" text );. Question: "What was the kickoff time on week 1?". [/INST] SELECT "kickoff_time" FROM "schedule" WHERE "week"=1;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "appearances_and_goals" ( "squad_no" real, "name" text, "position" text, "league_apps" text, "league_goals" real, "fa_cup_apps" text, "fa_cup_goals" real, "league_cup_apps" text, "league_cup_goals" real, "total_apps" text, "total_goals" real );. Question: "Can you tell me the sum of FA Cup Goals that has the League Cup Goals larger than 0?". [/INST] SELECT SUM("fa_cup_goals") FROM "appearances_and_goals" WHERE "league_cup_goals">0;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "semi_final_2" ( "draw" real, "language" text, "artist" text, "song" text, "english_translation" text, "place" real, "points" real );. Question: "what is the english translation when the Language is english, Draw is smaller than 16, and the Artist is aysel and arash?". [/INST] SELECT "english_translation" FROM "semi_final_2" WHERE "language"='english' AND "draw"<16 AND "artist"='aysel and arash';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "semi_final_2" ( "draw" real, "language" text, "artist" text, "song" text, "english_translation" text, "place" real, "points" real );. Question: "What is the average Points when the artist is kamil mikulčík and nela, and the Place is larger than 18?". [/INST] SELECT AVG("points") FROM "semi_final_2" WHERE "artist"='kamil mikulčík and nela' AND "place">18;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "semi_final_2" ( "draw" real, "language" text, "artist" text, "song" text, "english_translation" text, "place" real, "points" real );. Question: "what is the place when the draw is less than 12 and the artist is quartissimo feat. martina?". [/INST] SELECT SUM("place") FROM "semi_final_2" WHERE "draw"<12 AND "artist"='quartissimo feat. martina';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_3" ( "date" text, "city" text, "event" text, "winner" text, "prize" text );. Question: "What is the date amer sulaiman won?". [/INST] SELECT "date" FROM "season_3" WHERE "winner"='amer sulaiman';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_3" ( "date" text, "city" text, "event" text, "winner" text, "prize" text );. Question: "What event has a $248,004 prize?". [/INST] SELECT "event" FROM "season_3" WHERE "prize"='$248,004';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_3" ( "date" text, "city" text, "event" text, "winner" text, "prize" text );. Question: "What is the date of the event with a $322,280 prize?". [/INST] SELECT "date" FROM "season_3" WHERE "prize"='$322,280';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_3" ( "date" text, "city" text, "event" text, "winner" text, "prize" text );. Question: "What event is in florianopolis?". [/INST] SELECT "event" FROM "season_3" WHERE "city"='florianopolis';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_3" ( "date" text, "city" text, "event" text, "winner" text, "prize" text );. Question: "Who is the winner in the city of lima?". [/INST] SELECT "winner" FROM "season_3" WHERE "city"='lima';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "l" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, "from" text );. Question: "Alton Lister Category:Articles with hCards has what as the listed years?". [/INST] SELECT "years" FROM "l" WHERE "player"='alton lister category:articles with hcards';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "l" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, "from" text );. Question: "Tom Lagarde Category:Articles with hCards used what Jersey Number(s)?". [/INST] SELECT "jersey_number_s" FROM "l" WHERE "player"='tom lagarde category:articles with hcards';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "l" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, "from" text );. Question: "The player from Alief Elsik Hs has what as a nationality?". [/INST] SELECT "nationality" FROM "l" WHERE "from"='alief elsik hs';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "l" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, "from" text );. Question: "Bob Love Category:Articles with hCards is from where?". [/INST] SELECT "from" FROM "l" WHERE "player"='bob love category:articles with hcards';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "calendar" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text );. Question: "What is the fastest lap for Seiji Ara?". [/INST] SELECT "fastest_lap" FROM "calendar" WHERE "winning_driver"='seiji ara';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "calendar" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text );. Question: "On what date does Yuji Tachikawa have the fastest lap in round 1?". [/INST] SELECT "date" FROM "calendar" WHERE "fastest_lap"='yuji tachikawa' AND "round"=1;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text );. Question: "In which venue did he place 3rd in the World Race Walking Cup?". [/INST] SELECT "venue" FROM "achievements" WHERE "competition"='world race walking cup' AND "position"='3rd';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text );. Question: "What were the notes when his position was 10th?". [/INST] SELECT "notes" FROM "achievements" WHERE "position"='10th';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "notes" text );. Question: "In which year did he compete in the Universiade?". [/INST] SELECT "year" FROM "achievements" WHERE "competition"='universiade';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "b" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );. Question: "Which Player has Years for Grizzlies of 2002-2003?". [/INST] SELECT "player" FROM "b" WHERE "years_for_grizzlies"='2002-2003';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "b" ( "player" text, "nationality" text, "position" text, "years_for_grizzlies" text, "school_club_team" text );. Question: "Which Player has position of power forward and School/Club Team of Depaul?". [/INST] SELECT "player" FROM "b" WHERE "position"='power forward' AND "school_club_team"='depaul';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is Nation, when Rank is greater than 2, when Total is greater than 1, and when Bronze is less than 3?". [/INST] SELECT "nation" FROM "medal_table" WHERE "rank">2 AND "total">1 AND "bronze"<3;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the average Silver, when Rank is 5, and when Bronze is less than 1?". [/INST] SELECT AVG("silver") FROM "medal_table" WHERE "rank"=5 AND "bronze"<1;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the lowest Rank, when Nation is Great Britain, and when Bronze is less than 1?". [/INST] SELECT MIN("rank") FROM "medal_table" WHERE "nation"='great britain' AND "bronze"<1;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the total number of Gold, when Silver is 2, and when Total is less than 7?". [/INST] SELECT COUNT("gold") FROM "medal_table" WHERE "silver"=2 AND "total"<7;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the lowest Gold, when Nation is Canada, and when Rank is greater than 4?". [/INST] SELECT MIN("gold") FROM "medal_table" WHERE "nation"='canada' AND "rank">4;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "comparison_of_service_rifles" ( "nation" text, "model" text, "length" text, "barrel_length" text, "weight" text );. Question: "What is Nation, when Model is M1895 & M1897 Carbine?". [/INST] SELECT "nation" FROM "comparison_of_service_rifles" WHERE "model"='m1895 & m1897 carbine';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "comparison_of_service_rifles" ( "nation" text, "model" text, "length" text, "barrel_length" text, "weight" text );. Question: "What is Weight, when Length is 1168mm / 46 in?". [/INST] SELECT "weight" FROM "comparison_of_service_rifles" WHERE "length"='1168mm / 46 in';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "comparison_of_service_rifles" ( "nation" text, "model" text, "length" text, "barrel_length" text, "weight" text );. Question: "What is Length, when Barrel Length is 750mm / 29.5 in?". [/INST] SELECT "length" FROM "comparison_of_service_rifles" WHERE "barrel_length"='750mm / 29.5 in';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "regular_season" ( "date" text, "visitor" text, "score" text, "home" text, "decision" text, "attendance" real, "record" text );. Question: "What is the decision of the game on January 13?". [/INST] SELECT "decision" FROM "regular_season" WHERE "date"='january 13';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_table" ( "rank" real, "country" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What was the sum of the ranks for Japan who had less than 5 bronze medals and more than 3 silvers?". [/INST] SELECT SUM("rank") FROM "medal_table" WHERE "bronze"<5 AND "country"='japan' AND "silver">3;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_table" ( "rank" real, "country" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the lowest total medals for the united states who had more than 11 silver medals?". [/INST] SELECT MIN("total") FROM "medal_table" WHERE "country"='united states' AND "silver">11;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "medal_table" ( "rank" real, "country" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the sum of the bronze medals when there were more than 2 silver medals and a rank larger than 6?". [/INST] SELECT SUM("bronze") FROM "medal_table" WHERE "silver">2 AND "rank">6;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "riders" ( "position" real, "driver_passenger" text, "equipment" text, "points" real, "wins" text, "second" text, "third" text );. Question: "What was the highest points when the second was 4?". [/INST] SELECT MAX("points") FROM "riders" WHERE "second"='4';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "riders" ( "position" real, "driver_passenger" text, "equipment" text, "points" real, "wins" text, "second" text, "third" text );. Question: "Who was the driver/passengar when the position was smaller than 8, the third was 1, and there was 1 win?". [/INST] SELECT "driver_passenger" FROM "riders" WHERE "third"='1' AND "position"<8 AND "wins"='1';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "athletics" ( "athlete" text, "event" text, "100_m" real, "400_m" real, "110_h" real, "1500_m" text, "final" real );. Question: "What was the 100m that the 110H was less than 14.52 and the 400m was more than 47.3?". [/INST] SELECT AVG("100_m") FROM "athletics" WHERE "110_h"<14.52 AND "400_m">47.3;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "athletics" ( "athlete" text, "event" text, "100_m" real, "400_m" real, "110_h" real, "1500_m" text, "final" real );. Question: "What was the final for Mikalai Shubianok who had a 110H less than 908?". [/INST] SELECT SUM("final") FROM "athletics" WHERE "athlete"='mikalai shubianok' AND "110_h"<908;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "athletics" ( "athlete" text, "event" text, "100_m" real, "400_m" real, "110_h" real, "1500_m" text, "final" real );. Question: "What was the 110H that the 1500m was 692 and the final was more than 7906?". [/INST] SELECT COUNT("110_h") FROM "athletics" WHERE "1500_m"='692' AND "final">7906;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "athletics" ( "athlete" text, "event" text, "100_m" real, "400_m" real, "110_h" real, "1500_m" text, "final" real );. Question: "What was the 400m that had a 110H greater than 14.21, a final of more than 7838, and having result in events?". [/INST] SELECT COUNT("400_m") FROM "athletics" WHERE "event"='result' AND "110_h">14.21 AND "final">7838;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "solheim_cup_record" ( "year" text, "total_matches" real, "total_w_l_h" text, "points_won" real, "points_pct" text );. Question: "Can you tell me the lowest Points won that has the Total matches of 4, and the Total W-L-H of 4-0-0?". [/INST] SELECT MIN("points_won") FROM "solheim_cup_record" WHERE "total_matches"=4 AND "total_w_l_h"='4-0-0';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "solheim_cup_record" ( "year" text, "total_matches" real, "total_w_l_h" text, "points_won" real, "points_pct" text );. Question: "Can you tell me the lowest Total natches that has the Points won of 3, and the Year of 1994?". [/INST] SELECT MIN("total_matches") FROM "solheim_cup_record" WHERE "points_won"=3 AND "year"='1994';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );. Question: "What is Team, when Replaced By is "Jesús Ramírez"?". [/INST] SELECT "team" FROM "managerial_changes" WHERE "replaced_by"='jesús ramírez';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );. Question: "What is Position in Table, when Replaced By is "Sergio Bueno"?". [/INST] SELECT "position_in_table" FROM "managerial_changes" WHERE "replaced_by"='sergio bueno';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );. Question: "What is Manner of Departure, when Outgoing Manager is "Luis Fernando Tena"?". [/INST] SELECT "manner_of_departure" FROM "managerial_changes" WHERE "outgoing_manager"='luis fernando tena';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );. Question: "What is Position in Table, when Team is "Morelia"?". [/INST] SELECT "position_in_table" FROM "managerial_changes" WHERE "team"='morelia';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );. Question: "What is Team, when Replaced By is "Omar Arellano"?". [/INST] SELECT "team" FROM "managerial_changes" WHERE "replaced_by"='omar arellano';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "managerial_changes" ( "team" text, "outgoing_manager" text, "manner_of_departure" text, "date_of_vacancy" text, "replaced_by" text, "date_of_appointment" text, "position_in_table" text );. Question: "What is Position in Table, when Replaced by is "José Pekerman"?". [/INST] SELECT "position_in_table" FROM "managerial_changes" WHERE "replaced_by"='josé pekerman';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "scores" ( "star" text, "episode_2" real, "episode_3" text, "episode_4" text, "episode_5" text, "episode_6" text, "episode_7" text, "episode_8" text );. Question: "Which episode 4 has a Star of anna powierza?". [/INST] SELECT "episode_4" FROM "scores" WHERE "star"='anna powierza';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "summaries" ( "team" text, "manager" text, "home_city" text, "stadium" text, "capacity" real );. Question: "What team has a home city of Koprivnica?". [/INST] SELECT "team" FROM "summaries" WHERE "home_city"='koprivnica';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "summaries" ( "team" text, "manager" text, "home_city" text, "stadium" text, "capacity" real );. Question: "What team that has a Home city of Zadar?". [/INST] SELECT "team" FROM "summaries" WHERE "home_city"='zadar';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "summaries" ( "team" text, "manager" text, "home_city" text, "stadium" text, "capacity" real );. Question: "What is the stadium of the NK Zagreb?". [/INST] SELECT "stadium" FROM "summaries" WHERE "team"='nk zagreb';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "summaries" ( "team" text, "manager" text, "home_city" text, "stadium" text, "capacity" real );. Question: "What team has a home city of Velika?". [/INST] SELECT "team" FROM "summaries" WHERE "home_city"='velika';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "s_rebroadcaster_of_ckyl" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );. Question: "What is the City of license with a 88.7 fm frequency". [/INST] SELECT "city_of_license" FROM "s_rebroadcaster_of_ckyl" WHERE "frequency"='88.7 fm';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "s_rebroadcaster_of_ckyl" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );. Question: "what is the Power with 88.5 fm Frequency". [/INST] SELECT "power" FROM "s_rebroadcaster_of_ckyl" WHERE "frequency"='88.5 fm';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "s_rebroadcaster_of_ckyl" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );. Question: "what is the City of license that has a 1,400 watts Power". [/INST] SELECT "city_of_license" FROM "s_rebroadcaster_of_ckyl" WHERE "power"='1,400 watts';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "s_rebroadcaster_of_ckyl" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );. Question: "what is the Identifier with 94.9 fm Frequency". [/INST] SELECT "identifier" FROM "s_rebroadcaster_of_ckyl" WHERE "frequency"='94.9 fm';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "s_rebroadcaster_of_ckyl" ( "city_of_license" text, "identifier" text, "frequency" text, "power" text, "class" text, "rec_net" text );. Question: "what is the Frequency that has a fairview City of license". [/INST] SELECT "frequency" FROM "s_rebroadcaster_of_ckyl" WHERE "city_of_license"='fairview';</s> |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.