text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_table" (
"position" real,
"club" text,
"played" real,
"points" text,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_table" (
"position" real,
"club" text,
"played" real,
"points" text,
"wins" real,
"draws" real,
"losses" real,
"goals_for" real,
"goals_against" real,
"goal_difference" real
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women" (
"event" text,
"time" text,
"nationality" text,
"date" text,
"meet" text,
"location" text
);
Question: On what Date was the Meet of 2007 Pan American Games with a Time of 1:07.78?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women" (
"event" text,
"time" text,
"nationality" text,
"date" text,
"meet" text,
"location" text
);
Question: What Nationality's time is 2:07.64?
<|assistant|>
SELECT "nationality" FROM "wom... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women" (
"event" text,
"time" text,
"nationality" text,
"date" text,
"meet" text,
"location" text
);
Question: What Event's Time is 4:01.00?
<|assistant|>
SELECT "event" FROM "women" WHERE "t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women" (
"event" text,
"time" text,
"nationality" text,
"date" text,
"meet" text,
"location" text
);
Question: In what Location in the United States the Time 2:25.62?
<|assistant|>
SELECT "lo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "outdoor" (
"year" real,
"record" text,
"regular_season_finish" text,
"playoffs" text,
"avg_attendance" real
);
Question: Year larger than 1975, and a Record of 13–11 is what playoffs?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sunday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text,
"10_30" text
);
Question: Which 9:30 has a 10:30 of le journal weekend?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sunday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text,
"10_30" text
);
Question: Which 9:00 has an 8:00 behind the movies?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sunday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text,
"10_30" text
);
Question: What 10:00 has a 7:30 of da kink in my hair?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sunday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text,
"10_30" text
);
Question: What 7:00 has a 9:30 of tout le monde en parle?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sunday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text,
"10_30" text
);
Question: What 7:00 has a 10:00 of dirty sexy money?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sunday" (
"7_00" text,
"7_30" text,
"8_00" text,
"8_30" text,
"9_00" text,
"9_30" text,
"10_00" text,
"10_30" text
);
Question: What 10:00 has a 8:00 of movies?
<|assistant|>
SELECT "10_0... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "major_titles" (
"competition" text,
"venue" text,
"year" real,
"category" text,
"result" text
);
Question: What are the venues prior to 2005 in the World Class category that resulted in a bronz... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "major_titles" (
"competition" text,
"venue" text,
"year" real,
"category" text,
"result" text
);
Question: What are the competitions that occurred before 2006 in SVK Nitra?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "major_titles" (
"competition" text,
"venue" text,
"year" real,
"category" text,
"result" text
);
Question: What are the categories of events that occurred after 2007 that were World Championshi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "major_titles" (
"competition" text,
"venue" text,
"year" real,
"category" text,
"result" text
);
Question: What was the result of events held at Nor Elverum, prior to 2010?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "major_titles" (
"competition" text,
"venue" text,
"year" real,
"category" text,
"result" text
);
Question: What was the competition held in 2003?
<|assistant|>
SELECT "competition" FROM "major_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: What chassis type does a scuderia ferrari with more than 1 poi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: A ferrari flat-12 engine with more than 1 point has what kind ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: What is the average year for a merzario a2 chassis?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: What was the team's record when they played visitor team Chicago Black Hawks on November 24?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: What is the name of the visitor team who played home team Chicago Black Hawks on March 20?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: What was the team's record on November 12?
<|assistant|>
SELECT "record" FROM "regular_seaso... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners_and_runners_up" (
"year" text,
"date_final" text,
"venue" text,
"prize_money" text,
"champion" text,
"runner_up" text,
"score_in_final" text,
"commercial_name" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners_and_runners_up" (
"year" text,
"date_final" text,
"venue" text,
"prize_money" text,
"champion" text,
"runner_up" text,
"score_in_final" text,
"commercial_name" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners_and_runners_up" (
"year" text,
"date_final" text,
"venue" text,
"prize_money" text,
"champion" text,
"runner_up" text,
"score_in_final" text,
"commercial_name" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners_and_runners_up" (
"year" text,
"date_final" text,
"venue" text,
"prize_money" text,
"champion" text,
"runner_up" text,
"score_in_final" text,
"commercial_name" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners_and_runners_up" (
"year" text,
"date_final" text,
"venue" text,
"prize_money" text,
"champion" text,
"runner_up" text,
"score_in_final" text,
"commercial_name" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_world_championship_formula_one_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: What is the greatest point of an Entrant of connaught engineer... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_world_championship_formula_one_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: What 1957 engine has a Chassis of connaught type b?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"year" real,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
);
Question: Name the least year for david eddy
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"year" real,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
);
Question: Name the mixed doubles for year before 19... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"year" real,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
);
Question: Name the women's doubles for year less th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "champions_tour_wins_9" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: When was the winning score −9 (72-68-64-67=271)?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "champions_tour_wins_9" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: What was the margin of victory for the Mississippi Gulf ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "champions_tour_wins_9" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: What was the margin of victory when Mark Calcavecchia wa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "champions_tour_wins_9" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: What was the date of the Ace Group Classic tournament wi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "champions_tour_wins_9" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: What was the margin of victory when the winning score wa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1981_raiders_draft_selections" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
);
Question: What is the average round for te position?
<|assistant|>
SELECT AVG("r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1981_raiders_draft_selections" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
);
Question: Name the average overall for james davis
<|assistant|>
SELECT AVG("ove... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1981_raiders_draft_selections" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
);
Question: Name the most overall for james davis and round more than 5
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1981_raiders_draft_selections" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
);
Question: Name the total number of overall for villanova and round less than 2
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_50_most_topographically_prominent_su" (
"rank" real,
"mountain_peak" text,
"state" text,
"mountain_range" text,
"location" text
);
Question: Which state is Mount Chiginagak located in?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008" (
"date" text,
"location" text,
"nature_of_incident" text,
"circumstances" text,
"casualties" text
);
Question: What were the circumstances for the Baghlan location?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008" (
"date" text,
"location" text,
"nature_of_incident" text,
"circumstances" text,
"casualties" text
);
Question: What were the casualties in the Baghlan location?
<|assistant|>
SELECT "cas... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008" (
"date" text,
"location" text,
"nature_of_incident" text,
"circumstances" text,
"casualties" text
);
Question: What was the date of natural cause situation?
<|assistant|>
SELECT "date" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
);
Question: Which Gold Coast has a Perth of no, a Sydney of yes, and an Auckland of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
);
Question: Which Melbourne has an Auckland of no, and a Gold Coast of no?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
);
Question: Which Adelaide has a Melbourne of yes, an Auckland of yes, and a Perth ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
);
Question: Which Sydney has a Perth of no, a Melbourne of yes, and a Gold Coast of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
);
Question: Which Auckland has an Adelaide of no, a Melbourne of yes, and a Sydney ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008" (
"sydney" text,
"melbourne" text,
"perth" text,
"adelaide" text,
"gold_coast" text,
"auckland" text
);
Question: Which Adelaide has an Auckland of yes, a Melbourne of yes, a Perth of y... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_time_teams" (
"team" text,
"truck_s" text,
"driver_s" text,
"primary_sponsor_s" text,
"owner_s" text,
"crew_chief" text
);
Question: Who is the owner of RSS Racing that driver Ryan Sieg ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_time_teams" (
"team" text,
"truck_s" text,
"driver_s" text,
"primary_sponsor_s" text,
"owner_s" text,
"crew_chief" text
);
Question: Parts Plus sponsors what driver?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_time_teams" (
"team" text,
"truck_s" text,
"driver_s" text,
"primary_sponsor_s" text,
"owner_s" text,
"crew_chief" text
);
Question: Who is the owner of NTS Motorsports sponsored by Qore... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_time_teams" (
"team" text,
"truck_s" text,
"driver_s" text,
"primary_sponsor_s" text,
"owner_s" text,
"crew_chief" text
);
Question: Who is the crew chief, of driver Matt kurzejewski?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_time_teams" (
"team" text,
"truck_s" text,
"driver_s" text,
"primary_sponsor_s" text,
"owner_s" text,
"crew_chief" text
);
Question: Who is the driver that has a crew chief Gary Ritter?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "others_awards_and_nominations" (
"year" real,
"result" text,
"award" text,
"category" text,
"nominated_work" text
);
Question: what is the award for the 2009 songwriter of the year?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "others_awards_and_nominations" (
"year" real,
"result" text,
"award" text,
"category" text,
"nominated_work" text
);
Question: what is the category that has the people's choice awards?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "others_awards_and_nominations" (
"year" real,
"result" text,
"award" text,
"category" text,
"nominated_work" text
);
Question: what year has general nominated in the category or choice breakthr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "national_team" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
);
Question: What was the score on 6 February 2008?
<|assistant|>
SELECT "score" FROM "national_team"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "national_team" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
);
Question: Which competition was held on 14 November 2012?
<|assistant|>
SELECT "competition" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "national_team" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
);
Question: What competition took place on 10 August 2011?
<|assistant|>
SELECT "competition" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: What is the average Year with Chassis equalling cooper t60?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: Which Chassis has an Entrant of cooper car company, and a Year... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: Which Entrant has an Engine of climax straight-4, and Points l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_18_itf" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
Question: Which tournament has hard as the surface and apr. 12, 1998 as the date?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_18_itf" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
Question: Which surface has wynne prakusya as the opponent in the final?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_18_itf" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
Question: What score has wynne prakusya as the opponent in the final?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_18_itf" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
Question: What tournament has nov. 21, 1999 as the date?
<|assistant|>
SELECT "to... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "masterton_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real
);
Question: Name the authority for coed gender and chanel college
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "masterton_district" (
"name" text,
"years" text,
"gender" text,
"area" text,
"authority" text,
"decile" real
);
Question: Name the average decile for state authority and area of fernridge
<|a... |
<|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,
"game_site" text,
"record" text,
"attendance" text
);
Question: What was the week on October 11, 1998?
<|assistant|>
SE... |
<|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,
"game_site" text,
"record" text,
"attendance" text
);
Question: What is the location of the game with attendance of 63,... |
<|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,
"game_site" text,
"record" text,
"attendance" text
);
Question: What was the date of the week 13 game?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2007_regular_season_football_standings" (
"school" text,
"team" text,
"division_record" text,
"overall_record" text,
"season_outcome" text
);
Question: What is the Panthers' Division Record?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2007_regular_season_football_standings" (
"school" text,
"team" text,
"division_record" text,
"overall_record" text,
"season_outcome" text
);
Question: What is the Senators' division record?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: What was the record after the January 18 game?
<|assistant|>
SELECT "record" FROM "regular_s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: What was the record after the January 6 game?
<|assistant|>
SELECT "record" FROM "regular_se... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "settlements_with_population_below_100" (
"rank" real,
"population" real,
"name" text,
"former_name" text,
"municipality" text
);
Question: Name the total number of ranks for kujalleq with forme... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "settlements_with_population_below_100" (
"rank" real,
"population" real,
"name" text,
"former_name" text,
"municipality" text
);
Question: Name the former name for 49 rank
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which NHL team has left wing listed as the posi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ruapehu_district" (
"name" text,
"years" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
);
Question: What years does Kakahi school, with a decile of 3, have?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ruapehu_district" (
"name" text,
"years" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
);
Question: What is the average decile of Ruapehu college, which has a state authorit... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ruapehu_district" (
"name" text,
"years" text,
"area" text,
"authority" text,
"decile" real,
"roll" real
);
Question: What is the roll number of Orautoha school in Raetihi, which has a decile... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"home_away_game" text,
"result" text
);
Question: On what day was Utah Blaze the opponent?
<|assistant|>
SELECT "date" FROM "schedule" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"1999" text,
"2002" text,
"2004" text,
"2006" text,
"2007" text,
"2010" text,
"2011" text,
"2012" text
);
Question: What is the 2006 v... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"1999" text,
"2002" text,
"2004" text,
"2006" text,
"2007" text,
"2010" text,
"2011" text,
"2012" text
);
Question: What is the 2010 v... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"1999" text,
"2002" text,
"2004" text,
"2006" text,
"2007" text,
"2010" text,
"2011" text,
"2012" text
);
Question: What is the 2007 v... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"1999" text,
"2002" text,
"2004" text,
"2006" text,
"2007" text,
"2010" text,
"2011" text,
"2012" text
);
Question: What is the 2004 v... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_performance_timeline" (
"tournament" text,
"1999" text,
"2002" text,
"2004" text,
"2006" text,
"2007" text,
"2010" text,
"2011" text,
"2012" text
);
Question: What is the 2004 v... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_open" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
);
Question: Who played women's singles in 2002?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_open" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
);
Question: Who played men's doubles in 1963?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_goals" (
"goal_num" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
);
Question: Name the score for 30 january 2013
<|assistant|>
SELECT "score"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_goals" (
"goal_num" real,
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
);
Question: Name the result for goal # more than 4
<|assistant|>
SELECT "re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
);
Question: What is Fred Couples to par?
<|assistant|>
SELECT "to_par" FROM "first_round" WHERE "player"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
);
Question: What place has a score under 68?
<|assistant|>
SELECT "place" FROM "first_round" WHERE "scor... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "other_grands_prix" (
"name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
Question: Which driver won when o.m. was the winning constru... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "other_grands_prix" (
"name" text,
"circuit" text,
"date" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
Question: Which driver won when the winning constructor was ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.