text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" real,
"new_entries_this_round" text,
"leagues_entering_at_this_round" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" real,
"new_entries_this_round" text,
"leagues_entering_at_this_round" text
);
Question: How... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "returning_this_year_after_a_break_of_one" (
"programme" text,
"date_s_of_original_removal" text,
"original_channel_s" text,
"date_of_return" text,
"new_channel_s" text
);
Question: Which progra... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "returning_this_year_after_a_break_of_one" (
"programme" text,
"date_s_of_original_removal" text,
"original_channel_s" text,
"date_of_return" text,
"new_channel_s" text
);
Question: What is the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29574579_1" (
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"uk_viewers_million" text,
"share_pct" text,
"original_air_date" text
);
Question: How many episode... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29574579_1" (
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"uk_viewers_million" text,
"share_pct" text,
"original_air_date" text
);
Question: How many million... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29574579_1" (
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"uk_viewers_million" text,
"share_pct" text,
"original_air_date" text
);
Question: Who is the direc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29574579_1" (
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"uk_viewers_million" text,
"share_pct" text,
"original_air_date" text
);
Question: How many episode... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29574579_1" (
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"uk_viewers_million" text,
"share_pct" text,
"original_air_date" text
);
Question: How many episode... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29574579_1" (
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"uk_viewers_million" text,
"share_pct" text,
"original_air_date" text
);
Question: Who is the direc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29583441_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: Who wrote the episode with product... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29583441_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: What is the smallest numbered prod... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29583441_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: What date did the episode that was... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29584044_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: What is the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29584044_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: What is the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29584044_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: Who wrote t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29584044_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: What number... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_score_chart" (
"rank_by_average" real,
"place" real,
"couple" text,
"total_points" text,
"number_of_dances" real,
"average" text
);
Question: How many times is the couple kerry & dani... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_score_chart" (
"rank_by_average" real,
"place" real,
"couple" text,
"total_points" text,
"number_of_dances" real,
"average" text
);
Question: how many times is the total points 128.0?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_score_chart" (
"rank_by_average" real,
"place" real,
"couple" text,
"total_points" text,
"number_of_dances" real,
"average" text
);
Question: How many times is the couple laura and co... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_score_chart" (
"rank_by_average" real,
"place" real,
"couple" text,
"total_points" text,
"number_of_dances" real,
"average" text
);
Question: what is the average when the place is 16?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_score_chart" (
"rank_by_average" real,
"place" real,
"couple" text,
"total_points" text,
"number_of_dances" real,
"average" text
);
Question: How many times is the rank by average 4?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29584601_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: How many di... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29584601_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: How many di... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"number" real,
"position" text,
"height" text,
"weight" real,
"year" text,
"hometown" text,
"last_school_college" text
);
Question: what is the school for chris mcn... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"number" real,
"position" text,
"height" text,
"weight" real,
"year" text,
"hometown" text,
"last_school_college" text
);
Question: how many hometowns for faisal ad... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"number" real,
"position" text,
"height" text,
"weight" real,
"year" text,
"hometown" text,
"last_school_college" text
);
Question: what year is chris mcnamara?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"number" real,
"position" text,
"height" text,
"weight" real,
"year" text,
"hometown" text,
"last_school_college" text
);
Question: what is the height of columbia r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"number" real,
"position" text,
"height" text,
"weight" real,
"year" text,
"hometown" text,
"last_school_college" text
);
Question: what is the hometown for mike la... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "home_teams" (
"season" real,
"apocalypstix" text,
"denim_demons" text,
"sake_tuyas" text,
"toxic_shocks" text
);
Question: How many seasons did Apocalypstix place 2nd?
<|assistant|>
SELECT COUN... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "home_teams" (
"season" real,
"apocalypstix" text,
"denim_demons" text,
"sake_tuyas" text,
"toxic_shocks" text
);
Question: What season did the Sake Tuyas come in 1st place?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "home_teams" (
"season" real,
"apocalypstix" text,
"denim_demons" text,
"sake_tuyas" text,
"toxic_shocks" text
);
Question: What is the most recent season where the Denim Demons placed 3rd?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "home_teams" (
"season" real,
"apocalypstix" text,
"denim_demons" text,
"sake_tuyas" text,
"toxic_shocks" text
);
Question: What place did the Sake Tuyas come in when the Denim Demons were 4th?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "home_teams" (
"season" real,
"apocalypstix" text,
"denim_demons" text,
"sake_tuyas" text,
"toxic_shocks" text
);
Question: List all the places that the Apocalypstix occupied when the Denim Demo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29626583_3" (
"pick_num" real,
"mls_team" text,
"player" text,
"position" text,
"affiliation" text
);
Question: Which team has a midfielder of konrad warzycha?
<|assistant|>
SELECT "mls_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29626583_3" (
"pick_num" real,
"mls_team" text,
"player" text,
"position" text,
"affiliation" text
);
Question: What is the pick number for the team toronto fc and affiliation is ldu qui... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29626583_3" (
"pick_num" real,
"mls_team" text,
"player" text,
"position" text,
"affiliation" text
);
Question: Which MLS team picked player Jason Herrick?
<|assistant|>
SELECT "mls_team... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29626583_3" (
"pick_num" real,
"mls_team" text,
"player" text,
"position" text,
"affiliation" text
);
Question: What position did the team new york red bulls pick?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29626583_3" (
"pick_num" real,
"mls_team" text,
"player" text,
"position" text,
"affiliation" text
);
Question: What was the position when the affiliation is ldu quito?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "highest_rating_serial_dramas_of_2011" (
"rank" real,
"english_title" text,
"chinese_title" text,
"average" real,
"peak" real,
"premiere" real,
"finale" real,
"hk_viewers" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "highest_rating_serial_dramas_of_2011" (
"rank" real,
"english_title" text,
"chinese_title" text,
"average" real,
"peak" real,
"premiere" real,
"finale" real,
"hk_viewers" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "highest_rating_serial_dramas_of_2011" (
"rank" real,
"english_title" text,
"chinese_title" text,
"average" real,
"peak" real,
"premiere" real,
"finale" real,
"hk_viewers" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "highest_rating_serial_dramas_of_2011" (
"rank" real,
"english_title" text,
"chinese_title" text,
"average" real,
"peak" real,
"premiere" real,
"finale" real,
"hk_viewers" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29679510_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
Question: In what week was t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29635868_1" (
"episode_number" real,
"title_link_to_episode_on_you_tube" text,
"origin" text,
"object_date" text,
"description" text,
"te_papas_collections_online_link" text,
"host_ad... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29635868_1" (
"episode_number" real,
"title_link_to_episode_on_you_tube" text,
"origin" text,
"object_date" text,
"description" text,
"te_papas_collections_online_link" text,
"host_ad... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29635868_1" (
"episode_number" real,
"title_link_to_episode_on_you_tube" text,
"origin" text,
"object_date" text,
"description" text,
"te_papas_collections_online_link" text,
"host_ad... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "film_festivals" (
"film_festival" text,
"date_of_ceremony" text,
"category" text,
"participants_recipients" text,
"result" text
);
Question: Which films participated in the 61st Berlin internat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "film_festivals" (
"film_festival" text,
"date_of_ceremony" text,
"category" text,
"participants_recipients" text,
"result" text
);
Question: What was the result when competing in the Opening NI... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "film_festivals" (
"film_festival" text,
"date_of_ceremony" text,
"category" text,
"participants_recipients" text,
"result" text
);
Question: Which films participated in the 30th Hawaii Internat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "film_festivals" (
"film_festival" text,
"date_of_ceremony" text,
"category" text,
"participants_recipients" text,
"result" text
);
Question: Which films participated when the category was Best ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_to_season" (
"season" text,
"level" text,
"division" text,
"section" text,
"position" text,
"movements" text
);
Question: in which year the season was in 5th position
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_to_season" (
"season" text,
"level" text,
"division" text,
"section" text,
"position" text,
"movements" text
);
Question: what is the name of the movement in the 7th position
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_to_season" (
"season" text,
"level" text,
"division" text,
"section" text,
"position" text,
"movements" text
);
Question: what is the name of the level for the 7th position
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_to_season" (
"season" text,
"level" text,
"division" text,
"section" text,
"position" text,
"movements" text
);
Question: how many sections are for the season of 2008
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_to_season" (
"season" text,
"level" text,
"division" text,
"section" text,
"position" text,
"movements" text
);
Question: in what year the position was the 9th
<|assistant|>
SELECT "se... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "elimination_chamber_entrances_and_elimin" (
"eliminated" real,
"wrestler" text,
"entered" real,
"eliminated_by" text,
"method_of_elimination" text,
"time" text
);
Question: Who was eliminated... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "elimination_chamber_entrances_and_elimin" (
"eliminated" real,
"wrestler" text,
"entered" real,
"eliminated_by" text,
"method_of_elimination" text,
"time" text
);
Question: How many entries a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "elimination_chamber_entrances_and_elimin" (
"eliminated" real,
"wrestler" text,
"entered" real,
"eliminated_by" text,
"method_of_elimination" text,
"time" text
);
Question: Who was eliminated... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "elimination_chamber_entrances_and_elimin" (
"eliminated" real,
"wrestler" text,
"entered" real,
"eliminated_by" text,
"method_of_elimination" text,
"time" text
);
Question: What number was th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_calendar" (
"round" real,
"country" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_rider" text,
"winning_team" text,
"report" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_calendar" (
"round" real,
"country" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_rider" text,
"winning_team" text,
"report" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_calendar" (
"round" real,
"country" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_rider" text,
"winning_team" text,
"report" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_calendar" (
"round" real,
"country" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_rider" text,
"winning_team" text,
"report" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_calendar" (
"round" real,
"country" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_rider" text,
"winning_team" text,
"report" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_crowd_sizes" (
"season" text,
"ave_attendance" real,
"ave_on_prev_season" text,
"competition" text,
"occupier" text
);
Question: How many values of attendance occur when ave. on previou... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_crowd_sizes" (
"season" text,
"ave_attendance" real,
"ave_on_prev_season" text,
"competition" text,
"occupier" text
);
Question: What is the lowest value of average attendance when aver... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_crowd_sizes" (
"season" text,
"ave_attendance" real,
"ave_on_prev_season" text,
"competition" text,
"occupier" text
);
Question: What is the least value for average attendance when aver... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_crowd_sizes" (
"season" text,
"ave_attendance" real,
"ave_on_prev_season" text,
"competition" text,
"occupier" text
);
Question: What is every value for average on previous season if th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"locale" text,
"skip" text,
"w" real,
"l" real,
"pf" real,
"pa" real,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"locale" text,
"skip" text,
"w" real,
"l" real,
"pf" real,
"pa" real,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overall_scorers" (
"name" text,
"nationality" text,
"malm_ff_career" text,
"league_appearances" real,
"league_goals" real,
"total_appearances" real,
"total_goals" real
);
Question: What is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overall_scorers" (
"name" text,
"nationality" text,
"malm_ff_career" text,
"league_appearances" real,
"league_goals" real,
"total_appearances" real,
"total_goals" real
);
Question: What is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overall_scorers" (
"name" text,
"nationality" text,
"malm_ff_career" text,
"league_appearances" real,
"league_goals" real,
"total_appearances" real,
"total_goals" real
);
Question: How many... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "youth_competitions" (
"date" text,
"competition" text,
"location" text,
"home_team" text,
"result" text,
"away_team" text
);
Question: Who were the away teams when the competition was the 1st... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "youth_competitions" (
"date" text,
"competition" text,
"location" text,
"home_team" text,
"result" text,
"away_team" text
);
Question: What were the competitions when the away team was fk koz... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "outfield_players" (
"name" text,
"position" text,
"country" text,
"years" text,
"games" real,
"minutes" real,
"goals" real,
"assists" real,
"int_caps" real,
"int_goals" real
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "outfield_players" (
"name" text,
"position" text,
"country" text,
"years" text,
"games" real,
"minutes" real,
"goals" real,
"assists" real,
"int_caps" real,
"int_goals" real
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_in_the_past" (
"date" real,
"competition" text,
"location" text,
"home_team" text,
"result" text,
"away_team" text
);
Question: What was the result of the home match against FK Rudar ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_in_the_past" (
"date" real,
"competition" text,
"location" text,
"home_team" text,
"result" text,
"away_team" text
);
Question: Where was the home match against FK Rudar Ugljevik play... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29728787_1" (
"year" text,
"conductor" text,
"opera_house_or_orchestra" text,
"label" text,
"countess" text,
"count" text,
"flamand" text,
"olivier" text,
"la_roche" text,
"clai... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29728787_1" (
"year" text,
"conductor" text,
"opera_house_or_orchestra" text,
"label" text,
"countess" text,
"count" text,
"flamand" text,
"olivier" text,
"la_roche" text,
"clai... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29728787_1" (
"year" text,
"conductor" text,
"opera_house_or_orchestra" text,
"label" text,
"countess" text,
"count" text,
"flamand" text,
"olivier" text,
"la_roche" text,
"clai... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29728787_1" (
"year" text,
"conductor" text,
"opera_house_or_orchestra" text,
"label" text,
"countess" text,
"count" text,
"flamand" text,
"olivier" text,
"la_roche" text,
"clai... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29728787_1" (
"year" text,
"conductor" text,
"opera_house_or_orchestra" text,
"label" text,
"countess" text,
"count" text,
"flamand" text,
"olivier" text,
"la_roche" text,
"clai... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "class_16_da_4_6_2_builders_works_numbers" (
"sar_no" real,
"builder" text,
"year" real,
"works_no" real,
"firebox" text,
"driver_diameter" text
);
Question: What are the works numbers where t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "class_16_da_4_6_2_builders_works_numbers" (
"sar_no" real,
"builder" text,
"year" real,
"works_no" real,
"firebox" text,
"driver_diameter" text
);
Question: For what year is the SAR no. 874?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29747178_2" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: Who is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29747178_2" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: How ma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29747178_2" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: What i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29747178_2" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: Who is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_29747178_2" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: What i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "rating_figures" (
"episode" real,
"date" text,
"official_rating_4" text,
"share_4" text,
"official_rating_16_39" text,
"share_16_39" text
);
Question: Which episode had a share 16-19 of 23,22... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "rating_figures" (
"episode" real,
"date" text,
"official_rating_4" text,
"share_4" text,
"official_rating_16_39" text,
"share_16_39" text
);
Question: What was the official rating 16-39 of ep... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"manufacturer" text,
"model" text,
"intro_date" text,
"interface" text,
"os" text,
"price_usd" real,
"price" text,
"throughput" text
);
Question: What is the intro date for ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"manufacturer" text,
"model" text,
"intro_date" text,
"interface" text,
"os" text,
"price_usd" real,
"price" text,
"throughput" text
);
Question: What is the intro date for ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"manufacturer" text,
"model" text,
"intro_date" text,
"interface" text,
"os" text,
"price_usd" real,
"price" text,
"throughput" text
);
Question: How many intro dates have t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"manufacturer" text,
"model" text,
"intro_date" text,
"interface" text,
"os" text,
"price_usd" real,
"price" text,
"throughput" text
);
Question: What is the price for the m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"manufacturer" text,
"model" text,
"intro_date" text,
"interface" text,
"os" text,
"price_usd" real,
"price" text,
"throughput" text
);
Question: What is the price (usd) for... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"manufacturer" text,
"model" text,
"intro_date" text,
"interface" text,
"os" text,
"price_usd" real,
"price" text,
"throughput" text
);
Question: Who is the manufacturer who... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.