text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real ); Question: What's the listed average of Cuts made that has a Top-5 o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real ); Question: What's the sum of Top-25 that has an Events that is small...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real ); Question: What's the sum of Top-10 that has Events that's larger th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "tournament" text, "wins" real, "top_5" real, "top_10" real, "top_25" real, "events" real, "cuts_made" real ); Question: What is the lowest Cuts made that has a Tournament of PGA...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "humanitas_prize" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text ); Question: When the nominee(s) is john wells what is the episode for a year before 2004? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "humanitas_prize" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text ); Question: What is the result when the nominee(s) of janine sherman? <|assistant|> SELECT "res...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "humanitas_prize" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text ); Question: What is the result for a year after 2003, when the nominee(s) is john wells? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "humanitas_prize" ( "year" real, "category" text, "nominee_s" text, "episode" text, "result" text ); Question: What is the earliest year with a result of nominated, and a nominee(s) of john well...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_of_the_allaire_du_pont_distaff_s" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance" text, "time" text, "purse" text ); Question: What is the pu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_of_the_allaire_du_pont_distaff_s" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance" text, "time" text, "purse" text ); Question: Who is the tra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_of_the_allaire_du_pont_distaff_s" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance" text, "time" text, "purse" text ); Question: What is the di...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_of_the_allaire_du_pont_distaff_s" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance" text, "time" text, "purse" text ); Question: What is the av...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners_of_the_allaire_du_pont_distaff_s" ( "year" real, "winner" text, "jockey" text, "trainer" text, "owner" text, "distance" text, "time" text, "purse" text ); Question: What is the di...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1937" ( "title" text, "series" text, "director" text, "production_num" text, "release_date" text ); Question: Who was the director of Clean Pastures? <|assistant|> SELECT "director" FROM "1937"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1937" ( "title" text, "series" text, "director" text, "production_num" text, "release_date" text ); Question: What was the release date for Production Number 8181? <|assistant|> SELECT "release...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1937" ( "title" text, "series" text, "director" text, "production_num" text, "release_date" text ); Question: What series was directed by Frank Tashlin and has the production number, 8053? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1937" ( "title" text, "series" text, "director" text, "production_num" text, "release_date" text ); Question: What series was called Egghead Rides Again? <|assistant|> SELECT "series" FROM "193...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the Tie no of the Port Vale Away game? <|assistant|> SELECT "tie_no" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the Score of the Halifax Town Home game? <|assistant|> SELECT "score" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What is the Score of the Scarborough Home game? <|assistant|> SELECT "score" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "seventeenth_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text ); Question: Which college did the player who went to the Boston Patriots go to? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "seventeenth_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text ); Question: What was the highest pick number of the player who went to LSU in college? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "seventeenth_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text ); Question: Which college did the player picked number 136 go to? <|assistant|> SELECT "college" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "seventeenth_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text ); Question: Which college did the player picked larger than 130 by the New York Jets go to? <|assi...
<|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: What lane was Emily Seebohm in? <|assistant|> SELECT COUNT("lane") FROM "semifinal_2" WHERE "n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "passenger_and_express_train_locomotives" ( "class" text, "railway_number_s" text, "quantity" real, "year_s_of_manufacture" text, "axle_arrangement" text ); Question: What is the quantity for ra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "passenger_and_express_train_locomotives" ( "class" text, "railway_number_s" text, "quantity" real, "year_s_of_manufacture" text, "axle_arrangement" text ); Question: What are the year(s) of man...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "passenger_and_express_train_locomotives" ( "class" text, "railway_number_s" text, "quantity" real, "year_s_of_manufacture" text, "axle_arrangement" text ); Question: What are the railway number...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text ); Question: Who is the rb player from team oakland? <|assistant|> SELECT "player" FROM "first_round" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "pick" real, "team" text, "player" text, "position" text, "college" text ); Question: What is the team of the player from ohio state? <|assistant|> SELECT "team" FROM "first_roun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "rank" real, "heat" real, "athlete" text, "country" text, "time" real ); Question: What is the highest rank in Uzbekistan with a time larger than 11.44? <|assistant|> SELECT MAX("ran...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "rank" real, "heat" real, "athlete" text, "country" text, "time" real ); Question: What is the average heat ranked at 30? <|assistant|> SELECT AVG("heat") FROM "round_1" WHERE "rank"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_1" ( "rank" real, "heat" real, "athlete" text, "country" text, "time" real ); Question: What is the average time in a rank of 61? <|assistant|> SELECT AVG("time") FROM "round_1" WHERE "ra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rookie_rallye_modern_competition" ( "driver" text, "navigator" text, "vehicle" text, "class" text, "capacity" real, "total_time" text, "margin" text ); Question: How much Capacity has a Veh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rookie_rallye_modern_competition" ( "driver" text, "navigator" text, "vehicle" text, "class" text, "capacity" real, "total_time" text, "margin" text ); Question: Which Navigator has a Total...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rookie_rallye_modern_competition" ( "driver" text, "navigator" text, "vehicle" text, "class" text, "capacity" real, "total_time" text, "margin" text ); Question: Which Capacity has a Class ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rookie_rallye_modern_competition" ( "driver" text, "navigator" text, "vehicle" text, "class" text, "capacity" real, "total_time" text, "margin" text ); Question: Which Driver has a Capacity...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_ladder" ( "sunrayia_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the total number of losses for teams with more than 0 byes? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_ladder" ( "sunrayia_fl" text, "wins" real, "byes" real, "losses" real, "draws" real, "against" real ); Question: What is the sum of draws for teams with against of 1731 and under 10 loss...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1956" ( "title" text, "series" text, "director" text, "release_date" text, "reissue" text ); Question: When was Tree Cornered Tweety, directed by Friz Freleng, released? <|assistant|> SELECT "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1956" ( "title" text, "series" text, "director" text, "release_date" text, "reissue" text ); Question: When was Too Hop to Handle released? <|assistant|> SELECT "release_date" FROM "1956" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1956" ( "title" text, "series" text, "director" text, "release_date" text, "reissue" text ); Question: From which series is the title Barbary Coast Bunny? <|assistant|> SELECT "series" FROM "19...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "online_voting_19_30_january_2009" ( "artist" text, "song" text, "lyrics_l_music_m" text, "votes" text, "place" text ); Question: Who did the Lyrics (l) / Music (m) for the song in 23 Place? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "online_voting_19_30_january_2009" ( "artist" text, "song" text, "lyrics_l_music_m" text, "votes" text, "place" text ); Question: What are the Votes for the Song by Artist Filipa Batista? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "online_voting_19_30_january_2009" ( "artist" text, "song" text, "lyrics_l_music_m" text, "votes" text, "place" text ); Question: What is the Votes for the Song in Place 9? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "online_voting_19_30_january_2009" ( "artist" text, "song" text, "lyrics_l_music_m" text, "votes" text, "place" text ); Question: What is the Artist of the Song "Procuro-Me Em Mim"? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "online_voting_19_30_january_2009" ( "artist" text, "song" text, "lyrics_l_music_m" text, "votes" text, "place" text ); Question: What is the Artist of the Song with a Place of withdrawn? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: Which week had a result of L 38-21? <|assistant|> SELECT "week" FROM "schedule" WHERE "resul...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: Who was the opponent after week 8 that had 72,190 people in attendance? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "world_championships_men" ( "year" real, "place" text, "gold" text, "silver" text, "bronze" text ); Question: Who won the Gold Medal in Moscow after the year 1982? <|assistant|> SELECT "gold" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the lowest total that has a rank less than 8, a silver greater than 6, and 20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the average silver that has a gold greater than 3, with soviet union (urs) as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the highest silver that has 57 as the total, with a bronze greater than 20? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What rank has a gold greater than 0, 0 as the bronze, with germany (ger) as the natio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: How many bronzes have 1 as the total, with spain (esp) as the nation, and a gold grea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_31_s_ultra_prominent_summit_of_papua" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "prominence_m" real, "col_m" real ); Question: Which Prominence (m) ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_31_s_ultra_prominent_summit_of_papua" ( "rank" real, "peak" text, "country" text, "island" text, "elevation_m" real, "prominence_m" real, "col_m" real ); Question: How much Col (m) has ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "supplemental_first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "school" text ); Question: What position Jason Fitzgerald played? <|assistant|> SELECT "position...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "supplemental_first_round_selections" ( "pick" real, "player" text, "team" text, "position" text, "school" text ); Question: Jason Romano played for what team? <|assistant|> SELECT "team" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_amplifier_models" ( "model" text, "poweramp" text, "dimensions" text, "mass" text, "form_factor_s" text, "output" text ); Question: What are the dimensions of the amp with a 180W outp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_scorers" ( "player" text, "county" text, "tally" text, "total" real, "matches" real, "average" real ); Question: Which player was from Fermanagh and had an average score of 22? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_scorers" ( "player" text, "county" text, "tally" text, "total" real, "matches" real, "average" real ); Question: How many total points did Oisin McConville have from his 5 matches? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: How many attendances have October 30, 1977 as the date, with a week greater than 7? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What is the lowest attendance that has l 42-35 as the result, with a week less than 13? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: Who is from south korea and has a heat less than 3? <|assistant|> SELECT "name" FROM "heats" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: What is the highest heat of the athlete from spain with a lane less than 7? <|assistant|> SELECT MAX...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: What is the average lane of the athlete from japan with a time of 4:37.35 and a heat less than 3? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table_by_country" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the lowest Gold count if the Bronze is 4 and Silver is great...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table_by_country" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the Average for Silver medals that have more than 17 Golds? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table_by_country" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the highest number of Silver medals with a Total greater tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "best_songs_in_telugu" ( "year" real, "song_title" text, "film" text, "co_singer" text, "music_director" text ); Question: Who is the music-director for the song from the film khaleja who had a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "best_songs_in_telugu" ( "year" real, "song_title" text, "film" text, "co_singer" text, "music_director" text ); Question: What is the film from 2013 with a song title of "neetho edo" with a sol...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "past_winners" ( "year" real, "date" text, "winners" text, "score" text, "runners_up" text, "att" real ); Question: What was the score for the matchup having attendance of 354? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medalists_per_nation" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What nation had a medal total of less than 10, less than 1 bronze meda...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medalists_per_nation" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: How many gold medals did the team that won a total of 10 medals and 3 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medalists_per_nation" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the total number of medals won by teams that won more than 11 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "athlete" text, "country" text, "time" real, "react" real ); Question: What is the lowest react of the athlete from the United States who has a lane l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "athlete" text, "country" text, "time" real, "react" real ); Question: What is the lowest of the athlete from sri lanka who has a lane greater than 8?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "athlete" text, "country" text, "time" real, "react" real ); Question: What is the average react of athlete muna lee, who is ranked greater than 3? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "athlete" text, "country" text, "time" real, "react" real ); Question: What is the average lane of the athlete from cuba who has a time greater than 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "athlete" text, "country" text, "time" real, "react" real ); Question: What is the average react of the athlete with a time less than 22.29 and a rank...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "tv_time" text, "attendance" text ); Question: Who is the Opponent on December 7, 2003? <|assistant|> SELECT "opponent" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "tv_time" text, "attendance" text ); Question: What is the Tv Time of the game with an Attendance of 73,578? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final" ( "lane" real, "name" text, "nationality" text, "reaction_time" real, "result" real ); Question: What is the highest result for Wallace Spearmon when the reaction time is greater than 0....
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final" ( "lane" real, "name" text, "nationality" text, "reaction_time" real, "result" real ); Question: What was the result for Lane 3? <|assistant|> SELECT "result" FROM "final" WHERE "lane"=3...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final" ( "lane" real, "name" text, "nationality" text, "reaction_time" real, "result" real ); Question: What is the lowest result for Christian Malcolm with a reaction time greater than 0.185 a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real ); Question: What are the lowest ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real ); Question: What are the lowest ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneo_clausura" ( "position" real, "team" text, "played" real, "wins" real, "draws" real, "losses" real, "scored" real, "conceded" real, "points" real ); Question: What is the average ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "hong_kong" ( "date" text, "venue" text, "result" text, "scored" real, "competition" text ); Question: What competition has a Result of 1–2? <|assistant|> SELECT "competition" FROM "hong_kong" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_fee" text ); Question: What is moving from fee in Hun country? <|assistant|> SELECT "moving_from" FROM "in" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_fee" text ); Question: What is thr type in Aut country? <|assistant|> SELECT "type" FROM "in" WHERE "country"='aut'...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text ); Question: Who is the owner of the radio station that plays adult hits? <|assistant|> SELECT "owner" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text ); Question: What is the call sign for the radio owned by astral media? <|assistant|> SELECT "call_sign...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text ); Question: What is the frequency for the radio owned by bell media with a call sign of chsu-fm? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text ); Question: What is the branding for the radio with a frequency of 1150 am? <|assistant|> SELECT "bran...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text ); Question: What was the format for the radio with a frequency of 00 96.3 fm? <|assistant|> SELECT "fo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "radio" ( "frequency" text, "call_sign" text, "branding" text, "format" text, "owner" text ); Question: Who is the owner of the radio frequency of 0 101.5 fm? <|assistant|> SELECT "owner" FROM "...
<|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" real ); Question: how many times is the name matt targett and the lane higher than 7? <|assistant|> SELECT COUNT...
<|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" real ); Question: what is the highest time when the rank is less than 5 and the name is eamon sullivan? <|assist...