text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television_broadcasters" (
"channel" real,
"channel_name" text,
"callsign" text,
"signal_power" text,
"broadcast_area" text
);
Question: How many channels are there in the Greater Tokyo area?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television_broadcasters" (
"channel" real,
"channel_name" text,
"callsign" text,
"signal_power" text,
"broadcast_area" text
);
Question: What is the signal power for JOAB-DTV?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26375386_20" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
);
Question: How many times is the voting percentage 10.7... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26375386_20" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
);
Question: What is the vote percentage for the couple g... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26375386_20" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
);
Question: what couple had a vote percentage of 5.8%?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26375386_20" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
);
Question: What is the public when the vote percentage ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26375386_20" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
);
Question: How many judges were there when the result i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26375386_20" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
);
Question: How many times was the vote percentage 15.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: What is the least place when the couple i... |
<|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 numbers of dances for place 1?
<... |
<|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 ranks by average when Keiron & B... |
<|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 every average when number of danc... |
<|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 ranks by average for the couple ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26375386_22" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
);
Question: Name the rank for mikey and melanie
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26375386_22" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
);
Question: Name the public for mikey and melanie
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26375386_22" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
);
Question: Name the judges for 4 public
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26375386_22" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
);
Question: Name the total number for 3 public
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26385848_1" (
"year_ceremony" text,
"film_title" text,
"main_language_s" text,
"director" text,
"result" text
);
Question: What is the number of directors for the film title Eldra?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26385848_1" (
"year_ceremony" text,
"film_title" text,
"main_language_s" text,
"director" text,
"result" text
);
Question: What is the year (ceremony) for the film title Eldra?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26385848_1" (
"year_ceremony" text,
"film_title" text,
"main_language_s" text,
"director" text,
"result" text
);
Question: Who is the director for the film title Eldra?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26385848_1" (
"year_ceremony" text,
"film_title" text,
"main_language_s" text,
"director" text,
"result" text
);
Question: In the year (ceremony) 1998 (71st), what are all the main langu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26385848_1" (
"year_ceremony" text,
"film_title" text,
"main_language_s" text,
"director" text,
"result" text
);
Question: In the year (ceremony) 2009 (82nd), who are all the directors?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26385848_1" (
"year_ceremony" text,
"film_title" text,
"main_language_s" text,
"director" text,
"result" text
);
Question: In the year (ceremony) 1995 (68th), what is the film title?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26389588_1" (
"name_designation" text,
"year_of_introduction" text,
"country_of_origin" text,
"primary_cartridge" text,
"primary_user" text
);
Question: If the country of Origin is South... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26389588_1" (
"name_designation" text,
"year_of_introduction" text,
"country_of_origin" text,
"primary_cartridge" text,
"primary_user" text
);
Question: If the Country of Origin is Denma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26389588_1" (
"name_designation" text,
"year_of_introduction" text,
"country_of_origin" text,
"primary_cartridge" text,
"primary_user" text
);
Question: How many different years was the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26389588_1" (
"name_designation" text,
"year_of_introduction" text,
"country_of_origin" text,
"primary_cartridge" text,
"primary_user" text
);
Question: If the country of origin is switz... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26400075_2" (
"entered_a" text,
"weeks_in_top_10" real,
"single" text,
"artist" text,
"peak" real,
"peak_reached_a" text,
"weeks_at_peak" real
);
Question: How many singles does Lisa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26400075_2" (
"entered_a" text,
"weeks_in_top_10" real,
"single" text,
"artist" text,
"peak" real,
"peak_reached_a" text,
"weeks_at_peak" real
);
Question: How many weeks in the top-... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26401898_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
Question: Name the final sco... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26401898_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
Question: Name the least wee... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26401898_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
Question: Name the game site... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26401898_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
Question: Name the most atte... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "election_results" (
"district" real,
"incumbent" text,
"party" text,
"elected" text,
"status" text,
"2010_candidates" text
);
Question: What is the elected year when the 2010 candidates were ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "election_results" (
"district" real,
"incumbent" text,
"party" text,
"elected" text,
"status" text,
"2010_candidates" text
);
Question: What is the party when 2010 candidates is gloria butler... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "election_results" (
"district" real,
"incumbent" text,
"party" text,
"elected" text,
"status" text,
"2010_candidates" text
);
Question: How many times were the 2010 candidates Judson hill (r)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "election_results" (
"district" real,
"incumbent" text,
"party" text,
"elected" text,
"status" text,
"2010_candidates" text
);
Question: What is the elected year when the party is democratic a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "election_results" (
"district" real,
"incumbent" text,
"party" text,
"elected" text,
"status" text,
"2010_candidates" text
);
Question: Who is the incumbent when the elected year is 2004, the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26409328_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26409328_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26409328_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26409328_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cast" (
"alumni" text,
"original_season" text,
"fresh_meat_partner" text,
"age" real,
"hometown" text,
"finish" text
);
Question: How many cast members had sydney walker as their fresh meat p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cast" (
"alumni" text,
"original_season" text,
"fresh_meat_partner" text,
"age" real,
"hometown" text,
"finish" text
);
Question: What alumni had noor jehangir as their fresh meat partner?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cast" (
"alumni" text,
"original_season" text,
"fresh_meat_partner" text,
"age" real,
"hometown" text,
"finish" text
);
Question: What alumni were in rw: cancun as their original season?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cast" (
"alumni" text,
"original_season" text,
"fresh_meat_partner" text,
"age" real,
"hometown" text,
"finish" text
);
Question: How many people were from portland, or?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26423157_2" (
"school" text,
"record" text,
"conference" text,
"conf_record" text,
"last_app" real,
"seed" text,
"round_eliminated" text,
"lost_to_seed" text
);
Question: What conf... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26423157_2" (
"school" text,
"record" text,
"conference" text,
"conf_record" text,
"last_app" real,
"seed" text,
"round_eliminated" text,
"lost_to_seed" text
);
Question: What seed... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26428602_1" (
"fluorescent_dye" text,
"color" text,
"mass_g_mol" real,
"absorb_nm" real,
"emit_nm" real,
"m_1_cm_1" text
);
Question: What is the ε (m −1 cm −1 ) of the red dye?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26428602_1" (
"fluorescent_dye" text,
"color" text,
"mass_g_mol" real,
"absorb_nm" real,
"emit_nm" real,
"m_1_cm_1" text
);
Question: How much absorption in nm does the orange dye have... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26428602_1" (
"fluorescent_dye" text,
"color" text,
"mass_g_mol" real,
"absorb_nm" real,
"emit_nm" real,
"m_1_cm_1" text
);
Question: What is the ε (m −1 cm −1 ) of the orange flouresc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26428602_1" (
"fluorescent_dye" text,
"color" text,
"mass_g_mol" real,
"absorb_nm" real,
"emit_nm" real,
"m_1_cm_1" text
);
Question: What is the lowest dye absoprtion in nm?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26429771_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26429771_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26429543_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: Who... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26429543_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: How... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cast" (
"role" text,
"original_broadway_cast" text,
"2005_film" text,
"2008_final_performance_film" text,
"hollywood_bowl_cast" text,
"2011_off_broadway_revival" text
);
Question: Who was in ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cast" (
"role" text,
"original_broadway_cast" text,
"2005_film" text,
"2008_final_performance_film" text,
"hollywood_bowl_cast" text,
"2011_off_broadway_revival" text
);
Question: Who had the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cast" (
"role" text,
"original_broadway_cast" text,
"2005_film" text,
"2008_final_performance_film" text,
"hollywood_bowl_cast" text,
"2011_off_broadway_revival" text
);
Question: who was in ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cast" (
"role" text,
"original_broadway_cast" text,
"2005_film" text,
"2008_final_performance_film" text,
"hollywood_bowl_cast" text,
"2011_off_broadway_revival" text
);
Question: How many ti... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26448179_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26448179_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26448179_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26448179_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26448179_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26448179_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
Question: He... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26448179_4" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26448179_4" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26448179_4" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26448179_4" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "javelin_throw" (
"rank" real,
"athlete" text,
"country" text,
"distance_metres" text,
"points" text,
"adjusted_points" real
);
Question: What are the point value(s) for when the athlete was B... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "javelin_throw" (
"rank" real,
"athlete" text,
"country" text,
"distance_metres" text,
"points" text,
"adjusted_points" real
);
Question: What is the total number of times points were listed w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "javelin_throw" (
"rank" real,
"athlete" text,
"country" text,
"distance_metres" text,
"points" text,
"adjusted_points" real
);
Question: Who is the athlete(s) who scored 691 adjusted points?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "javelin_throw" (
"rank" real,
"athlete" text,
"country" text,
"distance_metres" text,
"points" text,
"adjusted_points" real
);
Question: What is the highest rank where the distance is 52.73?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "javelin_throw" (
"rank" real,
"athlete" text,
"country" text,
"distance_metres" text,
"points" text,
"adjusted_points" real
);
Question: What is the country(s) where the points equal 723.075?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "high_jump" (
"rank" real,
"athlete" text,
"country" text,
"height" text,
"points" real,
"adjusted_points" real
);
Question: What is the most adjusted points for Great Britain?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "high_jump" (
"rank" real,
"athlete" text,
"country" text,
"height" text,
"points" real,
"adjusted_points" real
);
Question: What is the country of Paavo Yrjölä?
<|assistant|>
SELECT "country"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "high_jump" (
"rank" real,
"athlete" text,
"country" text,
"height" text,
"points" real,
"adjusted_points" real
);
Question: Which athlete has a height of 1.87 and is from Sweden?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "discus_throw" (
"rank" real,
"athlete" text,
"country" text,
"distance_metres" text,
"points" text,
"adjusted_points" real
);
Question: Name the country that has ken doherty
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "discus_throw" (
"rank" real,
"athlete" text,
"country" text,
"distance_metres" text,
"points" text,
"adjusted_points" real
);
Question: Name the athlete for 7 rank
<|assistant|>
SELECT "athle... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "discus_throw" (
"rank" real,
"athlete" text,
"country" text,
"distance_metres" text,
"points" text,
"adjusted_points" real
);
Question: Name the total number of rank for tom churchill
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26464364_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: Who a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26464364_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: On wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26464364_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: How m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26464364_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: List ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26464364_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: What ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ohio" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
Question: Who was the incumbent in the Ohio 10 district?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ohio" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
Question: Who was the incumbent in the Ohio 5 district?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ohio" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
);
Question: Who were the candidates where the result was retired Republican ho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"institution" text,
"location" text,
"team_nickname" text,
"years" text,
"new_conference" text,
"new_classification" text
);
Question: How many new conferences are in the NC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"institution" text,
"location" text,
"team_nickname" text,
"years" text,
"new_conference" text,
"new_classification" text
);
Question: What is the nickname at the University... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.