text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "toll_rates" ( "vehicle_category" text, "till_aligarh" real, "till_mathura" real, "till_agra" real, "for_round_trip" real ); Question: If the vehicle category is multi-axle vehicle, what is the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location" text, "record" text ); Question: Wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location" text, "record" text ); Question: Who...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location" text, "record" text ); Question: Wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location" text, "record" text ); Question: Who...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1979203_1" ( "virtual" text, "callsign" text, "affiliation" text, "branding" text, "channel" text, "programming" text, "owner" text ); Question: what is the owner of the callsign wli...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1979203_1" ( "virtual" text, "callsign" text, "affiliation" text, "branding" text, "channel" text, "programming" text, "owner" text ); Question: how many callsigns are for the brandi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1979203_1" ( "virtual" text, "callsign" text, "affiliation" text, "branding" text, "channel" text, "programming" text, "owner" text ); Question: what is the virtual callsign if is wn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1979203_1" ( "virtual" text, "callsign" text, "affiliation" text, "branding" text, "channel" text, "programming" text, "owner" text ); Question: what is the name of the branding wher...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list" ( "district" real, "representative" text, "party" text, "residence" text, "counties_represented" text, "term_ends" real, "first_elected" real ); Question: Name the district for newtow...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list" ( "district" real, "representative" text, "party" text, "residence" text, "counties_represented" text, "term_ends" real, "first_elected" real ); Question: Name the party for bensalem ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list" ( "district" real, "representative" text, "party" text, "residence" text, "counties_represented" text, "term_ends" real, "first_elected" real ); Question: Name the term ends for bethl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list" ( "district" real, "representative" text, "party" text, "residence" text, "counties_represented" text, "term_ends" real, "first_elected" real ); Question: Name the total number of dis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "contestant" text, "background" text, "original_team" text, "age" real, "hometown" text, "result" text ); Question: What was the result for the contestant whose background was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "contestant" text, "background" text, "original_team" text, "age" real, "hometown" text, "result" text ); Question: What was the background of the contestant whose result was 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "contestant" text, "background" text, "original_team" text, "age" real, "hometown" text, "result" text ); Question: For how many contestants was the background internet dreamer...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "contestant" text, "background" text, "original_team" text, "age" real, "hometown" text, "result" text ); Question: What was the result for the contestant who was a small busin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "contestant" text, "background" text, "original_team" text, "age" real, "hometown" text, "result" text ); Question: What team was the contestant who finished in 10th place orig...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "contestants" ( "contestant" text, "background" text, "original_team" text, "age" real, "hometown" text, "result" text ); Question: What is the hometown of the contestant whose background is a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_1" ( "num" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_night" text ); Question: If the rating/share is 3.8/10, what i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_1" ( "num" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_night" text ); Question: If the night rank is 9, what is the t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_1" ( "num" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_night" text ); Question: What is the name of the episode with ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_1" ( "num" real, "episode" text, "rating" text, "share" real, "rating_share_18_49" text, "viewers_millions" text, "rank_night" text ); Question: If the amount of viewers is 5.14 mill...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "urban_population_in_overseas_territories" ( "rank" real, "city" text, "1890_census" text, "1910_census" real, "1920_census" real, "1930_census" real, "1940_census" real ); Question: For cit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "urban_population_in_overseas_territories" ( "rank" real, "city" text, "1890_census" text, "1910_census" real, "1920_census" real, "1930_census" real, "1940_census" real ); Question: For cit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "urban_population_in_overseas_territories" ( "rank" real, "city" text, "1890_census" text, "1910_census" real, "1920_census" real, "1930_census" real, "1940_census" real ); Question: How man...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19852975_3" ( "series_num" real, "season_num" real, "title" text, "director_s" text, "writer_s" text, "airdate" text, "production_code" real, "arties_disguises" text ); Question: N...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19852975_3" ( "series_num" real, "season_num" real, "title" text, "director_s" text, "writer_s" text, "airdate" text, "production_code" real, "arties_disguises" text ); Question: N...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19852975_3" ( "series_num" real, "season_num" real, "title" text, "director_s" text, "writer_s" text, "airdate" text, "production_code" real, "arties_disguises" text ); Question: N...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19852975_3" ( "series_num" real, "season_num" real, "title" text, "director_s" text, "writer_s" text, "airdate" text, "production_code" real, "arties_disguises" text ); Question: N...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_high_schools_in_indiana" ( "school" text, "city_town" text, "website" text, "size" real, "principal" text, "grades" text, "idoe_profile" text ); Question: Name the principal of Nort...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_high_schools_in_indiana" ( "school" text, "city_town" text, "website" text, "size" real, "principal" text, "grades" text, "idoe_profile" text ); Question: What is the name of the sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_high_schools_in_indiana" ( "school" text, "city_town" text, "website" text, "size" real, "principal" text, "grades" text, "idoe_profile" text ); Question: Name the school/s with is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_high_schools_in_indiana" ( "school" text, "city_town" text, "website" text, "size" real, "principal" text, "grades" text, "idoe_profile" text ); Question: What is the IDOE Profile i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_high_schools_in_indiana" ( "school" text, "city_town" text, "website" text, "size" real, "principal" text, "grades" text, "idoe_profile" text ); Question: What are the grades served...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19852975_4" ( "series_num" real, "season_num" real, "title" text, "director_s" text, "writer_s" text, "airdate" text, "production_code" real, "arties_disguises" text ); Question: W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19852975_4" ( "series_num" real, "season_num" real, "title" text, "director_s" text, "writer_s" text, "airdate" text, "production_code" real, "arties_disguises" text ); Question: F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19852975_4" ( "series_num" real, "season_num" real, "title" text, "director_s" text, "writer_s" text, "airdate" text, "production_code" real, "arties_disguises" text ); Question: F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_results" ( "rd" text, "race" text, "pole_position" text, "fastest_lap" text, "most_laps_led" text, "winning_driver" text, "winning_team" text, "report" text ); Question: Who is the w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_results" ( "rd" text, "race" text, "pole_position" text, "fastest_lap" text, "most_laps_led" text, "winning_driver" text, "winning_team" text, "report" text ); Question: How many win...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_results" ( "rd" text, "race" text, "pole_position" text, "fastest_lap" text, "most_laps_led" text, "winning_driver" text, "winning_team" text, "report" text ); Question: Which report...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_results" ( "rd" text, "race" text, "pole_position" text, "fastest_lap" text, "most_laps_led" text, "winning_driver" text, "winning_team" text, "report" text ); Question: Who held the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3_1960" ( "n" real, "ep" real, "huckleberry_hound" text, "pixie_and_dixie" text, "hokey_wolf" text, "air_date" text, "credited_animators" text ); Question: What is top ep number for ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3_1960" ( "n" real, "ep" real, "huckleberry_hound" text, "pixie_and_dixie" text, "hokey_wolf" text, "air_date" text, "credited_animators" text ); Question: How many Huckleberry Hound...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3_1960" ( "n" real, "ep" real, "huckleberry_hound" text, "pixie_and_dixie" text, "hokey_wolf" text, "air_date" text, "credited_animators" text ); Question: Who animated "Science Fric...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2_1959_60" ( "n" real, "ep" real, "huckleberry_hound" text, "pixie_and_dixie" text, "yogi_bear" text, "air_date" text, "credited_animators" text ); Question: What is the air date of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2_1959_60" ( "n" real, "ep" real, "huckleberry_hound" text, "pixie_and_dixie" text, "yogi_bear" text, "air_date" text, "credited_animators" text ); Question: What episode includes "C...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2_1959_60" ( "n" real, "ep" real, "huckleberry_hound" text, "pixie_and_dixie" text, "yogi_bear" text, "air_date" text, "credited_animators" text ); Question: What is the Pixie and Di...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2_1959_60" ( "n" real, "ep" real, "huckleberry_hound" text, "pixie_and_dixie" text, "yogi_bear" text, "air_date" text, "credited_animators" text ); Question: What is the Yogi Bear th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "yes_fm_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: From brand Yes! FM 101.1, what was the frequency? <|assistant|> SELECT "fre...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "yes_fm_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: If the branding is Yes! FM 91.1 Boracay, what is the power? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "yes_fm_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: If the call sign is DXYR, what is the branding? <|assistant|> SELECT "brand...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" text, "division" text, "league" text, "regular_season" text, "playoffs" text, "open_cup" text ); Question: When divisional semifinals are the playoffs what is the year?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" text, "division" text, "league" text, "regular_season" text, "playoffs" text, "open_cup" text ); Question: When divisional finals are the playoffs what is the regular s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" text, "division" text, "league" text, "regular_season" text, "playoffs" text, "open_cup" text ); Question: When 1992 is the year how many divisions are there? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" text, "division" text, "league" text, "regular_season" text, "playoffs" text, "open_cup" text ); Question: When final is the open cup what is the league? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" text, "division" text, "league" text, "regular_season" text, "playoffs" text, "open_cup" text ); Question: When 1995 is the year what is the open cup? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" text, "division" text, "league" text, "regular_season" text, "playoffs" text, "open_cup" text ); Question: When 2008 is the year how many divisions are there? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_dismissals_in_test_career_wicketkee" ( "rank" real, "dismissals" real, "player" text, "caught" real, "stumped" real, "matches" real, "innings" real ); Question: what is the least numbe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_dismissals_in_test_career_wicketkee" ( "rank" real, "dismissals" real, "player" text, "caught" real, "stumped" real, "matches" real, "innings" real ); Question: what is the highest num...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "most_dismissals_in_test_career_wicketkee" ( "rank" real, "dismissals" real, "player" text, "caught" real, "stumped" real, "matches" real, "innings" real ); Question: what is the rank of ada...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1987995_5" ( "ballpark" text, "location" text, "team" text, "opened" real, "closed" real, "demod" real, "current_status" text ); Question: Where is the ballpark of the Twins? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1987995_5" ( "ballpark" text, "location" text, "team" text, "opened" real, "closed" real, "demod" real, "current_status" text ); Question: How many locations have been used for ballp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_1987995_5" ( "ballpark" text, "location" text, "team" text, "opened" real, "closed" real, "demod" real, "current_status" text ); Question: When was the park demolished in 1994 closed...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "participants" ( "team_boat_name" text, "sail_no" text, "flag" text, "design_firm" text, "builder" text, "skipper" text ); Question: Which flag was on the Green Marine's boat? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "participants" ( "team_boat_name" text, "sail_no" text, "flag" text, "design_firm" text, "builder" text, "skipper" text ); Question: Who build the boat where Ken Read was the skipper? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "participants" ( "team_boat_name" text, "sail_no" text, "flag" text, "design_firm" text, "builder" text, "skipper" text ); Question: Farr Yacht Design designed boats for how many country/flags...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "participants" ( "team_boat_name" text, "sail_no" text, "flag" text, "design_firm" text, "builder" text, "skipper" text ); Question: Who were the builders of the boat designed by Botin Carkeek...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_10" ( "no_in_series" text, "no_in_season" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: In how many locations was the episode with the B...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_10" ( "no_in_series" text, "no_in_season" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: How many episodes with different season numbers ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_10" ( "no_in_series" text, "no_in_season" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: When did the episode with the Ririe family air f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_10" ( "no_in_series" text, "no_in_season" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: Where was the episode with series number US9 fil...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_10" ( "no_in_series" text, "no_in_season" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: What's the season number of the episode with ser...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_11" ( "no_in_series" text, "no_in_season" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: What family was featured in episode us14 of the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_11" ( "no_in_series" text, "no_in_season" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: How many locations featured the Webb Family? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_11" ( "no_in_series" text, "no_in_season" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: What episode in the season was episode us17 in t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_11" ( "no_in_series" text, "no_in_season" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: What episode in the season was episode us18 in t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_11" ( "no_in_series" text, "no_in_season" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: What episode in the series was the Amaral family...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "rd" real, "circuit" text, "city_state" text, "date" text, "format" text, "round_winner" text, "car" text, "entrant" text ); Question: Who is the round winner when entrant is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "rd" real, "circuit" text, "city_state" text, "date" text, "format" text, "round_winner" text, "car" text, "entrant" text ); Question: Who is the round winner of the wanneroo ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar" ( "rd" real, "circuit" text, "city_state" text, "date" text, "format" text, "round_winner" text, "car" text, "entrant" text ); Question: Which circuit has two heats as the forma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_16" ( "no_in_series" text, "no_in_season" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: Name the original air date for the potter family...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_9" ( "no_overall" text, "no_in_series" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: how many original air date where family/families is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_9" ( "no_overall" text, "no_in_series" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: where was the abbas family and the pickering family...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "state_farm_junior_college_player_of_the_" ( "season" text, "player" text, "junior_college" text, "state" text, "position" text, "class" text, "university" text ); Question: in which class i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "state_farm_junior_college_player_of_the_" ( "season" text, "player" text, "junior_college" text, "state" text, "position" text, "class" text, "university" text ); Question: in which season ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "state_farm_junior_college_player_of_the_" ( "season" text, "player" text, "junior_college" text, "state" text, "position" text, "class" text, "university" text ); Question: in which class w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_8" ( "no_overall" text, "no_in_series" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: Name the number of families for uk30 <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_8" ( "no_overall" text, "no_in_series" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: Name the number in series for in the ward family an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_8" ( "no_overall" text, "no_in_series" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: Name the family for uk31 <|assistant|> SELECT "fami...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_8" ( "no_overall" text, "no_in_series" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: Name the least number in series <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_8" ( "no_overall" text, "no_in_series" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: Name the number of locations for uk32 <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_5" ( "no_overall" text, "no_in_series" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: Name the air date for uk17 <|assistant|> SELECT "or...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table1_19897294_5" ( "no_overall" text, "no_in_series" real, "family_families" text, "location_s" text, "original_air_date" text ); Question: Name the family/families uk17 <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_teams" ( "team" text, "truck_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "listed_owner_s" text, "crew_chief" text ); Question: What is the number of the truck th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_teams" ( "team" text, "truck_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "listed_owner_s" text, "crew_chief" text ); Question: What number truck is owned by Step...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_teams" ( "team" text, "truck_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "listed_owner_s" text, "crew_chief" text ); Question: What team is sponsored by d3 Outdo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_teams" ( "team" text, "truck_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "listed_owner_s" text, "crew_chief" text ); Question: How many teams does Jeff Wyler own...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_teams" ( "team" text, "truck_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "listed_owner_s" text, "crew_chief" text ); Question: Who is the primary sponsor for cre...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_teams" ( "team" text, "truck_s" text, "num" real, "driver_s" text, "primary_sponsor_s" text, "listed_owner_s" text, "crew_chief" text ); Question: Who sponsors owner Bobby Dotter's ...