text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "receiving" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"long" real
);
Question: How many yards did Davin Meggett have with more than 9 Rec.?
<|assistant|>
SELECT SUM("yards") FROM "r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "receiving" (
"player" text,
"rec" real,
"yards" real,
"avg" real,
"long" real
);
Question: What is Darrius Heyward-Bey's average with more than 20 yards and less than 80 long?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
);
Question: How many points are associated with a Time/Retired of +10.131 secs?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
);
Question: What is the grid associated witha Time/Retired of +8.180 secs, and under 47 laps?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_league_table" (
"season" text,
"order" text,
"played" real,
"drawn" real,
"lost" real,
"penalties" real,
"points_for" real,
"points_against" real,
"points_diff" real,
"coach" text
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_league_table" (
"season" text,
"order" text,
"played" real,
"drawn" real,
"lost" real,
"penalties" real,
"points_for" real,
"points_against" real,
"points_diff" real,
"coach" text
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_league_table" (
"season" text,
"order" text,
"played" real,
"drawn" real,
"lost" real,
"penalties" real,
"points_for" real,
"points_against" real,
"points_diff" real,
"coach" text
... |
<|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: Name the least rank with bronze of 2, gold more than 0 and nation of ynys môn/a... |
<|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: Name the least total with rank less than 7, gold more than 16 and bronze less t... |
<|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: Name the total number of total with silver of 6, bronze more than 5 and gold le... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"game" real,
"october" real,
"opponent" text,
"score" text,
"record" text
);
Question: What score has a game greater than 11 on October 30?
<|assistant|>
SELECT "score" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"game" real,
"october" real,
"opponent" text,
"score" text,
"record" text
);
Question: What October has 0-2-2 as the record?
<|assistant|>
SELECT "october" FROM "schedul... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"game" real,
"october" real,
"opponent" text,
"score" text,
"record" text
);
Question: What average game has @ florida panthers as the opponent, 0-1-2 as the record, wit... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_nations_cup_all_time_table_2000" (
"champs" real,
"games" real,
"draw" real,
"lost" real,
"win_lose_percentage" text
);
Question: Which Lost has Games of 64, and Champs smaller than 0?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_nations_cup_all_time_table_2000" (
"champs" real,
"games" real,
"draw" real,
"lost" real,
"win_lose_percentage" text
);
Question: Which Draw is the lowest one that has Champs smaller t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_nations_cup_all_time_table_2000" (
"champs" real,
"games" real,
"draw" real,
"lost" real,
"win_lose_percentage" text
);
Question: Which Win/Lose Percentage has Champs larger than 0, an... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_nations_cup_all_time_table_2000" (
"champs" real,
"games" real,
"draw" real,
"lost" real,
"win_lose_percentage" text
);
Question: Which Champs is the average one that has a Draw larger... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "type_ii" (
"kanji" text,
"name" text,
"builder" text,
"laid_down" text,
"launched" text,
"completed" text
);
Question: What is the launch date for the Ushio dd-54?
<|assistant|>
SELECT "launc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "type_ii" (
"kanji" text,
"name" text,
"builder" text,
"laid_down" text,
"launched" text,
"completed" text
);
Question: Which name has a Kanji of 朧?
<|assistant|>
SELECT "name" FROM "type_ii" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "type_ii" (
"kanji" text,
"name" text,
"builder" text,
"laid_down" text,
"launched" text,
"completed" text
);
Question: What is the Kanji for the Ayanami dd-45?
<|assistant|>
SELECT "kanji" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "interval_size" (
"interval_name" text,
"size_steps" real,
"size_cents" real,
"just_ratio" text,
"just_cents" real,
"error" text
);
Question: size (steps) that has a size (cents) of 58.54, and... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "interval_size" (
"interval_name" text,
"size_steps" real,
"size_cents" real,
"just_ratio" text,
"just_cents" real,
"error" text
);
Question: size (steps) of 15, and a just (cents) larger than... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "interval_size" (
"interval_name" text,
"size_steps" real,
"size_cents" real,
"just_ratio" text,
"just_cents" real,
"error" text
);
Question: ratio of 16:13 has how many highest size (steps)?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "interval_size" (
"interval_name" text,
"size_steps" real,
"size_cents" real,
"just_ratio" text,
"just_cents" real,
"error" text
);
Question: ratio of 15:14, and a just (cents) larger than 119... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"venue" text,
"home" text,
"guest" text,
"score_first_match" text,
"attendance" real
);
Question: Who was the home team for the match at Stadion pod Vrmcem?
<|assistant|>
SELECT "ho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"venue" text,
"home" text,
"guest" text,
"score_first_match" text,
"attendance" real
);
Question: Who were the guest team wehn the match score was 3:0 (0:2)?
<|assistant|>
SELECT "g... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mpeg_2_profiles" (
"abbr" text,
"name" text,
"picture_coding_types" text,
"chroma_format" text,
"aspect_ratios" text,
"scalable_modes" text,
"intra_dc_precision" text
);
Question: What Pict... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mpeg_2_profiles" (
"abbr" text,
"name" text,
"picture_coding_types" text,
"chroma_format" text,
"aspect_ratios" text,
"scalable_modes" text,
"intra_dc_precision" text
);
Question: Name the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mpeg_2_profiles" (
"abbr" text,
"name" text,
"picture_coding_types" text,
"chroma_format" text,
"aspect_ratios" text,
"scalable_modes" text,
"intra_dc_precision" text
);
Question: What Chro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "players_of_the_week" (
"week" text,
"division" text,
"team" text,
"player" text,
"school" text
);
Question: What Player is from the west Division and the Team of special teams and is from the S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"wins" real
);
Question: What are the lowest wins for Australia?
<|assistant|>
SELECT MIN("wins") FROM "leaders" WHERE "c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"wins" real
);
Question: What was the highest rank for greg norman with Earnings less than $10,484,065?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "leaders" (
"rank" real,
"player" text,
"country" text,
"earnings" real,
"wins" real
);
Question: how many wins did players earning less than $10,484,065 have?
<|assistant|>
SELECT SUM("wins") F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "metropolitan_lg_as" (
"name" text,
"council_seat" text,
"formed" real,
"population_2010" real,
"area" text,
"website" text
);
Question: What is the name of the metropolitan that has a populat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_club" (
"team" text,
"winners" text,
"runners_up" text,
"third_place" text,
"fourth_place" text
);
Question: How many winners did Minas, which has 0 third places, have?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_club" (
"team" text,
"winners" text,
"runners_up" text,
"third_place" text,
"fourth_place" text
);
Question: How many winners did Halcones uv xalapa have?
<|assistant|>
SELECT "winners" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_club" (
"team" text,
"winners" text,
"runners_up" text,
"third_place" text,
"fourth_place" text
);
Question: How many runners-up did Espartanos de Margarita have?
<|assistant|>
SELECT "runne... |
<|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,
"venue" text,
"attendance" text
);
Question: Which Opponent has Attendances of 60,594?
<|assistant|>
SELECT "opponent" FR... |
<|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,
"venue" text,
"attendance" text
);
Question: When has a Result of l 27-7 and an Opponent of at minnesota vikings?
<|assis... |
<|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,
"venue" text,
"attendance" text
);
Question: When has a Week of 9?
<|assistant|>
SELECT "date" FROM "schedule" WHERE "we... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"time_et" text,
"result" text,
"record" text,
"game_site" text
);
Question: What date did the Steelers play against the New York Jets?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"time_et" text,
"result" text,
"record" text,
"game_site" text
);
Question: What time did the game start during week 1?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
);
Question: How many laps for mi-jack conquest racing when they went off course?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
);
Question: How many laps are associated with a grid greater than 8, under 11 points, and wil... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
);
Question: Who won the Women's doubles the year... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
);
Question: What year was there no competition i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
);
Question: Who won the Women's doubles in 2001?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners" (
"year" text,
"men_s_singles" text,
"women_s_singles" text,
"men_s_doubles" text,
"women_s_doubles" text,
"mixed_doubles" text
);
Question: Who won the Women's doubles the year... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_summary" (
"rank" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Name the average Bronze when silver is more than 3, gold is more than 1 and the total is 14
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_summary" (
"rank" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Name the total number of total for rank of 7 and bronze less than 1
<|assistant|>
SELECT COUN... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_summary" (
"rank" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Name the most silver with bronze more than 1 and gold more than 1 with total less than 7
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_summary" (
"rank" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Name the sum of total for gold less than 1 and bronze of 3
<|assistant|>
SELECT SUM("total") ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "medals_summary" (
"rank" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Name the total number of bronze with rank of 5 and silver more than 1
<|assistant|>
SELECT CO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "municipalities" (
"administrative_division" text,
"area_km" real,
"population_2000_census" real,
"population_2010_census" real,
"population_density_2010_km" real
);
Question: What is the total ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "municipalities" (
"administrative_division" text,
"area_km" real,
"population_2000_census" real,
"population_2010_census" real,
"population_density_2010_km" real
);
Question: What was the sum o... |
<|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,
"attendance" text,
"record" text
);
Question: What was the score for the game against Atlanta?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
);
Question: In the 1936 summer Olympics what was the date of a match that ended with a score o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
);
Question: What was the score for the game that had an end result of 5-2?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "world_championship_group_b_italy" (
"games" real,
"drawn" real,
"lost" real,
"points_difference" text,
"points" real
);
Question: What is the total number of losses that have 1 draw and games o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
Question: How many rounds had a pick number of more than 10 and... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "atlanta_falcons_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
Question: What is the largest overall where the position was li... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
);
Question: What is the Score of the game earlier than 69 with a record of 4–56?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
);
Question: What is the game number with a score of 116–138?
<|assistant|>
SELECT COUNT("g... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
);
Question: What is the Score of the game against the boston celtics?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
);
Question: What is the Game held on february 9?
<|assistant|>
SELECT "game" FROM "game_lo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
);
Question: What is the Score of the game larger than 57 with a Record of 4–55?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_grand_crus" (
"grand_cru" text,
"region" text,
"village" text,
"wine_style" text,
"vineyard_surface_2010" text
);
Question: Which Reigon has a Village of Chassagne-Montrachet?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_grand_crus" (
"grand_cru" text,
"region" text,
"village" text,
"wine_style" text,
"vineyard_surface_2010" text
);
Question: Which Village has a Region of Côte De Nuits, Wine Styles of R... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_grand_crus" (
"grand_cru" text,
"region" text,
"village" text,
"wine_style" text,
"vineyard_surface_2010" text
);
Question: What is the Vineyeard surface (2010) with a Village of Gevrey... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_grand_crus" (
"grand_cru" text,
"region" text,
"village" text,
"wine_style" text,
"vineyard_surface_2010" text
);
Question: What is the Grand Cru with a Wine Style of Red Wine and Villa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"school_club_team" text
);
Question: What is the average pick number of Pennsylvania?
<|assistant|>
SELECT AVG("pick... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"school_club_team" text
);
Question: What is the school/club team of the player with a pick larger than 83?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"school_club_team" text
);
Question: What is the schoo/club team of the player in round 3?
<|assistant|>
SELECT "sch... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"pick" real,
"player" text,
"nationality" text,
"school_club_team" text
);
Question: What is the lowest round of the player from UCLA?
<|assistant|>
SELECT MIN("rou... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pga_tour_wins_25" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: When was –16 (62-71-71-68=272) the winning score?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pga_tour_wins_25" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: What was the name of the tournament played on Jun 17, 1973?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pga_tour_wins_25" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: Howard Twitty was the runner-up of what tournament?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
);
Question: Can you tell me the College/Junior/Club Team that has the Position ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
);
Question: Can you tell me the Position that has the College/Junior/Club Team ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team" text
);
Question: Can you tell me the Player that has the Round smaller than 6, and t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
);
Question: What is the Name of the Center?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
);
Question: What Position has no College Hall of Fame?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
);
Question: What School has no no no Unanimously?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
);
Question: What is the School of the quarterback?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
);
Question: What School is the Center from?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ncaa_consensus_all_american_team" (
"position" text,
"name" text,
"school" text,
"unanimous" text,
"college_hall_of_fame" text
);
Question: What is the Unanimous of the Minnesota Southern Calif... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "models" (
"model_no" text,
"gen" text,
"released" text,
"capacity" text,
"cache" text,
"interface" text,
"feature_set" text,
"sector_size" text
);
Question: What is the Cache with a Capac... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
);
Question: Which Position has a College/Junior/Club Team (League) of es... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
);
Question: Which Nationality has a Player of larry wright?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
Question: What score has august 25 as the date?
<|assistant|>
SELECT "score" FROM "gam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_4" (
"date" text,
"episode" real,
"performer_1" text,
"performer_2" text,
"performer_3" text,
"performer_4" text
);
Question: What is the total number of episodes where jim sweeney was... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_4" (
"date" text,
"episode" real,
"performer_1" text,
"performer_2" text,
"performer_3" text,
"performer_4" text
);
Question: What is the sum of the episode numbers where chip esten is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_4" (
"date" text,
"episode" real,
"performer_1" text,
"performer_2" text,
"performer_3" text,
"performer_4" text
);
Question: What is the sum of the episodes where chip esten was the 4... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_4" (
"date" text,
"episode" real,
"performer_1" text,
"performer_2" text,
"performer_3" text,
"performer_4" text
);
Question: Who was the 3rd performer when christopher smith was the 2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
Question: Which Record has a Time of 4:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
Question: Which Event has a Resolution ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: Which Drawn has a Difference... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: Which Played has a Lost larg... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "michigan_51_indiana_0" (
"player" text,
"position" text,
"starter" text,
"touchdowns" real,
"extra_points" real,
"field_goals" real,
"points" real
);
Question: What's the number of touchdow... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
Question: what is the class of w269ax
<|assistant|>
SELECT "clas... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.