text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canada" (
"network" text,
"origin_of_programming" text,
"language" text,
"genre" text,
"service" text
);
Question: Which service does the network of atn urdu offer?
<|assistant|>
SELECT "servic... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canada" (
"network" text,
"origin_of_programming" text,
"language" text,
"genre" text,
"service" text
);
Question: Whose origin of Programming offers a general genre, a network of ntv bangla an... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canada" (
"network" text,
"origin_of_programming" text,
"language" text,
"genre" text,
"service" text
);
Question: Which service has a hindi language, general genre and zee tv network?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canada" (
"network" text,
"origin_of_programming" text,
"language" text,
"genre" text,
"service" text
);
Question: Which network has an origina of Programming in India, a general genre, a servi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canada" (
"network" text,
"origin_of_programming" text,
"language" text,
"genre" text,
"service" text
);
Question: Which language has Programming from India, general genre, a network of ptc pun... |
<|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: What is the average number of bronzes when the rank is below 11 for trinidad an... |
<|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: What is the sum of gold medal totals for nations with 1 silver, less than 2 bro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_officers" (
"name" text,
"date_of_birth" text,
"actual_rank" text,
"appointment_date" text,
"allegiance" text
);
Question: Who did Winfield Scott have an allegiance with?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "listing" (
"rank" real,
"name" text,
"population_2011_census" real,
"percent_of_national_population" text,
"pct_growth_2006_11" text,
"land_area_km" real,
"population_density_km_2" real,
"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "listing" (
"rank" real,
"name" text,
"population_2011_census" real,
"percent_of_national_population" text,
"pct_growth_2006_11" text,
"land_area_km" real,
"population_density_km_2" real,
"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "listing" (
"rank" real,
"name" text,
"population_2011_census" real,
"percent_of_national_population" text,
"pct_growth_2006_11" text,
"land_area_km" real,
"population_density_km_2" real,
"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "listing" (
"rank" real,
"name" text,
"population_2011_census" real,
"percent_of_national_population" text,
"pct_growth_2006_11" text,
"land_area_km" real,
"population_density_km_2" real,
"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1971_isle_of_man_junior_tt_350cc_final_s" (
"place" real,
"rider" text,
"country" text,
"machine" text,
"speed" text,
"time" text,
"points" real
);
Question: Which rider from the 1971 Isle ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1971_isle_of_man_junior_tt_350cc_final_s" (
"place" real,
"rider" text,
"country" text,
"machine" text,
"speed" text,
"time" text,
"points" real
);
Question: Which rider had a points score ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_tries" (
"player" text,
"span" text,
"start" text,
"tries" text,
"conv" text,
"pens" text,
"drop" text
);
Question: Which Start has a 0 Conv, 0 Pens and 8 Tries?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_tries" (
"player" text,
"span" text,
"start" text,
"tries" text,
"conv" text,
"pens" text,
"drop" text
);
Question: Which Player has 0 Pens and 12 Starts?
<|assistant|>
SELECT "player"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_tries" (
"player" text,
"span" text,
"start" text,
"tries" text,
"conv" text,
"pens" text,
"drop" text
);
Question: Which Start has 8 Tries and 0 Convs?
<|assistant|>
SELECT "start" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Who was the away team for the game at Vi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
);
Question: What was round 7's lowest overall?
<|assistant|>
SELECT MIN("overall") FROM "nfl_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
);
Question: Who had the smallest overall under 22?
<|assistant|>
SELECT "player" FROM "nfl_dr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
);
Question: What was Cal State-Los Angeles' position with an Overall above 22?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
);
Question: Who played for Memphis State?
<|assistant|>
SELECT "player" FROM "nfl_draft" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_17" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the largest crowd for the St Kil... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_17" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was the crowd size when Essendon wa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_17" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Which venue had a crowd larger than 20,0... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_17" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Which away team played at Lake Oval?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_17" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: On what date was the crowd more numerous... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_17" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the total number of the crowd at... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: The Western Oval venue has what date?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"kickoff" text,
"attendance" text
);
Question: What is the kickoff time for the Miami Dolphins?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"kickoff" text,
"attendance" text
);
Question: What was the final of the New England Patriots g... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "exhibition_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
Question: What is the largest attendance on august 10, 1963, and a week larger than 1?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What date was the game when the away team... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Where was the game played when the home t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was the score of the away team when ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_8" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the smallest crowd at princes par... |
<|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: What is the highest ranked nation with 15 silver medals and no more than 47 tot... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average" (
"rank_by_average" real,
"place" real,
"couple" text,
"total" real,
"number_of_dances" real,
"average" real
);
Question: What was the highest rank by average of a couple who had an ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "verb_derivations_using_the_root_qet_the_" (
"type" text,
"suffix" text,
"valency_change" text,
"example" text,
"meaning" text
);
Question: What is the example with the associative type?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "verb_derivations_using_the_root_qet_the_" (
"type" text,
"suffix" text,
"valency_change" text,
"example" text,
"meaning" text
);
Question: What is the Suffix of the intensive and valency change... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "verb_derivations_using_the_root_qet_the_" (
"type" text,
"suffix" text,
"valency_change" text,
"example" text,
"meaning" text
);
Question: WHat is the Valency change of associative type?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Who is the home team when hawthorn is the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Who is the away side that scores 9.8 (62)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_6" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the largest crowd that has the aw... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was the away team that played at Win... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was the home team at the match when ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_3" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was the away team at the match where... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_9" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the venue when the away side scor... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_9" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the smallest crowd when richmond ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_9" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is melbourne's home team score?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television_broadcasters" (
"year" real,
"network" text,
"host" text,
"pre_race_analyst" text,
"lap_by_lap" text,
"color_commentator_s" text,
"pit_reporters" text
);
Question: Who is the col... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"in_office" text
);
Question: Which member of the National Party is from the Hinkler electorate?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"in_office" text
);
Question: Which member is from the state of SA and the grey electorate?
<|assistant|>
SELECT "membe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"member" text,
"party" text,
"electorate" text,
"state" text,
"in_office" text
);
Question: In which state is the Petrie electorate?
<|assistant|>
SELECT "state" FROM "see_also" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2002_new_england_patriots_draft_selectio" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
);
Question: What round was the draft pick of tight end with an Overall ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2002_new_england_patriots_draft_selectio" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
);
Question: Which player is a wide receiver picked in round 7?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2002_new_england_patriots_draft_selectio" (
"round" real,
"overall" real,
"player" text,
"position" text,
"college" text
);
Question: What is the name of the running back pick?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: When did the VFL pay at Victoria Park?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: When did South Melbourne play as the away... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_4" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was home team Essendon's opponents s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What date did the home team have a score... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What did the away team score when the ho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "best_100_chinese_motion_pictures" (
"rank" real,
"title" text,
"year" real,
"region" text,
"director_s" text
);
Question: When was The Love Eterne released?
<|assistant|>
SELECT "year" FROM "be... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text
);
Question: How many heats had 5 lanes and a rank less than 110 for the nationality of Honduras?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text
);
Question: How many heats had 2 lanes, a rank above 75, and nationality of Madagascar?
<|assistant|>
SELECT COU... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text
);
Question: What is the sum of every heat for the nationality of Macedonia with a rank less than 114?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text
);
Question: What was the least number of heats with more than 8 lanes for the Nationality of Germany?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_12" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: When the VFL played Victoria Park what w... |
<|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 driver has over 19 points and a grid of over 2?
<|assistant|>
SELECT "driver... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_14" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was the score for the away team whe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_14" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was the score of the home team when... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_14" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Where was the game played when the away ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_14" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was the score for the home team of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_16" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was the score for the Essendon home... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_16" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was the smallest crowd for the Rich... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_16" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was the largest crowd at the Brunsw... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Who was the home team when VFL played at... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was the attendance when the VFL pla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was the attendance when North Melbo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: When did Essendon play as the home team?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_stages" (
"approximate_age" text,
"virtues" text,
"psycho_social_crisis" text,
"significant_relationship" text,
"existential_question_not_in_citation_given" text,
"examples" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_stages" (
"approximate_age" text,
"virtues" text,
"psycho_social_crisis" text,
"significant_relationship" text,
"existential_question_not_in_citation_given" text,
"examples" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_stages" (
"approximate_age" text,
"virtues" text,
"psycho_social_crisis" text,
"significant_relationship" text,
"existential_question_not_in_citation_given" text,
"examples" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_stages" (
"approximate_age" text,
"virtues" text,
"psycho_social_crisis" text,
"significant_relationship" text,
"existential_question_not_in_citation_given" text,
"examples" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_18" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Who is the away side at windy hill?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_18" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Who is the home side when the away side ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
);
Question: How many drafts featured fred hoaglin?
<|assistant|>
SELECT COUNT("overall") FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
);
Question: What round did the player from delta st. get picked?
<|assistant|>
SELECT "round"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"overall" real,
"player" text,
"position" text,
"school_club_team" text
);
Question: What is the highest overall number for someone from round 16?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was the average crowd size when Mel... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_15" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was North Melbourne's score when th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "history" (
"year" text,
"1st_position" text,
"2nd_position" text,
"9th_position" text,
"10th_position" text
);
Question: What is in the ninth position where the tenth position is rabat ajax?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "history" (
"year" text,
"1st_position" text,
"2nd_position" text,
"9th_position" text,
"10th_position" text
);
Question: In what year is the tenth position xghajra?
<|assistant|>
SELECT "year" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "history" (
"year" text,
"1st_position" text,
"2nd_position" text,
"9th_position" text,
"10th_position" text
);
Question: In what year is the 9th position balzan?
<|assistant|>
SELECT "year" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "history" (
"year" text,
"1st_position" text,
"2nd_position" text,
"9th_position" text,
"10th_position" text
);
Question: Where there is a tenth position of gozo, what is the first position?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "history" (
"year" text,
"1st_position" text,
"2nd_position" text,
"9th_position" text,
"10th_position" text
);
Question: In what year is the 9th position rabat ajax?
<|assistant|>
SELECT "year"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What was Hawthorn's score as the away te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Who was the away team that scored 7.6 (4... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Who was the away team at the game at Lak... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_10" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Who was the home team that scored 8.7 (5... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.