text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_11" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Who played home team at Victoria Park?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "club_statistics" (
"season" text,
"team" text,
"country" text,
"league" text,
"level" real,
"apps" real,
"goals" real
);
Question: What Season has Goals greater than 0 and less than 33 Apps... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
);
Question: How many carries for the RB averaging 4.7, and a long of over 30 yards?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
);
Question: How many yards did kevin swayne average, with a long carry over 7?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
);
Question: How many yards for the player with over 0 TDs and an average of 2.9?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "running_backs" (
"player" text,
"car" real,
"yards" real,
"avg" real,
"td_s" real,
"long" real
);
Question: How many TDs for the player averaging over 7, and over 39 yards?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "disc_one" (
"track" real,
"recorded" text,
"catalogue" text,
"release_date" text,
"song_title" text,
"time" text
);
Question: What is the catalogue for Harbor Lights as a title?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "disc_one" (
"track" real,
"recorded" text,
"catalogue" text,
"release_date" text,
"song_title" text,
"time" text
);
Question: What cataglogue has 27 tracks?
<|assistant|>
SELECT "catalogue" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_and_former_player_information" (
"name" text,
"total_w_l" text,
"singles_w_l" text,
"doubles_w_l" text,
"no_of_ties" real,
"first_year_played" real,
"no_of_years_played" real
);
Que... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tallest_buildings" (
"rank" text,
"name" text,
"height_ft_m" text,
"floors" real,
"year" real
);
Question: What is the height that has a year after 1983 and is named Phoenix Tower?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tallest_buildings" (
"rank" text,
"name" text,
"height_ft_m" text,
"floors" real,
"year" real
);
Question: What is the oldest year listed with the 1500 Louisiana Street name?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tallest_buildings" (
"rank" text,
"name" text,
"height_ft_m" text,
"floors" real,
"year" real
);
Question: What is the Height of rank 11?
<|assistant|>
SELECT "height_ft_m" FROM "tallest_buildi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winning_head_of_the_river_championship_e" (
"school" text,
"location" text,
"enrolment" real,
"founded" real,
"denomination" text,
"day_boarding" text,
"school_colours" text,
"abbreviation... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
Question: What city of license is associated with call sign w244... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
Question: What city of license has a Frequency under 107.7, and ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "plural_forms" (
"singular_abbreviation" text,
"singular_word" text,
"plural_abbreviation" text,
"plural_word" text,
"discipline" text
);
Question: A singular abbreviation of p. is used for what... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "plural_forms" (
"singular_abbreviation" text,
"singular_word" text,
"plural_abbreviation" text,
"plural_word" text,
"discipline" text
);
Question: A plural abbreviation of pp. is used for what ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "plural_forms" (
"singular_abbreviation" text,
"singular_word" text,
"plural_abbreviation" text,
"plural_word" text,
"discipline" text
);
Question: The plural word of hands uses what singular wo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "plural_forms" (
"singular_abbreviation" text,
"singular_word" text,
"plural_abbreviation" text,
"plural_word" text,
"discipline" text
);
Question: The plural word of following lines or pages ha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "plural_forms" (
"singular_abbreviation" text,
"singular_word" text,
"plural_abbreviation" text,
"plural_word" text,
"discipline" text
);
Question: The plural abbreviation of ll. uses what plura... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "plural_forms" (
"singular_abbreviation" text,
"singular_word" text,
"plural_abbreviation" text,
"plural_word" text,
"discipline" text
);
Question: The singular word of hand uses what plural wor... |
<|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: How much did the home team st kilda scor... |
<|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: When the crowd was larger than 7,500 wha... |
<|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's the total number of people to att... |
<|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: When the Away team scored 11.8 (74) how ... |
<|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: How many people have attended victoria p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "president" (
"election" real,
"candidate" text,
"number_of_votes" text,
"share_of_votes" text,
"outcome_of_election" text
);
Question: How many people voted in the election of 1941?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "president" (
"election" real,
"candidate" text,
"number_of_votes" text,
"share_of_votes" text,
"outcome_of_election" text
);
Question: Which candidate lost the election that 770,046 people vote... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "president" (
"election" real,
"candidate" text,
"number_of_votes" text,
"share_of_votes" text,
"outcome_of_election" text
);
Question: Which candidate won 61.47% of the votes?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "president" (
"election" real,
"candidate" text,
"number_of_votes" text,
"share_of_votes" text,
"outcome_of_election" text
);
Question: What percentage of votes did the candidate win in the elec... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "locomotives_of_the_great_western_railway" (
"manufacturer" text,
"type" text,
"quantity" real,
"m_swj_nos" text,
"gwr_nos" text
);
Question: Which GWR numbers had a quantity less than 2 when th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "locomotives_of_the_great_western_railway" (
"manufacturer" text,
"type" text,
"quantity" real,
"m_swj_nos" text,
"gwr_nos" text
);
Question: Which manucfaturer's type was 2-6-0?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "december" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
);
Question: What was the score of the game when the Devils had a recor... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "december" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"decision" text,
"attendance" real,
"record" text
);
Question: What was the date of the game when the Devils had a record... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "belmont_stakes_feature_key_prep_races_li" (
"date" text,
"track" text,
"race" text,
"distance" text,
"surface_track" text,
"winning_horse" text,
"winning_jockey" text
);
Question: What dist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "belmont_stakes_feature_key_prep_races_li" (
"date" text,
"track" text,
"race" text,
"distance" text,
"surface_track" text,
"winning_horse" text,
"winning_jockey" text
);
Question: Who is th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "belmont_stakes_feature_key_prep_races_li" (
"date" text,
"track" text,
"race" text,
"distance" text,
"surface_track" text,
"winning_horse" text,
"winning_jockey" text
);
Question: What is t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "belmont_stakes_feature_key_prep_races_li" (
"date" text,
"track" text,
"race" text,
"distance" text,
"surface_track" text,
"winning_horse" text,
"winning_jockey" text
);
Question: what race... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
);
Question: What tournament since 1973 has a result of 1st?
<|assistant|>
SELECT "tournament" FROM "ac... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
);
Question: In what tournament was there an extra of 400 m hurdles?
<|assistant|>
SELECT "tournament" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
);
Question: What was the Result in Year 1973?
<|assistant|>
SELECT "result" FROM "achievements" WHERE ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"extra" text
);
Question: In which year was the Tournament of european indoor championships played where the Extra w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2000_team" (
"player" text,
"position" text,
"school" text,
"hometown" text,
"mlb_draft" text
);
Question: What player is from Chula Vista, Ca?
<|assistant|>
SELECT "player" FROM "2000_team" WH... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2000_team" (
"player" text,
"position" text,
"school" text,
"hometown" text,
"mlb_draft" text
);
Question: What MLB draft has Shaun Boyd?
<|assistant|>
SELECT "mlb_draft" FROM "2000_team" WHERE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team_league" text
);
Question: what is the college/junior/club team (league) when the round... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team_league" text
);
Question: what is the college/junior/club team (league) when the round... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team_league" text
);
Question: what is the nhl team for round 10?
<|assistant|>
SELECT "nhl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" real,
"player" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team_league" text
);
Question: what is the highest round when the player is troy creurer (d... |
<|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,
"attendance" real
);
Question: Who was the opponent on week 3?
<|assistant|>
SELECT "opponent" FROM "schedule" WHERE "week"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_college_chapters_and_colonies" (
"number" real,
"chapter" text,
"installation_date" text,
"location" text,
"status" text
);
Question: What chapter is located in Normal, Illinois?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_by_season" (
"season" text,
"tier" real,
"league" text,
"pos" real,
"postseason" text,
"turkish_cup" text
);
Question: What is the average position for tb2l teams promoted champion?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_by_season" (
"season" text,
"tier" real,
"league" text,
"pos" real,
"postseason" text,
"turkish_cup" text
);
Question: How many teams were promoted in the postseason in a tier above 2?... |
<|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 is the Home team score At Windy Hil... |
<|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: How big of a crowd was attending the gam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_finals_19_10_9" (
"outcome" text,
"date" real,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
);
Question: Who is the pa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_finals_19_10_9" (
"outcome" text,
"date" real,
"tournament" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
);
Question: On what surfa... |
<|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 highest crowd at the venue M... |
<|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 away team score at the Windy ... |
<|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 is the score of the game against the pirates with over 48,308 attending... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_13" (
"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 with a crowd of 18,81... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_13" (
"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 held when the home te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_13" (
"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 when Melbourne was th... |
<|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 was the away score when the game was... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"state" text,
"date" text,
"winning_driver" text
);
Question: How many rounds were run at Calder Park?
<|assistant|>
SELECT COUNT("round") FROM "calend... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"state" text,
"date" text,
"winning_driver" text
);
Question: In which state can you find the Sandown circuit?
<|assistant|>
SELECT "state" FROM "calen... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"state" text,
"date" text,
"winning_driver" text
);
Question: How many rounds were run in New South Wales?
<|assistant|>
SELECT COUNT("round") FROM "ca... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_year" (
"year" text,
"driver" text,
"constructor" text,
"location" text,
"report" text
);
Question: Who is the driver from 1969?
<|assistant|>
SELECT "driver" FROM "by_year" WHERE "year"='19... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_year" (
"year" text,
"driver" text,
"constructor" text,
"location" text,
"report" text
);
Question: Who was the driver in 1964?
<|assistant|>
SELECT "driver" FROM "by_year" WHERE "year"='196... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneo_apertura_opening_tournament" (
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"diff" real
);
Question: What is the highest diff with drawn of 6... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneo_apertura_opening_tournament" (
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"diff" real
);
Question: How many games were played when the loss... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_sequenced_bacterial_genomes" (
"species" text,
"strain" text,
"type" text,
"base_pairs" text,
"genes" text
);
Question: How many genes are in species burkholderia pseudomallei with 4,12... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_sequenced_bacterial_genomes" (
"species" text,
"strain" text,
"type" text,
"base_pairs" text,
"genes" text
);
Question: Which strain has 1,312 genes?
<|assistant|>
SELECT "strain" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_sequenced_bacterial_genomes" (
"species" text,
"strain" text,
"type" text,
"base_pairs" text,
"genes" text
);
Question: Which gene has 4,895,836 base pairs?
<|assistant|>
SELECT "genes"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_sequenced_bacterial_genomes" (
"species" text,
"strain" text,
"type" text,
"base_pairs" text,
"genes" text
);
Question: Which species has 3,441 genes?
<|assistant|>
SELECT "species" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_sequenced_bacterial_genomes" (
"species" text,
"strain" text,
"type" text,
"base_pairs" text,
"genes" text
);
Question: How many base pairs are there in the tohamai strain?
<|assistant|... |
<|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 the home team score at junction... |
<|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 the away team score at western ... |
<|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 is the lowest crowd at kardinia par... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008" (
"tournament" text,
"winner" text,
"runner_up" text,
"score" text,
"third_place" text
);
Question: What was the score for the tournament in Budapest?
<|assistant|>
SELECT "score" FROM "2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008" (
"tournament" text,
"winner" text,
"runner_up" text,
"score" text,
"third_place" text
);
Question: Which tournament did Patrick Rafter win?
<|assistant|>
SELECT "tournament" FROM "2008" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008" (
"tournament" text,
"winner" text,
"runner_up" text,
"score" text,
"third_place" text
);
Question: Which winner won by a score of 6β7(4), 7β6(3), [11β9]?
<|assistant|>
SELECT "winner" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008" (
"tournament" text,
"winner" text,
"runner_up" text,
"score" text,
"third_place" text
);
Question: what was the score when goran ivaniΕ‘eviΔ was runner up and the tournament was in algarv... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008" (
"tournament" text,
"winner" text,
"runner_up" text,
"score" text,
"third_place" text
);
Question: What was the score when Stefan Edberg won?
<|assistant|>
SELECT "score" FROM "2008" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Which Away team that has a Crowd greater ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the Away team score when home's s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: Which Date has an Away team of south melb... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_5" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"venue" text,
"crowd" real,
"date" text
);
Question: What is the Away team score for mcg?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_5" (
"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 Crowd with a Home team ... |
<|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: When mcg is the Venue what's the Away te... |
<|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: When the Away team footscray played on t... |
<|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: When the Home team of collingwood played... |
<|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: When the Crowd is larger than 23,327, wh... |
<|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: When vfl park is the venue what's the Aw... |
<|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: If collingwood was the Home team, what D... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "existing_stadiums" (
"stadium" text,
"capacity" text,
"club" text,
"division" text,
"rank_in_respective_divisions" text
);
Question: What division has a Rank in Respective Divisions of 5, and i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "existing_stadiums" (
"stadium" text,
"capacity" text,
"club" text,
"division" text,
"rank_in_respective_divisions" text
);
Question: Which club has a capacity of 25138?
<|assistant|>
SELECT "cl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "existing_stadiums" (
"stadium" text,
"capacity" text,
"club" text,
"division" text,
"rank_in_respective_divisions" text
);
Question: What Rank in Respective Divisions has a capacity of 4100?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "existing_stadiums" (
"stadium" text,
"capacity" text,
"club" text,
"division" text,
"rank_in_respective_divisions" text
);
Question: What stadium has a club of west ham united?
<|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,
"attendance" real
);
Question: What was the result of week 16?
<|assistant|>
SELECT "result" FROM "schedule" WHERE "week"=1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.