text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1988" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text
);
Question: When was Shannon Long the Centerfold model?
<|assistant|>
SELECT "da... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1988" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text
);
Question: Who was the Centerfold model on 5-88?
<|assistant|>
SELECT "centerfo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1988" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text
);
Question: On which date was the interview subject 20 Questions of Judge Reinho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1988" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text
);
Question: Who was the Centerfild model that used Bruce Willis as her Interview... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_details" (
"series" text,
"host" text,
"launch_date" text,
"finale_date" text,
"days" real,
"winner" text,
"prize" text
);
Question: What is Series, when Launch Date is 23 February 2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_details" (
"series" text,
"host" text,
"launch_date" text,
"finale_date" text,
"days" real,
"winner" text,
"prize" text
);
Question: What is Series, when Days is greater than 99, and... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_details" (
"series" text,
"host" text,
"launch_date" text,
"finale_date" text,
"days" real,
"winner" text,
"prize" text
);
Question: What is Series, when Winner is Jetmir Salaj?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_details" (
"series" text,
"host" text,
"launch_date" text,
"finale_date" text,
"days" real,
"winner" text,
"prize" text
);
Question: What is Highest Days, when Launch Date is 23 Janu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
);
Question: What is the lowest Rank, when Name is Jeremiah Massey, and when Games is less than 20?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
);
Question: What is the lowest Games, when Name is Jeremiah Massey, and when Points is less than 340?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
);
Question: What is the lowest Points, when Games is greater than 20, and when Team is Partizan Belgrade?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
);
Question: What is Games, when Points is less than 340, and when Rank is greater than 3?
<|assistant|>
SELECT "gam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "points" (
"rank" real,
"name" text,
"team" text,
"games" real,
"points" real
);
Question: What is the sum of Rank, when Name is Will Solomon, and when Games is greater than 21?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "borussia_m_nchengladbach" (
"round" text,
"opposition" text,
"first_leg" text,
"second_leg" text,
"aggregate_score" text
);
Question: What was the first leg score in the match against Twente?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "borussia_m_nchengladbach" (
"round" text,
"opposition" text,
"first_leg" text,
"second_leg" text,
"aggregate_score" text
);
Question: What was the first leg score in the 2nd round?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"bills_first_downs" real,
"record" text
);
Question: What were the Bills point... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"bills_points" real,
"opponents" real,
"bills_first_downs" real,
"record" text
);
Question: What was the Bills first ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
);
Question: What was the Bill's attendance on December 6?
<|assistant|>
SELECT "attendance" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
);
Question: On what date did the Bills play the Houston Oilers before week 12?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
);
Question: Which team won on the day when attendance was 42,308?
<|assistant|>
SELECT "result" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text
);
Question: What week of the season was December 13?
<|assistant|>
SELECT "week" FROM "season_sch... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the highest Points in ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the goal Difference at... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the average games Play... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the highest Points wit... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: Which average Points has a Los... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
);
Question: What are the Cuts made with a Top-10 smaller than 2?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
);
Question: What is the Top-25 with a Top-10 of 8, and an Events of 4... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
);
Question: What is the Top-25 with an Events of 20, and a Wins large... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "summary" (
"tournament" text,
"wins" real,
"top_5" real,
"top_10" real,
"top_25" real,
"events" real,
"cuts_made" real
);
Question: Which Top-10 has a Top-25 smaller than 18, and a Top-5 of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_thursday" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
);
Question: What is Top Par, when Score is less than 68, and when Country is England?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_thursday" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
);
Question: What is Sum of Score, when Player is Vijay Singh?
<|assistant|>
SELECT SUM("score")... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_thursday" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
);
Question: What is Sum of Score, when Place is T2, and when Player is Justin Leonard?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_thursday" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
);
Question: What is Place, when Score is less than 67, and when Country is South Africa?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tuesday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
);
Question: What show was on at 8:00 when american idol was on at 9:00?
<|assistant|>
SELECT "8_00" FROM "tuesday" W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tuesday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
);
Question: What was on at 8:30 when dancing with the stars: the results was on at 9:30?
<|assistant|>
SELECT "8_30"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tuesday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
);
Question: What was on at 8:30 when dancing with the stars: the results was on at 9:30?
<|assistant|>
SELECT "8_30"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tuesday" (
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text
);
Question: What was on at 10:00 when ncis was on at 8:00?
<|assistant|>
SELECT "10_00" FROM "tuesday" WHERE "8_00"=... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"laps" real,
"pos" text,
"class_pos" text
);
Question: Can you tell me the Team that has the Laps o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pga_tour_wins_21" (
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text
);
Question: What is the Tournament with a Margin of victory that was 4 strokes... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_performance_timeline" (
"tournament" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the average amount of gold medals for a country with more than 12 tota... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
);
Question: Who were the Visitor when the Nets were the Home team?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "november" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
);
Question: What Leading scorer had a Score of 80–112?
<|assistant|>
SELECT "leading_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pga_tour_wins_16" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: What is the name of the tournament played on Sep 20, 1981, en... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pga_tour_wins_16" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: For the tournament played on Jul 4, 1982, what was the winnin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pga_tour_wins_16" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: What was the winning score for the Andy Williams-San Diego Op... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pga_tour_wins_16" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: Who was the runner(s)-up for the tournament played on Jun 3, ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pga_tour_wins_16" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: What was the winning score for the tournament played on Jul 1... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pga_tour_wins_16" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: In which tournament was Gil Morgan the runner-up?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"tv_time" text,
"attendance" real
);
Question: What was the highest attendance when the Atlanta Falcons played for a week... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What is the Result when the Theme was by Dolly ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What is the Order # when the song choice was " ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What is the Theme when the Original artist was ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What is the Result when the Song choice was "be... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What Week # that is there an Order # of 7, and ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_results" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What is the Song choice when there is an Order ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "animals" (
"animal" text,
"proto_austronesian" text,
"proto_malayo_polynesian" text,
"proto_oceanic" text,
"proto_polynesian" text
);
Question: What proto-oceanic has louse as the animal?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "96pct_of_precincts_reporting" (
"candidate" text,
"state_delegate" real,
"percentage" text,
"delegates" real,
"counties_carries" real
);
Question: What is the total number of delegate that have... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
);
Question: What is the Home team with an Away team that is oxford united?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
);
Question: What is the Home team with an Away team that is wrexham?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Which Gold has a Silver of 7, and a Bronze smaller than 7?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Which Bronze has a Silver of 15, and a Gold smaller than 20?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Which Bronze has a Silver of 7, and a Total larger than 25?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Which Gold has a Bronze larger than 1, and a Total larger than 80?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medal_table" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Which Total has a Silver larger than 8, and a Bronze of 20, and a Gold smaller ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_pool_c" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
);
Question: What is the total of NA for set 4, a score of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_pool_c" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
);
Question: What is the total of the 3-0 score with a set ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results_pool_c" (
"date" text,
"score" text,
"set_1" text,
"set_2" text,
"set_3" text,
"set_4" text,
"set_5" text,
"total" text
);
Question: What is the set 5 of the match with a set 2 of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overall" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Who has a total number of 76 silver medals?
<|assistant|>
SELECT COUNT("silver") FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What score has ipswich town as the home team, and replay as the tie no.?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What score has grays athletic as the home team?
<|assistant|>
SELECT "score" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What date has 6 as the tie no.?
<|assistant|>
SELECT "date" FROM "first_round_pro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar" (
"round" text,
"race" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: What is Fastest ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar" (
"round" text,
"race" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: What is Fastest ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar" (
"round" text,
"race" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: What is Date, wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar" (
"round" text,
"race" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: What is Pole Pos... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournaments" (
"date" text,
"location" text,
"country" text,
"event" text,
"winner" text,
"runner_up" text
);
Question: What country was the game played in when the location was trestles?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournaments" (
"date" text,
"location" text,
"country" text,
"event" text,
"winner" text,
"runner_up" text
);
Question: What date was the game played when it was located at bells beach?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournaments" (
"date" text,
"location" text,
"country" text,
"event" text,
"winner" text,
"runner_up" text
);
Question: What country was the game played when it was played from April 11-April... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournaments" (
"date" text,
"location" text,
"country" text,
"event" text,
"winner" text,
"runner_up" text
);
Question: Who was the Runner-up when the game was played at Bells Beach?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "reception" (
"publication" text,
"country" text,
"accolade" text,
"year" real,
"rank" text
);
Question: Which Accolade had a publication of Under the Radar?
<|assistant|>
SELECT "accolade" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "reception" (
"publication" text,
"country" text,
"accolade" text,
"year" real,
"rank" text
);
Question: Which year had a publication of Pazz & Jop?
<|assistant|>
SELECT "year" FROM "reception" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "match_up_summary" (
"district" real,
"incumbent" text,
"2008_status" text,
"democratic" text,
"republican" text
);
Question: How many districts featured the democrat nicholas von stein?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "match_up_summary" (
"district" real,
"incumbent" text,
"2008_status" text,
"democratic" text,
"republican" text
);
Question: Which incumbent's democratic candidate was mike carroll?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1962_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"liberal_ticket" text,
"conservative_ticket" text,
"socialist_workers_ticket" text,
"sociali... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1962_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"liberal_ticket" text,
"conservative_ticket" text,
"socialist_workers_ticket" text,
"sociali... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1962_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"liberal_ticket" text,
"conservative_ticket" text,
"socialist_workers_ticket" text,
"sociali... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1962_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"liberal_ticket" text,
"conservative_ticket" text,
"socialist_workers_ticket" text,
"sociali... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1962_state_election_results" (
"office" text,
"republican_ticket" text,
"democratic_ticket" text,
"liberal_ticket" text,
"conservative_ticket" text,
"socialist_workers_ticket" text,
"sociali... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "area_and_population" (
"member_state" text,
"population_in_millions" real,
"population_pct_of_eu" text,
"area_km_2" real,
"area_pct_of_eu" text,
"pop_density_people_km_2" real
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "area_and_population" (
"member_state" text,
"population_in_millions" real,
"population_pct_of_eu" text,
"area_km_2" real,
"area_pct_of_eu" text,
"pop_density_people_km_2" real
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "area_and_population" (
"member_state" text,
"population_in_millions" real,
"population_pct_of_eu" text,
"area_km_2" real,
"area_pct_of_eu" text,
"pop_density_people_km_2" real
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "area_and_population" (
"member_state" text,
"population_in_millions" real,
"population_pct_of_eu" text,
"area_km_2" real,
"area_pct_of_eu" text,
"pop_density_people_km_2" real
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "area_and_population" (
"member_state" text,
"population_in_millions" real,
"population_pct_of_eu" text,
"area_km_2" real,
"area_pct_of_eu" text,
"pop_density_people_km_2" real
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "volleyball_at_the_2004_summer_olympics_m" (
"name" text,
"date_of_birth" text,
"height" real,
"weight" real,
"spike" real,
"block" real
);
Question: Weighing less than 85, with less than 340 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.