text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_standings" (
"place" real,
"athlete" text,
"long_jump" real,
"javelin" real,
"200_m" real,
"discus" real,
"1500_m" real,
"total" real
);
Question: Name the least total for 1500m for... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_standings" (
"place" real,
"athlete" text,
"long_jump" real,
"javelin" real,
"200_m" real,
"discus" real,
"1500_m" real,
"total" real
);
Question: Name the max javelin for 200m for ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_standings" (
"place" real,
"athlete" text,
"long_jump" real,
"javelin" real,
"200_m" real,
"discus" real,
"1500_m" real,
"total" real
);
Question: Name the number of long jump for 1... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
);
Question: Name ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
);
Question: Name ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
);
Question: Name ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
);
Question: Name ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
);
Question: Name ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list" (
"name" text,
"municipal_status" text,
"census_division" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list" (
"name" text,
"municipal_status" text,
"census_division" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list" (
"name" text,
"municipal_status" text,
"census_division" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list" (
"name" text,
"municipal_status" text,
"census_division" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list" (
"name" text,
"municipal_status" text,
"census_division" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
);
Quest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administrative_divisions" (
"nr" real,
"district" text,
"former_name" text,
"area_ha" real,
"population_2005" real,
"no_of_villages" real,
"density_persons_ha" text
);
Question: If there ar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administrative_divisions" (
"nr" real,
"district" text,
"former_name" text,
"area_ha" real,
"population_2005" real,
"no_of_villages" real,
"density_persons_ha" text
);
Question: With the po... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administrative_divisions" (
"nr" real,
"district" text,
"former_name" text,
"area_ha" real,
"population_2005" real,
"no_of_villages" real,
"density_persons_ha" text
);
Question: How many vi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_doubles_8_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: What were the scores f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_doubles_8_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: How many years had sco... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_doubles_8_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Who were the partners ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_doubles_8_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: What were the outcomes... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_doubles_8_3_titles_5_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: What is the earliest y... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21304131_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"survivor_count" real
);
Question: What was the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21304131_2" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"survivor_count" real
);
Question: When did ser... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21304155_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21304155_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
Question: Who... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21304155_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_213088_1" (
"location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningra... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_213088_1" (
"location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningra... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_213088_1" (
"location_chernobyl_1_chernobyl_2_chernobyl_3_chernobyl_4_chernobyl_5_ignalina_1_ignalina_2_ignalina_3_kursk_1_kursk_2_kursk_3_kursk_4_kursk_5_kursk_6_leningrad_1_leningrad_2_leningra... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21313498_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_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21313498_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_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21313498_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_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21312959_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"us_viewers_millions" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21312959_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"us_viewers_millions" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21312959_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"us_viewers_millions" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21312959_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"us_viewers_millions" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21312845_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21312845_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21312845_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" real,
"date" text
);
Question: How m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" real,
"date" text
);
Question: What ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" real,
"date" text
);
Question: What ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" real,
"date" text
);
Question: What ... |
<|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 Marc Parenteau's position?
<|assistant|>
SELECT "position" FROM "round_five"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What is the smallest pick number for McGill?
<|assistant|>
SELECT MIN("pick_num") FRO... |
<|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: Derik Fury plays for which college?
<|assistant|>
SELECT "college" FROM "round_five"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: David Kasouf plays for how many colleges?
<|assistant|>
SELECT COUNT("college") FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_five" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What position was drafted by the Hamilton Tiger-Cats?
<|assistant|>
SELECT "position... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: Who won when Jamie ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: Who had the fasted ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" real,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: When did Oliver Jar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What college did the player for the Hamilton Tiger-Cats go to?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: How many players are at the DT position?
<|assistant|>
SELECT COUNT("player") FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What team does the player who went to Nebraska play for?
<|assistant|>
SELECT "cfl_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What is the highest number any of the players were picked at?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Which player plays for the Winnipeg Blue Bombers?
<|assistant|>
SELECT "player" 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 the pick # for player wes lysack?
<|assistant|>
SELECT "pick_num" FROM "round_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_one" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: How many clf teams have a pick # of 5?
<|assistant|>
SELECT COUNT("cfl_team") FROM "ro... |
<|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 total positions are there for utah college?
<|assistant|>
SELECT COUNT("posit... |
<|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: Which cfl team is manitoba college?
<|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: Which position is cfl team edmonton eskimos for weber state college?
<|assistant|>
SEL... |
<|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 the pick # for player wes lysack?
<|assistant|>
SELECT MAX("pick_num") FROM "r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21328899_1" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: When "i feel good" is the title and joe s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"day" text,
"stage" text,
"time_gmt" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: How many stages of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"day" text,
"stage" text,
"time_gmt" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: In which special st... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"day" text,
"stage" text,
"time_gmt" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: Which ralliers won ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21344397_3" (
"episode_number" real,
"total_episodes" real,
"title" text,
"original_uk_broadcast_by" text,
"original_uk_airdate" text,
"dvd_reference" text
);
Question: What is episode... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21330550_2" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
);
Que... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21330550_2" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
);
Que... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21330550_2" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
);
Que... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21330550_2" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
);
Que... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21330550_2" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
);
Que... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21330550_2" (
"date" text,
"time" text,
"acc_team" text,
"big_ten_team" text,
"location" text,
"television" text,
"attendance" real,
"winner" text,
"challenge_leader" text
);
Que... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
Question: Name the hometown for barahona
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
Question: Name the contestant for villa hermosa
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "delegates" (
"province_community" text,
"contestant" text,
"age" real,
"height" text,
"hometown" text,
"geographical_regions" text
);
Question: Name the least age for cibao central and santo ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "demographics" (
"census_division" text,
"area_km" text,
"pop_2011" real,
"pop_2006" real,
"pop_2001" real,
"pop_1996" real
);
Question: How many different results of the population count in 2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "demographics" (
"census_division" text,
"area_km" text,
"pop_2011" real,
"pop_2006" real,
"pop_2001" real,
"pop_1996" real
);
Question: How many people lived in the census division with an ar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "demographics" (
"census_division" text,
"area_km" text,
"pop_2011" real,
"pop_2006" real,
"pop_2001" real,
"pop_1996" real
);
Question: What is the largest population count in any of the cens... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "demographics" (
"census_division" text,
"area_km" text,
"pop_2011" real,
"pop_2006" real,
"pop_2001" real,
"pop_1996" real
);
Question: How many people lived in the census division spread out... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21344397_5" (
"episode_number" real,
"total_episodes" real,
"title" text,
"original_uk_broadcast_by" text,
"original_uk_airdate" text,
"dvd_reference" text
);
Question: When did "Grann... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21344397_5" (
"episode_number" real,
"total_episodes" real,
"title" text,
"original_uk_broadcast_by" text,
"original_uk_airdate" text,
"dvd_reference" text
);
Question: How many have t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
);
Question: What ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
);
Question: Which... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
);
Question: Who i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
);
Question: What ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
);
Question: How m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
);
Question: How m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21369888_4" (
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"viewing_figures_millions_sourced_by_barb_includes_itv1_hd_and_itv1_1" text
);... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21369888_4" (
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"viewing_figures_millions_sourced_by_barb_includes_itv1_hd_and_itv1_1" text
);... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21369888_4" (
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text,
"viewing_figures_millions_sourced_by_barb_includes_itv1_hd_and_itv1_1" text
);... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
);
Question: How m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" text,
"date" text
);
Question: What ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final" (
"draw" real,
"song" text,
"artist" text,
"panel_points" real,
"televotes" real,
"televote_points" real,
"score" real,
"placing" text
);
Question: Name the artist for 7 points
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final" (
"draw" real,
"song" text,
"artist" text,
"panel_points" real,
"televotes" real,
"televote_points" real,
"score" real,
"placing" text
);
Question: Name the number of artists for p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final" (
"draw" real,
"song" text,
"artist" text,
"panel_points" real,
"televotes" real,
"televote_points" real,
"score" real,
"placing" text
);
Question: Name the total number of televot... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final" (
"draw" real,
"song" text,
"artist" text,
"panel_points" real,
"televotes" real,
"televote_points" real,
"score" real,
"placing" text
);
Question: Name the score for rebeka dremel... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final" (
"draw" real,
"song" text,
"artist" text,
"panel_points" real,
"televotes" real,
"televote_points" real,
"score" real,
"placing" text
);
Question: Name the artist for 1595 televot... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men_s_doubles_8_5_titles_3_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score" text
);
Question: What was ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "men_s_doubles_8_5_titles_3_runner_ups" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score" text
);
Question: What was ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.