text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women_s_doubles_15_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Name the least year... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "women_s_doubles_15_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Name the surface fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "races" (
"round" real,
"circuit_location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"highest_scoring_team" text,
"winning_privateer" text
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "races" (
"round" real,
"circuit_location" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"highest_scoring_team" text,
"winning_privateer" text
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20086138_1" (
"season" text,
"competition" text,
"round" text,
"opposition" text,
"first_leg" text,
"second_leg" text,
"aggregate" text
);
Question: What was the first leg result in ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_taupo_1_november" (
"pos" real,
"driver" text,
"vehicle" text,
"top_13_time" text,
"shoot_out_time" text,
"best_time_of_day" text
);
Question: which vehicles got best time of day 1:17.17... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_taupo_1_november" (
"pos" real,
"driver" text,
"vehicle" text,
"top_13_time" text,
"shoot_out_time" text,
"best_time_of_day" text
);
Question: how many drivers driving toyota corolla
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_taupo_1_november" (
"pos" real,
"driver" text,
"vehicle" text,
"top_13_time" text,
"shoot_out_time" text,
"best_time_of_day" text
);
Question: what is the lowest position of brendan sole... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_taupo_1_november" (
"pos" real,
"driver" text,
"vehicle" text,
"top_13_time" text,
"shoot_out_time" text,
"best_time_of_day" text
);
Question: how many vehicles where top 13 time is 1:18... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2008_taupo_1_november" (
"pos" real,
"driver" text,
"vehicle" text,
"top_13_time" text,
"shoot_out_time" text,
"best_time_of_day" text
);
Question: which driver got best time of day 1:16.93
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_statistics" (
"year" text,
"team" text,
"games" real,
"mins" text,
"f_gpct" text,
"3_ppct" text,
"f_tpct" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_statistics" (
"year" text,
"team" text,
"games" real,
"mins" text,
"f_gpct" text,
"3_ppct" text,
"f_tpct" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_statistics" (
"year" text,
"team" text,
"games" real,
"mins" text,
"f_gpct" text,
"3_ppct" text,
"f_tpct" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_statistics" (
"year" text,
"team" text,
"games" real,
"mins" text,
"f_gpct" text,
"3_ppct" text,
"f_tpct" text,
"rebounds" text,
"assists" text,
"steals" text,
"blocks" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nac_champions_and_runners_up" (
"year" text,
"winner" text,
"first_runner_up" text,
"third_place" text,
"consolation_winner_4th" text,
"finals_location" text
);
Question: When did Austin Aust... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nac_champions_and_runners_up" (
"year" text,
"winner" text,
"first_runner_up" text,
"third_place" text,
"consolation_winner_4th" text,
"finals_location" text
);
Question: Who was the first ru... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "house_of_representatives" (
"district" text,
"representative" text,
"party_change" text,
"prior_background" text,
"religion" text,
"birth_year" real
);
Question: Who has a religion of United ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "runners_and_betting" (
"starting_price" text,
"number" real,
"name" text,
"age" real,
"weight_st_lb" text,
"jockey" text,
"trainer" text,
"owner" text,
"colours" text
);
Question: What ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "runners_and_betting" (
"starting_price" text,
"number" real,
"name" text,
"age" real,
"weight_st_lb" text,
"jockey" text,
"trainer" text,
"owner" text,
"colours" text
);
Question: What'... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "runners_and_betting" (
"starting_price" text,
"number" real,
"name" text,
"age" real,
"weight_st_lb" text,
"jockey" text,
"trainer" text,
"owner" text,
"colours" text
);
Question: What ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "runners_and_betting" (
"starting_price" text,
"number" real,
"name" text,
"age" real,
"weight_st_lb" text,
"jockey" text,
"trainer" text,
"owner" text,
"colours" text
);
Question: How m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "runners_and_betting" (
"starting_price" text,
"number" real,
"name" text,
"age" real,
"weight_st_lb" text,
"jockey" text,
"trainer" text,
"owner" text,
"colours" text
);
Question: What ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "runners_and_betting" (
"starting_price" text,
"number" real,
"name" text,
"age" real,
"weight_st_lb" text,
"jockey" text,
"trainer" text,
"owner" text,
"colours" text
);
Question: What'... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20098479_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"original_air_date" text,
"production_code" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20098479_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"original_air_date" text,
"production_code" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20124413_3" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"production_code" text
);
Question: What was the original title of 3.19... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20124413_3" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"production_code" text
);
Question: What was the production code for "d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20124413_2" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"prod_code" text
);
Question: How many numbers have the product code of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20124413_2" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"prod_code" text
);
Question: How many directed have the product code o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20124413_1" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"prod_code" text,
"viewers" real
);
Question: When "helpful tracy" is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20124413_1" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"prod_code" text,
"viewers" real
);
Question: When 1.12 is the produc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20124413_1" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"prod_code" text,
"viewers" real
);
Question: When "the postcard" is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20124413_1" (
"num" text,
"original_title" text,
"directed_by" text,
"written_by" text,
"original_airdate" text,
"prod_code" text,
"viewers" real
);
Question: When 1.17 is the produc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
"team_s" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nak_atra" (
"num" real,
"sanskrit" text,
"malayalam_name" text,
"tamil_name" text,
"telugu_name" text,
"kannada_name" text,
"western_star_name" text
);
Question: what is kannada name ಕನ್ನಡ ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nak_atra" (
"num" real,
"sanskrit" text,
"malayalam_name" text,
"tamil_name" text,
"telugu_name" text,
"kannada_name" text,
"western_star_name" text
);
Question: what is the malayalam name ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nak_atra" (
"num" real,
"sanskrit" text,
"malayalam_name" text,
"tamil_name" text,
"telugu_name" text,
"kannada_name" text,
"western_star_name" text
);
Question: what is the telugu name తెల... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nak_atra" (
"num" real,
"sanskrit" text,
"malayalam_name" text,
"tamil_name" text,
"telugu_name" text,
"kannada_name" text,
"western_star_name" text
);
Question: what is the sanskrit of wes... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nak_atra" (
"num" real,
"sanskrit" text,
"malayalam_name" text,
"tamil_name" text,
"telugu_name" text,
"kannada_name" text,
"western_star_name" text
);
Question: what is the malayalam name ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administration" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"foochow" text,
"area" real,
"population" real,
"density" real
);
Question: Name the tradition... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administration" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"foochow" text,
"area" real,
"population" real,
"density" real
);
Question: Name the foochow f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administration" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"foochow" text,
"area" real,
"population" real,
"density" real
);
Question: Name the pinyin fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administration" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"foochow" text,
"area" real,
"population" real,
"density" real
);
Question: Name the tradition... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administration" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"foochow" text,
"area" real,
"population" real,
"density" real
);
Question: Name the density f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administration" (
"english_name" text,
"simplified" text,
"traditional" text,
"pinyin" text,
"foochow" text,
"area" real,
"population" real,
"density" real
);
Question: Name the english n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What CFL team did Darcy Brown play for?
<|assistant|>
SELECT "cfl_team" FROM "round_on... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What CFL team did simeon rottier play for?
<|assistant|>
SELECT "cfl_team" FROM "round... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What college did étienne légaré play for?
<|assistant|>
SELECT "college" FROM "round_o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What team was in position OL?
<|assistant|>
SELECT "cfl_team" FROM "round_one" WHERE "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Who was the player for the CFL team hamilton tiger-cats (via bc via saskatchewan )?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What number pick did the CFL team bc lions (via hamilton via winnipeg ) have?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "novelisations" (
"story_num" real,
"target_num" text,
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
);
Question: How many ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "novelisations" (
"story_num" real,
"target_num" text,
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
);
Question: What's th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "novelisations" (
"story_num" real,
"target_num" text,
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
);
Question: When was ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "novelisations" (
"story_num" real,
"target_num" text,
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
);
Question: What's th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_sarah_jane_adventures" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
);
Question: who is the reader of the audiobook aut... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_sarah_jane_adventures" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
);
Question: how many companies released an audiobo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_sarah_jane_adventures" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
);
Question: which companies released on 2010-11-04... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_sarah_jane_adventures" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
);
Question: which company released audiobooks auth... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_sarah_jane_adventures" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
);
Question: how many formats of books authored by ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: How many players were drafted from laval?
<|assistant|>
SELECT COUNT("cfl_team") FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What player went to montreal college?
<|assistant|>
SELECT "player" FROM "round_five"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What player(s) drafted by the hamilton tiger-cats?
<|assistant|>
SELECT "player" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What position(s) drafted by the montreal alouettes?
<|assistant|>
SELECT "position" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torchwood" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
);
Question: which company uses pinborough, sarah sarah pinborough?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torchwood" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
);
Question: who the reader of title department x?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torchwood" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
);
Question: how many notes were read by reader varma, idria indira... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torchwood" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
);
Question: who is the reader on the download/cd format of the tit... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "three_divisions_from_1963_to_2012" (
"season" text,
"bayernliga" text,
"landesliga_s_d" text,
"landesliga_mitte" text,
"landesliga_nord" text
);
Question: Name the landesliga mitte for fc gunde... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "three_divisions_from_1963_to_2012" (
"season" text,
"bayernliga" text,
"landesliga_s_d" text,
"landesliga_mitte" text,
"landesliga_nord" text
);
Question: Name the landesliga nord for freier t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "three_divisions_from_1963_to_2012" (
"season" text,
"bayernliga" text,
"landesliga_s_d" text,
"landesliga_mitte" text,
"landesliga_nord" text
);
Question: Name the landesliga nord for asv neuma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "three_divisions_from_1963_to_2012" (
"season" text,
"bayernliga" text,
"landesliga_s_d" text,
"landesliga_mitte" text,
"landesliga_nord" text
);
Question: Name the landesliga mitte sv türk gücü... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "three_divisions_from_1963_to_2012" (
"season" text,
"bayernliga" text,
"landesliga_s_d" text,
"landesliga_mitte" text,
"landesliga_nord" text
);
Question: Name the landesliga sud for sg quelle ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "national_final" (
"draw" real,
"artist" text,
"song" text,
"regions" real,
"studio_audience" real,
"press_jury" real,
"oil_rig" real,
"total_points" real,
"place" text
);
Question: What... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "national_final" (
"draw" real,
"artist" text,
"song" text,
"regions" real,
"studio_audience" real,
"press_jury" real,
"oil_rig" real,
"total_points" real,
"place" text
);
Question: What... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "national_final" (
"draw" real,
"artist" text,
"song" text,
"regions" real,
"studio_audience" real,
"press_jury" real,
"oil_rig" real,
"total_points" real,
"place" text
);
Question: How ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "national_final" (
"draw" real,
"artist" text,
"song" text,
"regions" real,
"studio_audience" real,
"press_jury" real,
"oil_rig" real,
"total_points" real,
"place" text
);
Question: How ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "national_final" (
"draw" real,
"artist" text,
"song" text,
"regions" real,
"studio_audience" real,
"press_jury" real,
"oil_rig" real,
"total_points" real,
"place" text
);
Question: How ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "eleventh_doctor_novels" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
);
Question: If the title is Paradox Lost and the read... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "eleventh_doctor_novels" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
);
Question: If the title is The Way Through The Woods... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "eleventh_doctor_novels" (
"title" text,
"author" text,
"reader" text,
"format" text,
"company" text,
"release_date" text,
"notes" text
);
Question: If the reader is Syal, Meera Meera Syal, ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current" (
"institution" text,
"team_name" text,
"location_population" text,
"team_started" real,
"affiliation" text,
"enrollment" real,
"mascot" text,
"divisional_titles" real,
"big_12_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current" (
"institution" text,
"team_name" text,
"location_population" text,
"team_started" real,
"affiliation" text,
"enrollment" real,
"mascot" text,
"divisional_titles" real,
"big_12_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current" (
"institution" text,
"team_name" text,
"location_population" text,
"team_started" real,
"affiliation" text,
"enrollment" real,
"mascot" text,
"divisional_titles" real,
"big_12_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "award_list" (
"year" real,
"author_s_or_editor_s" text,
"book_title" text,
"publisher" text,
"category" text,
"result" text
);
Question: What is the result of the book title firelands?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "award_list" (
"year" real,
"author_s_or_editor_s" text,
"book_title" text,
"publisher" text,
"category" text,
"result" text
);
Question: Which year is the book title the ordinary?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "award_list" (
"year" real,
"author_s_or_editor_s" text,
"book_title" text,
"publisher" text,
"category" text,
"result" text
);
Question: Who is the publisher of the book titled daughters of a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "award_list" (
"year" real,
"author_s_or_editor_s" text,
"book_title" text,
"publisher" text,
"category" text,
"result" text
);
Question: In which year were the authors or editors Delia Sherma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "award_list" (
"year" real,
"author_s_or_editor_s" text,
"book_title" text,
"publisher" text,
"category" text,
"result" text
);
Question: How many authors or editors are there for the book tit... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "award_list" (
"year" real,
"author_s_or_editor_s" text,
"book_title" text,
"publisher" text,
"category" text,
"result" text
);
Question: What is the title of the book when the publisher is bl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "equinox_lottery" (
"divisions" text,
"prize_eur" text,
"odds_of_winning_1in" text,
"number_of_winning_tickets" real,
"in_order_to_win" text
);
Question: What are the prizes when 1 is the number... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "equinox_lottery" (
"divisions" text,
"prize_eur" text,
"odds_of_winning_1in" text,
"number_of_winning_tickets" real,
"in_order_to_win" text
);
Question: What are the number of winning tickets t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "equinox_lottery" (
"divisions" text,
"prize_eur" text,
"odds_of_winning_1in" text,
"number_of_winning_tickets" real,
"in_order_to_win" text
);
Question: How many odd of winning have 6th as the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "equinox_lottery" (
"divisions" text,
"prize_eur" text,
"odds_of_winning_1in" text,
"number_of_winning_tickets" real,
"in_order_to_win" text
);
Question: What is the prize (eur) for the 6th divi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "equinox_lottery" (
"divisions" text,
"prize_eur" text,
"odds_of_winning_1in" text,
"number_of_winning_tickets" real,
"in_order_to_win" text
);
Question: Which divisions have 565 as the number o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"electorate" text,
"labour" text,
"national" text,
"new_zealand_first" text,
"green" text,
"united_future" text,
"maori_party" text,
"act" text,
"progressive" text,
"othe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"electorate" text,
"labour" text,
"national" text,
"new_zealand_first" text,
"green" text,
"united_future" text,
"maori_party" text,
"act" text,
"progressive" text,
"othe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"electorate" text,
"labour" text,
"national" text,
"new_zealand_first" text,
"green" text,
"united_future" text,
"maori_party" text,
"act" text,
"progressive" text,
"othe... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.