text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: When was the game on Taylor Field played?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" real,
"date" text,
"city_and_venue" text,
"winner" text,
"runner_up" text,
"3rd_placed" text,
"4th_placed" text,
"results" text
);
Question: Who placed fourth when the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" real,
"date" text,
"city_and_venue" text,
"winner" text,
"runner_up" text,
"3rd_placed" text,
"4th_placed" text,
"results" text
);
Question: Who was the runner-up on S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" real,
"date" text,
"city_and_venue" text,
"winner" text,
"runner_up" text,
"3rd_placed" text,
"4th_placed" text,
"results" text
);
Question: How many rounds were on Ju... |
<|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_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" 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_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" 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_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" 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_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" 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_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" 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_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_time_entries" (
"team" text,
"car_s" text,
"num" real,
"driver_s" text,
"primary_sponsor_s" text,
"listed_owner_s" text,
"crew_chief" text
);
Question: What is the car number for the C... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_time_entries" (
"team" text,
"car_s" text,
"num" real,
"driver_s" text,
"primary_sponsor_s" text,
"listed_owner_s" text,
"crew_chief" text
);
Question: What type of car does Jeff Fulle... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_time_entries" (
"team" text,
"car_s" text,
"num" real,
"driver_s" text,
"primary_sponsor_s" text,
"listed_owner_s" text,
"crew_chief" text
);
Question: How many cars does Gregg Mixon o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_time_entries" (
"team" text,
"car_s" text,
"num" real,
"driver_s" text,
"primary_sponsor_s" text,
"listed_owner_s" text,
"crew_chief" text
);
Question: Who is Wayne Day's crew chief?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_time_entries" (
"team" text,
"car_s" text,
"num" real,
"driver_s" text,
"primary_sponsor_s" text,
"listed_owner_s" text,
"crew_chief" text
);
Question: What number is on the car that G... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2182654_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: What episode number in the season is e... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2182654_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: How many episodes in the season were d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2182654_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: What is the name of the episode direct... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2182654_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: How many episodes in the series were d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" 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_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" 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_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" 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_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" 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_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" 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_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21831229_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_u_s_air_date" text,
"prod_code" real
);
Question: Who wrote epi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21831229_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_u_s_air_date" text,
"prod_code" real
);
Question: What was the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_7_3_4" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Who was playing when the score was 5–7, 6–7 (4... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_7_3_4" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Who was playing when the score was 5–7, 5–7?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_7_3_4" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: How many partners were there when the score wa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What was their record when they played the st... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"final_score" text,
"attendance" real,
"record" text
);
Question: What was their record in week 11?
<|assistant... |
<|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_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" 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_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" 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_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21888587_1" (
"model" text,
"engine" text,
"power_rpm" text,
"torque_rpm" text,
"0_100km_h_acceleration" text,
"top_speed" text,
"transmission" text,
"co_2_emissions" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21888587_1" (
"model" text,
"engine" text,
"power_rpm" text,
"torque_rpm" text,
"0_100km_h_acceleration" text,
"top_speed" text,
"transmission" text,
"co_2_emissions" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_chart" (
"team" text,
"truck_s" text,
"num" real,
"driver_s" text,
"primary_sponsor_s" text,
"listed_owner_s" text,
"crew_chief" text
);
Question: Name the listen owners for repairone
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_chart" (
"team" text,
"truck_s" text,
"num" real,
"driver_s" text,
"primary_sponsor_s" text,
"listed_owner_s" text,
"crew_chief" text
);
Question: Name the trucks for scott neal
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_chart" (
"team" text,
"truck_s" text,
"num" real,
"driver_s" text,
"primary_sponsor_s" text,
"listed_owner_s" text,
"crew_chief" text
);
Question: Name the listed owners for brevak rac... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_chart" (
"team" text,
"truck_s" text,
"num" real,
"driver_s" text,
"primary_sponsor_s" text,
"listed_owner_s" text,
"crew_chief" text
);
Question: Name the crew chief for ricky craven
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_chart" (
"team" text,
"truck_s" text,
"num" real,
"driver_s" text,
"primary_sponsor_s" text,
"listed_owner_s" text,
"crew_chief" text
);
Question: Name the drivers for superchips
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21904740_1" (
"year_ceremony" text,
"english_title" text,
"spanish_title" text,
"director" text,
"result" text
);
Question: When was Viva Cuba submitted?
<|assistant|>
SELECT "year_cerem... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_most_powerful_nuclear_tests" (
"date_gmt" text,
"yield_megatons" text,
"deployment" text,
"country" text,
"test_site" text,
"name_or_number" text
);
Question: Name the name for 15 yie... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "public_companies" (
"state_rank_by_revenue" real,
"company_name" text,
"national_rank" real,
"revenue_billions_2012_estimate" text,
"headquarters_city" text,
"known_for" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "public_companies" (
"state_rank_by_revenue" real,
"company_name" text,
"national_rank" real,
"revenue_billions_2012_estimate" text,
"headquarters_city" text,
"known_for" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "public_companies" (
"state_rank_by_revenue" real,
"company_name" text,
"national_rank" real,
"revenue_billions_2012_estimate" text,
"headquarters_city" text,
"known_for" text
);
Question: Whe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "public_companies" (
"state_rank_by_revenue" real,
"company_name" text,
"national_rank" real,
"revenue_billions_2012_estimate" text,
"headquarters_city" text,
"known_for" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "public_companies" (
"state_rank_by_revenue" real,
"company_name" text,
"national_rank" real,
"revenue_billions_2012_estimate" text,
"headquarters_city" text,
"known_for" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entries" (
"no" real,
"driver" text,
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text
);
Question: Name the entrant for benedicto campos
<|assistant|>
SELECT "entrant" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entries" (
"no" real,
"driver" text,
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text
);
Question: Name the number for automóvil club argentino for juan manuel fangio
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entries" (
"no" real,
"driver" text,
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text
);
Question: Name the most number for automóvil club argentino for benedicto campos
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entries" (
"no" real,
"driver" text,
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text
);
Question: Name the driver for talbot l6
<|assistant|>
SELECT "driver" FROM "entries" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entries" (
"no" real,
"driver" text,
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text
);
Question: Name the constructor for alberto ascari
<|assistant|>
SELECT "constructor" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entries" (
"no" real,
"driver" text,
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text
);
Question: Name the chassis for alta
<|assistant|>
SELECT "chassis" FROM "entries" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21977627_1" (
"no" real,
"driver" text,
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text
);
Question: The Maserati 4cl's minimum no was?
<|assistant|>
SELECT MIN("no")... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21977627_1" (
"no" real,
"driver" text,
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text
);
Question: How many entrants was yves giraud-cabantous?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21977627_1" (
"no" real,
"driver" text,
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text
);
Question: What chasis did the maserati l6s have?
<|assistant|>
SELECT "chas... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21977627_1" (
"no" real,
"driver" text,
"entrant" text,
"constructor" text,
"chassis" text,
"engine" text
);
Question: How many drivers did Bob Gerard Racing have?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_2006" (
"position" real,
"club" text,
"played" real,
"h_win" real,
"h_draw" real,
"a_win" real,
"a_draw" real,
"lost" real,
"def" real,
"pts_for" real,
"pts_agst" real,
"pai... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_2006" (
"position" real,
"club" text,
"played" real,
"h_win" real,
"h_draw" real,
"a_win" real,
"a_draw" real,
"lost" real,
"def" real,
"pts_for" real,
"pts_agst" real,
"pai... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_2006" (
"position" real,
"club" text,
"played" real,
"h_win" real,
"h_draw" real,
"a_win" real,
"a_draw" real,
"lost" real,
"def" real,
"pts_for" real,
"pts_agst" real,
"pai... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_daily_maximum_and_minimum_temper" (
"location" text,
"july_c" text,
"july_f" text,
"january_c" text,
"january_f" text
);
Question: What is the total number of January (°C) temperatures ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_daily_maximum_and_minimum_temper" (
"location" text,
"july_c" text,
"july_f" text,
"january_c" text,
"january_f" text
);
Question: What is the total number of January (°C) temperatures ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_daily_maximum_and_minimum_temper" (
"location" text,
"july_c" text,
"july_f" text,
"january_c" text,
"january_f" text
);
Question: In what location were the January (°F) temperatures 30... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_daily_maximum_and_minimum_temper" (
"location" text,
"july_c" text,
"july_f" text,
"january_c" text,
"january_f" text
);
Question: What were the July (°C) temperatures when the July (°... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "average_daily_maximum_and_minimum_temper" (
"location" text,
"july_c" text,
"july_f" text,
"january_c" text,
"january_f" text
);
Question: What were the January (°F) temperatures in the Corner... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_2008" (
"position" real,
"club" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"def" real,
"pts_for" real,
"pts_agst" real,
"long" real,
"points" real,
"average... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_2008" (
"position" real,
"club" text,
"played" real,
"won" real,
"drawn" real,
"lost" real,
"def" real,
"pts_for" real,
"pts_agst" real,
"long" real,
"points" real,
"average... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21979779_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21979779_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21979779_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21979779_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_million" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21994729_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" text
);
Question: how many maximum seri... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21994729_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" text
);
Question: What are all the titl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21994729_3" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" text
);
Question: reginald hudlin direc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21994729_2" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" text
);
Question: Who wore the episode with the production c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21994729_2" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" text
);
Question: Who wrote the episode titled "heroes"?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "college" (
"rank" real,
"school" text,
"basic_elements" text,
"tumbling" text,
"stunts" text,
"tosses" text,
"pyramids" text,
"deductions" text,
"total" text
);
Question: If the rank is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "college" (
"rank" real,
"school" text,
"basic_elements" text,
"tumbling" text,
"stunts" text,
"tosses" text,
"pyramids" text,
"deductions" text,
"total" text
);
Question: If the school ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"pos" real,
"team" text,
"07_pts" real,
"08_pts" real,
"09_pts" real,
"total_pts" real,
"total_pld" real,
"avg" text
);
Question: What is the 07 points minimum if the 08 poi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"pos" real,
"team" text,
"07_pts" real,
"08_pts" real,
"09_pts" real,
"total_pts" real,
"total_pld" real,
"avg" text
);
Question: If the POS is 3, what is the 08 points?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"pos" real,
"team" text,
"07_pts" real,
"08_pts" real,
"09_pts" real,
"total_pts" real,
"total_pld" real,
"avg" text
);
Question: If the team is Rubio ñú, what is the 08 poi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"pos" real,
"team" text,
"07_pts" real,
"08_pts" real,
"09_pts" real,
"total_pts" real,
"total_pld" real,
"avg" text
);
Question: If the average is 1.2803, what is the total... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"pos" real,
"team" text,
"07_pts" real,
"08_pts" real,
"09_pts" real,
"total_pts" real,
"total_pld" real,
"avg" text
);
Question: If the POS is 4, what is the total PLD?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "open_qualifiers" (
"rank" real,
"team_name" text,
"basic_elements" text,
"tumbling" text,
"stunts" text,
"tosses_pyramids" text,
"deductions" text,
"total" text
);
Question: What is the t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "open_qualifiers" (
"rank" real,
"team_name" text,
"basic_elements" text,
"tumbling" text,
"stunts" text,
"tosses_pyramids" text,
"deductions" text,
"total" text
);
Question: Which team na... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "open_qualifiers" (
"rank" real,
"team_name" text,
"basic_elements" text,
"tumbling" text,
"stunts" text,
"tosses_pyramids" text,
"deductions" text,
"total" text
);
Question: What is the t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "open_qualifiers" (
"rank" real,
"team_name" text,
"basic_elements" text,
"tumbling" text,
"stunts" text,
"tosses_pyramids" text,
"deductions" text,
"total" text
);
Question: How many dedu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "open_qualifiers" (
"rank" real,
"team_name" text,
"basic_elements" text,
"tumbling" text,
"stunts" text,
"tosses_pyramids" text,
"deductions" text,
"total" text
);
Question: What is the r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "open_qualifiers" (
"rank" real,
"team_name" text,
"basic_elements" text,
"tumbling" text,
"stunts" text,
"tosses_pyramids" text,
"deductions" text,
"total" text
);
Question: What is the r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men_s_doubles_16_10_titles_6_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men_s_doubles_16_10_titles_6_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"title_in_the_original_language" text,
"director" text,
"result" text
);
Question: Who directed the film titled 'Steam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"title_in_the_original_language" text,
"director" text,
"result" text
);
Question: What year was the ceremony where th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "submissions" (
"year_ceremony" text,
"film_title_used_in_nomination" text,
"title_in_the_original_language" text,
"director" text,
"result" text
);
Question: What are the results for the film t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.