text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "appearances" (
"name" text,
"years" text,
"league" text,
"fa_cup" text,
"league_cup" text,
"europe" text,
"other_a" text,
"total" text
);
Question: which fa cups had a total of 565 (7)?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "appearances" (
"name" text,
"years" text,
"league" text,
"fa_cup" text,
"league_cup" text,
"europe" text,
"other_a" text,
"total" text
);
Question: which leage had a league cup of 46 (1)
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "appearances" (
"name" text,
"years" text,
"league" text,
"fa_cup" text,
"league_cup" text,
"europe" text,
"other_a" text,
"total" text
);
Question: which years had other a of 8 (1)?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overall_scorers" (
"name" text,
"years" text,
"league" real,
"fa_cup" real,
"league_cup" real,
"europe" real,
"other_a" real,
"total" text
);
Question: What name is associated with League... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overall_scorers" (
"name" text,
"years" text,
"league" real,
"fa_cup" real,
"league_cup" real,
"europe" real,
"other_a" real,
"total" text
);
Question: How many values of Other A correspo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overall_scorers" (
"name" text,
"years" text,
"league" real,
"fa_cup" real,
"league_cup" real,
"europe" real,
"other_a" real,
"total" text
);
Question: How many different Leagues are asso... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overall_scorers" (
"name" text,
"years" text,
"league" real,
"fa_cup" real,
"league_cup" real,
"europe" real,
"other_a" real,
"total" text
);
Question: How many separate values for Years ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overall_scorers" (
"name" text,
"years" text,
"league" real,
"fa_cup" real,
"league_cup" real,
"europe" real,
"other_a" real,
"total" text
);
Question: What years have a total of 139?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_countries_and_territories_data" (
"country_territory" text,
"area_km" real,
"population" real,
"pop_density_km" real,
"gdp_millions_of_usd_2009" real,
"gdp_per_capita_usd_2009_2011" real,... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_countries_and_territories_data" (
"country_territory" text,
"area_km" real,
"population" real,
"pop_density_km" real,
"gdp_millions_of_usd_2009" real,
"gdp_per_capita_usd_2009_2011" real,... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"position" text,
"number" text,
"name" text,
"height" text,
"weight" text,
"class" text,
"hometown" text,
"games" real
);
Question: How tall is Braxton Kelley?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"position" text,
"number" text,
"name" text,
"height" text,
"weight" text,
"class" text,
"hometown" text,
"games" real
);
Question: what class is Braxton Kelley in?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"position" text,
"number" text,
"name" text,
"height" text,
"weight" text,
"class" text,
"hometown" text,
"games" real
);
Question: how many hometowns use the position of fs?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"position" text,
"number" text,
"name" text,
"height" text,
"weight" text,
"class" text,
"hometown" text,
"games" real
);
Question: who is number 98?
<|assistant|>
SELECT "name"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: How many games were played against the Chicago Bears?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: What is the result of the game against the Chicago Bear... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: What was the final score of the game on October 4, 1970... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: Who was the team's opponent of October 25, 1970?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "brazilian_clubs_in_international_competi" (
"team" text,
"copa_libertadores_1998" text,
"copa_mercosur_1998" text,
"copa_conmebol_1998" text,
"copa_interamericana_1998" text,
"recopa_sudameric... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "brazilian_clubs_in_international_competi" (
"team" text,
"copa_libertadores_1998" text,
"copa_mercosur_1998" text,
"copa_conmebol_1998" text,
"copa_interamericana_1998" text,
"recopa_sudameric... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"institution" text,
"location" text,
"team_nickname" text,
"tenure" text,
"new_conference" text,
"new_classification" text
);
Question: Where is California Lutheran Universi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"institution" text,
"location" text,
"team_nickname" text,
"tenure" text,
"new_conference" text,
"new_classification" text
);
Question: What is the new classification for th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"institution" text,
"location" text,
"team_nickname" text,
"tenure" text,
"new_conference" text,
"new_classification" text
);
Question: What is California State University, ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"institution" text,
"location" text,
"team_nickname" text,
"tenure" text,
"new_conference" text,
"new_classification" text
);
Question: Which new conference is the Toreros W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2006_07_season_as_a_five_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2006_07_season_as_a_five_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2006_07_season_as_a_five_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2006_07_season_as_a_five_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2006_07_season_as_a_five_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2004_05_season_as_a_three_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2004_05_season_as_a_three_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2004_05_season_as_a_three_year_old" (
"result" text,
"date" text,
"race" text,
"venue" text,
"group" text,
"distance" text,
"weight_kg" text,
"jockey" text,
"winner_2nd" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: Name the number of weeks for 50073 attendance
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: Name the result for milwaukee county stadium
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: What was the record when the game was played at Clevela... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: What was the game date in week 13?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: Where did the team play the Detroit Lions?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: What week of the season did the date December 2, 1962 f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: what is the result for October 14, 1956?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: Name the game site for week 6
<|assistant|>
SELECT "gam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: Name the number of weeks for san francisco 49ers
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: Name the most attendance for game site for los angeles ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: what's the result with record being 0–1
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: what's the game site with result being l 24–34
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: how many result with date being october 25, 1964
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"attendance" real
);
Question: how many opponent with date being october 25, 1964
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "municipalities" (
"administrative_division" text,
"area_km" text,
"population_2000_census" real,
"population_2010_census" real,
"population_density_2010_km" real
);
Question: Name the populatio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "municipalities" (
"administrative_division" text,
"area_km" text,
"population_2000_census" real,
"population_2010_census" real,
"population_density_2010_km" real
);
Question: Name the total num... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "municipalities" (
"administrative_division" text,
"area_km" text,
"population_2000_census" real,
"population_2010_census" real,
"population_density_2010_km" real
);
Question: Name the populatio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "municipalities" (
"administrative_division" text,
"area_km" text,
"population_2000_census" real,
"population_2010_census" real,
"population_density_2010_km" real
);
Question: Name the number of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "municipalities" (
"administrative_division" text,
"area_km" text,
"population_2000_census" real,
"population_2010_census" real,
"population_density_2010_km" real
);
Question: Name the number of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "municipalities" (
"administrative_division" text,
"area_km" text,
"population_2000_census" real,
"population_2010_census" real,
"population_density_2010_km" real
);
Question: Name the administr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
Question: How many losses did ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1499791_2" (
"english_gloss" text,
"santee_sisseton" text,
"yankton_yanktonai" text,
"northern_lakota" text,
"southern_lakota" text
);
Question: Name the santee sisseton for morning
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1499791_2" (
"english_gloss" text,
"santee_sisseton" text,
"yankton_yanktonai" text,
"northern_lakota" text,
"southern_lakota" text
);
Question: Name the southern lakota for morning
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1499791_2" (
"english_gloss" text,
"santee_sisseton" text,
"yankton_yanktonai" text,
"northern_lakota" text,
"southern_lakota" text
);
Question: Name the southern lakota for wakȟáŋyeža
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1499791_2" (
"english_gloss" text,
"santee_sisseton" text,
"yankton_yanktonai" text,
"northern_lakota" text,
"southern_lakota" text
);
Question: Name the english gloss for naháŋȟčiŋ
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1499791_2" (
"english_gloss" text,
"santee_sisseton" text,
"yankton_yanktonai" text,
"northern_lakota" text,
"southern_lakota" text
);
Question: Name the santee sisseton for híŋhaŋna
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_1499791_2" (
"english_gloss" text,
"santee_sisseton" text,
"yankton_yanktonai" text,
"northern_lakota" text,
"southern_lakota" text
);
Question: Name the yankton yanktonai for wičháša
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14999879_2" (
"round" real,
"choice" real,
"player" text,
"position" text,
"height" text,
"weight" text,
"college" text
);
Question: What was the last round the team drafted?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14999879_2" (
"round" real,
"choice" real,
"player" text,
"position" text,
"height" text,
"weight" text,
"college" text
);
Question: What college did steve justice attend?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
Question: How may women doubles winner were there ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
Question: How many mixed doubles were won in 1996?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
Question: who is the the womens doubles with mens ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
Question: who is the the womens doubles with mens ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
Question: who is the the mixed doubles with mens s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
Question: who is the the mens doubles with mens si... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
Question: who is the the womens singles with mixed... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "past_winners" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
Question: How many mixed doubles were there in the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_15026994_5" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
);
Question: What is the # for the episode with viewing figure... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_15_countries_by_tally" (
"rank" real,
"country" text,
"miss_universe" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_15_countries_by_tally" (
"rank" real,
"country" text,
"miss_universe" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinalists" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_15026994_2" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
);
Question: How many different directors are associated with ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_15026994_2" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
);
Question: What writers are associated with a viewing figure... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_15026994_2" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
);
Question: What are all episodes with a viewing figure of 6.... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_15026994_2" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
);
Question: What original air dates are associated with a vie... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_15026994_3" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
);
Question: Who is the director of the episode at entry numbe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_15026994_3" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
);
Question: Who wrote the episode that David Tucker directed?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_15026994_3" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
);
Question: Which episode has been viewed 6.34 million times?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_15026994_3" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
);
Question: What is the original air date of the episode dire... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_15026994_3" (
"num" real,
"episode" text,
"writer" text,
"director" text,
"original_air_date" text,
"viewing_figure" text
);
Question: Which numerical entry corresponds to "Episode 9"?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general" (
"software" text,
"version" text,
"operating_systems" text,
"developer" text,
"license" text
);
Question: How many licenses have version 1.2.2.0?
<|assistant|>
SELECT COUNT("license")... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general" (
"software" text,
"version" text,
"operating_systems" text,
"developer" text,
"license" text
);
Question: What is the version with sbagen software?
<|assistant|>
SELECT "version" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general" (
"software" text,
"version" text,
"operating_systems" text,
"developer" text,
"license" text
);
Question: How many licenses have mind workstation software?
<|assistant|>
SELECT COUNT(... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general" (
"software" text,
"version" text,
"operating_systems" text,
"developer" text,
"license" text
);
Question: What is the software with version 1.2.2.0?
<|assistant|>
SELECT "software" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general" (
"software" text,
"version" text,
"operating_systems" text,
"developer" text,
"license" text
);
Question: What is hte license for beeone smod/hms software?
<|assistant|>
SELECT "licen... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general" (
"software" text,
"version" text,
"operating_systems" text,
"developer" text,
"license" text
);
Question: What are all the operating systems for sbagen?
<|assistant|>
SELECT "operatin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
"ido" text,
"english" text,
"italian" text,
"french" text,
"german" text,
"russian" text,
"spanish" text
);
Question: What is the English word fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
"ido" text,
"english" text,
"italian" text,
"french" text,
"german" text,
"russian" text,
"spanish" text
);
Question: What is the Spanish word fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
"ido" text,
"english" text,
"italian" text,
"french" text,
"german" text,
"russian" text,
"spanish" text
);
Question: What is the French word whe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
"ido" text,
"english" text,
"italian" text,
"french" text,
"german" text,
"russian" text,
"spanish" text
);
Question: What is the french word for... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
"ido" text,
"english" text,
"italian" text,
"french" text,
"german" text,
"russian" text,
"spanish" text
);
Question: What is the French word for... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_of_ido_vocabulary_with_its_si" (
"ido" text,
"english" text,
"italian" text,
"french" text,
"german" text,
"russian" text,
"spanish" text
);
Question: What is the English word fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "geography_of_students" (
"states" text,
"fall_05" real,
"fall_06" real,
"fall_07" real,
"fall_08" real,
"fall_09" real
);
Question: Which state had 3821 students in the fall of 06?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "geography_of_students" (
"states" text,
"fall_05" real,
"fall_06" real,
"fall_07" real,
"fall_08" real,
"fall_09" real
);
Question: How man students were from Maryland in Fall 05?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "geography_of_students" (
"states" text,
"fall_05" real,
"fall_06" real,
"fall_07" real,
"fall_08" real,
"fall_09" real
);
Question: What is the number of students in Fall 09 from the state th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "geography_of_students" (
"states" text,
"fall_05" real,
"fall_06" real,
"fall_07" real,
"fall_08" real,
"fall_09" real
);
Question: What was the highest number of students in Fall 09 in the s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "geography_of_students" (
"states" text,
"fall_05" real,
"fall_06" real,
"fall_07" real,
"fall_08" real,
"fall_09" real
);
Question: What is the lowest number of students from a state during t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "immigration_by_state" (
"north_carolina" text,
"273_7pct" text,
"south_carolina" text,
"132_1pct" text,
"mississippi" text,
"95_8pct" text,
"wisconsin" text,
"59_4pct" text,
"vermont" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "immigration_by_state" (
"north_carolina" text,
"273_7pct" text,
"south_carolina" text,
"132_1pct" text,
"mississippi" text,
"95_8pct" text,
"wisconsin" text,
"59_4pct" text,
"vermont" te... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.