text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" text,
"new_entries_this_round" text,
"leagues_entering_at_this_round" text
);
Question: How... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" text,
"new_entries_this_round" text,
"leagues_entering_at_this_round" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "teams" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" text,
"new_entries_this_round" text,
"leagues_entering_at_this_round" text
);
Question: How... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wta_tour" (
"week" real,
"start_date" text,
"type" text,
"tournament" text,
"surface" text,
"town" text,
"country" text,
"continent" text,
"prize_money" text
);
Question: When grand pr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wta_tour" (
"week" real,
"start_date" text,
"type" text,
"tournament" text,
"surface" text,
"town" text,
"country" text,
"continent" text,
"prize_money" text
);
Question: When stuttgart... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "selected_entries" (
"entrant" text,
"constructor" text,
"car" text,
"driver" text,
"co_driver" text,
"rounds" text
);
Question: who is the person that is part of the belgian vw club that work... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "selected_entries" (
"entrant" text,
"constructor" text,
"car" text,
"driver" text,
"co_driver" text,
"rounds" text
);
Question: what is the type of vehicle driven by mark higgins
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "selected_entries" (
"entrant" text,
"constructor" text,
"car" text,
"driver" text,
"co_driver" text,
"rounds" text
);
Question: what is the entry where the other person is zdeněk hrůza
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "selected_entries" (
"entrant" text,
"constructor" text,
"car" text,
"driver" text,
"co_driver" text,
"rounds" text
);
Question: who is the other person where the assistant is paulo babo
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "selected_entries" (
"entrant" text,
"constructor" text,
"car" text,
"driver" text,
"co_driver" text,
"rounds" text
);
Question: what are all the people where the entries is peugeot sport pols... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28037619_2" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: Who wrote the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28037619_2" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: How many produ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28037619_2" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: How many peopl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28037619_2" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: How many milli... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28037619_2" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" text
);
Question: What is the na... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"nickname" text,
"location" text,
"colors" text,
"tenure" text
);
Question: What are the colors of the Hudson school?
<|assistant|>
SELECT "colors" FROM "former... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"nickname" text,
"location" text,
"colors" text,
"tenure" text
);
Question: When were the members tenured in the Field school?
<|assistant|>
SELECT "tenure" FRO... |
<|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: How many pick# for CFL team of Toronto Argonauts?
<|assistant|>
SELECT COUNT("pick_num... |
<|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 is every CFL team from the Calgary college?
<|assistant|>
SELECT "cfl_team" FROM ... |
<|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 is every position for the CFL Edmonton?
<|assistant|>
SELECT "position" FROM "rou... |
<|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 is every CFL team for the college of Calgary?
<|assistant|>
SELECT "cfl_team" FRO... |
<|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 is every CFL team with pick#1?
<|assistant|>
SELECT "cfl_team" FROM "round_one" W... |
<|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 is every CFL team with the player Mark Farraway?
<|assistant|>
SELECT "cfl_team" ... |
<|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 draft pick number was Andy Brereton?
<|assistant|>
SELECT MIN("pick_num") 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 pick number was the player that was picked by Edmonton?
<|assistant|>
SELECT "pi... |
<|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 did the draft pick going to saskatchewan play?
<|assistant|>
SELECT "po... |
<|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 is the highest numbered draft pick?
<|assistant|>
SELECT MAX("pick_num") FROM "r... |
<|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 CFL team got the player from york?
<|assistant|>
SELECT "cfl_team" FROM "round_f... |
<|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 positions does Trent Bagnail play?
<|assistant|>
SELECT COUNT("position") FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What position was the player who was drafted by Edmonton?
<|assistant|>
SELECT "positi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What college did the player whose position was RB go to?
<|assistant|>
SELECT "colleg... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What college did Francis Bellefroid go to?
<|assistant|>
SELECT "college" FROM "round... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Which player was drafted by Winnipeg?
<|assistant|>
SELECT "player" FROM "round_six" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What college did the player who was drafted by Calgary go to?
<|assistant|>
SELECT "co... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "contestants" (
"represent" real,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"sponsor" text
);
Question: What was the height of representative #1?
<|assistant|>
SELECT "hei... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "contestants" (
"represent" real,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"sponsor" text
);
Question: Which contestant was sponsored by Yogurt Vita Slim?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "contestants" (
"represent" real,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"sponsor" text
);
Question: What was the height of representative #6?
<|assistant|>
SELECT "hei... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28081876_4" (
"series_no" real,
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: how many people w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28081876_4" (
"series_no" real,
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: name the title of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28081876_6" (
"series_no" real,
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28081876_6" (
"series_no" real,
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28081876_6" (
"series_no" real,
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28081876_6" (
"series_no" real,
"season_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_assistants" (
"position" text,
"number" real,
"player" text,
"super_league" real,
"champions_league" real,
"swiss_cup" real,
"total" real
);
Question: List the number of assists for the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_assistants" (
"position" text,
"number" real,
"player" text,
"super_league" real,
"champions_league" real,
"swiss_cup" real,
"total" real
);
Question: List the lowest super league for a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_assistants" (
"position" text,
"number" real,
"player" text,
"super_league" real,
"champions_league" real,
"swiss_cup" real,
"total" real
);
Question: What is the minimum sum?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "category_leadership_table" (
"stage" real,
"winner" text,
"general_classification_ta_koszulka" text,
"mountains_classification_klasyfikacja_g_rska" text,
"intermediate_sprints_classification_kla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "category_leadership_table" (
"stage" real,
"winner" text,
"general_classification_ta_koszulka" text,
"mountains_classification_klasyfikacja_g_rska" text,
"intermediate_sprints_classification_kla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "category_leadership_table" (
"stage" real,
"winner" text,
"general_classification_ta_koszulka" text,
"mountains_classification_klasyfikacja_g_rska" text,
"intermediate_sprints_classification_kla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "other_slavic_languages" (
"english_word" text,
"slovak" text,
"czech" text,
"rusyn" text,
"ukrainian" text,
"belarusian" text,
"polish" text,
"serbo_croatian" text,
"bulgarian" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "other_slavic_languages" (
"english_word" text,
"slovak" text,
"czech" text,
"rusyn" text,
"ukrainian" text,
"belarusian" text,
"polish" text,
"serbo_croatian" text,
"bulgarian" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28137918_5" (
"religion" text,
"births" real,
"conversions" text,
"new_adherents_per_year" real,
"growth_rate" text
);
Question: Name the new adherents per year for buddhism
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28137918_5" (
"religion" text,
"births" real,
"conversions" text,
"new_adherents_per_year" real,
"growth_rate" text
);
Question: Name the number of new adherents per year for confuciani... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28137918_5" (
"religion" text,
"births" real,
"conversions" text,
"new_adherents_per_year" real,
"growth_rate" text
);
Question: Name the least births for conversion being 26,333
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28137918_5" (
"religion" text,
"births" real,
"conversions" text,
"new_adherents_per_year" real,
"growth_rate" text
);
Question: Name the least amount of new adherents per year
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28137918_5" (
"religion" text,
"births" real,
"conversions" text,
"new_adherents_per_year" real,
"growth_rate" text
);
Question: Name the religion that has a growth rate of 1.56%
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_fleet" (
"vessel" text,
"built" real,
"max_speed" text,
"length" text,
"breadth" text,
"flag" text,
"propulsion" text
);
Question: What is the length when the propulsion is controll... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_fleet" (
"vessel" text,
"built" real,
"max_speed" text,
"length" text,
"breadth" text,
"flag" text,
"propulsion" text
);
Question: What is the max speed when the vessel is gallion?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_fleet" (
"vessel" text,
"built" real,
"max_speed" text,
"length" text,
"breadth" text,
"flag" text,
"propulsion" text
);
Question: How many breadth entries are there when the vessel... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_fleet" (
"vessel" text,
"built" real,
"max_speed" text,
"length" text,
"breadth" text,
"flag" text,
"propulsion" text
);
Question: What is the propulsion when the vessel is marianar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_fleet" (
"vessel" text,
"built" real,
"max_speed" text,
"length" text,
"breadth" text,
"flag" text,
"propulsion" text
);
Question: How many breadth entries are there when propulsion... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28116528_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28116528_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28116528_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "polish_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Who won the mens doubles when wu yang won the womens sin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "polish_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: What year and where was the tournament when fan ying won... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "polish_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Who won the mens singles when lau sui fei won the womens... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "polish_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Who won the mens doubles when wang hao won the mens sing... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "english_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Who won in the men singles group in the year when Yoshi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "english_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: When and where did Chen Qi win in men singles?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28138035_27" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Who is listed under mens singles when womens has ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28138035_27" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: How many womens singles entries are there when wo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28138035_27" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Who is listed under womens singles when year loca... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28138035_27" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Who is listed under mens singles when the year lo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "japan_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: How many year locations are there for the womens doubles... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "japan_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: How many players are there for mens singles when chen qi ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "japan_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Who played mens doubles for the 1999 kobe tour?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "japan_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Where was the tour when jing junhong li jiawei played wo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "japan_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: How many years did lin gaoyuan wu jiaji play mens double... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "japan_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: How many people are shown for mens doubles when guo yue p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "us_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Who won the Womens Singles in the year the Jean-Michel Saive... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "us_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: In what year and location did Liu Guozheng win the Mens Sing... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "us_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: In what year and location did Wang Liqin win the Mens Single... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "china_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Who won the mens doubles at the 2006 guangzhou event?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "china_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: How many times was the womens doubles in china?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "china_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: How many times did li ju win the womens singles and wang... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "brazil_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Name the mens singles for lee eun-sil moon hyun-jung
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "brazil_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Name the number of womens doubles for 2011 rio de janeir... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "brazil_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Name the year location for haruna fukuoka
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "brazil_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Name the mens doubles for dimitrij ovtcharov
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "brazil_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Name the number of womens singles for 1999 rio de janeir... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "brazil_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Name the womens doubles for werner schlager
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "slovenian_open" (
"year_location" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text
);
Question: Who was the womens double winner when the womens sing... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28140578_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: Who wrote episode number 19 in the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_statistics" (
"year" real,
"team" text,
"number" real,
"games" real,
"kicks" real,
"handballs" real,
"total_disposals" real,
"marks" real,
"tackles" real,
"goals" real,
"behin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_statistics" (
"year" real,
"team" text,
"number" real,
"games" real,
"kicks" real,
"handballs" real,
"total_disposals" real,
"marks" real,
"tackles" real,
"goals" real,
"behin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28140590_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: Who directe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28140590_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: What date d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28146944_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"story_storyboards_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: How many different ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_28146944_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"story_storyboards_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: How many millions o... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.