text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"rnd" real,
"date" text,
"length" text,
"race_name" text,
"track" text,
"location" text,
"pole_position" text,
"winning_driver" text
);
Question: What length was w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"rnd" real,
"date" text,
"length" text,
"race_name" text,
"track" text,
"location" text,
"pole_position" text,
"winning_driver" text
);
Question: What rounds did P... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"rnd" real,
"date" text,
"length" text,
"race_name" text,
"track" text,
"location" text,
"pole_position" text,
"winning_driver" text
);
Question: What are the leng... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"rnd" real,
"date" text,
"length" text,
"race_name" text,
"track" text,
"location" text,
"pole_position" text,
"winning_driver" text
);
Question: What lengths did ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Na... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Na... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text,
"te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text,
"te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" real,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" text,
"te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"rnd" real,
"date" text,
"race_name" text,
"length" text,
"track" text,
"location" text,
"pole_position" text,
"winning_driver" text
);
Question: In what round did... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"rnd" real,
"date" text,
"race_name" text,
"length" text,
"track" text,
"location" text,
"pole_position" text,
"winning_driver" text
);
Question: How many races ar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"rnd" real,
"date" text,
"race_name" text,
"length" text,
"track" text,
"location" text,
"pole_position" text,
"winning_driver" text
);
Question: What was the name... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"rnd" real,
"date" text,
"race_name" text,
"length" text,
"track" text,
"location" text,
"pole_position" text,
"winning_driver" text
);
Question: What is the name ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"rnd" real,
"date" text,
"race_name" text,
"length" text,
"track" text,
"location" text,
"pole_position" text,
"winning_driver" text
);
Question: Which locations d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "contemporary_humor_magazines" (
"title" text,
"language" text,
"country" text,
"years_published" text,
"frequency" text,
"medium" text,
"classification" text
);
Question: What classificatio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"rnd" real,
"date" text,
"race_name" text,
"length" text,
"track" text,
"location" text,
"type" text,
"pole_position" text,
"winning_driver" text
);
Question: Ho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"rnd" real,
"date" text,
"race_name" text,
"length" text,
"track" text,
"location" text,
"type" text,
"pole_position" text,
"winning_driver" text
);
Question: Ho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"rnd" real,
"date" text,
"race_name" text,
"length" text,
"track" text,
"location" text,
"type" text,
"pole_position" text,
"winning_driver" text
);
Question: Da... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"rnd" real,
"date" text,
"race_name" text,
"length" text,
"track" text,
"location" text,
"type" text,
"pole_position" text,
"winning_driver" text
);
Question: Ho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2267465_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2267465_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2267465_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2267465_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" text,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2268216_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" real,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2268216_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" real,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2268216_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" real,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2268216_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" real,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2268216_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" real,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2268216_1" (
"year" text,
"date" text,
"driver" text,
"team" text,
"manufacturer" text,
"laps" real,
"miles_km" text,
"race_time" text,
"average_speed_mph" text,
"report" text
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "riders_jersey_progress_table" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"sprint_classification" text,
"team_classification" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "riders_jersey_progress_table" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"sprint_classification" text,
"team_classification" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "riders_jersey_progress_table" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"sprint_classification" text,
"team_classification" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "riders_jersey_progress_table" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"sprint_classification" text,
"team_classification" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "conference_winners_and_tournaments" (
"conference" text,
"regular_season_winner" text,
"conference_player_of_the_year" text,
"conference_tournament" text,
"tournament_venue_city" text,
"tourna... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "conference_winners_and_tournaments" (
"conference" text,
"regular_season_winner" text,
"conference_player_of_the_year" text,
"conference_tournament" text,
"tournament_venue_city" text,
"tourna... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "conference_winners_and_tournaments" (
"conference" text,
"regular_season_winner" text,
"conference_player_of_the_year" text,
"conference_tournament" text,
"tournament_venue_city" text,
"tourna... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"number" real,
"name" text,
"position" text,
"height" text,
"experience" text,
"college" text
);
Question: How long has Mel Daniels been playing?
<|assistant|>
SELECT "experience" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"number" real,
"name" text,
"position" text,
"height" text,
"experience" text,
"college" text
);
Question: What position did the player from San Jose State play?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"number" real,
"name" text,
"position" text,
"height" text,
"experience" text,
"college" text
);
Question: What was the number of the player that was 6-6?
<|assistant|>
SELECT "numb... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_and_result" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: If the song choice is Coba and the order num... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_and_result" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What is the result if Coba is the song choic... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_and_result" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: If Coba is the song choice, what is the orde... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_and_result" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: If Crazy In Love is the song choice, what is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_and_result" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: For week number of the top 40, what was the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performances_and_result" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: For week of top 9, what were the results?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_membership" (
"city" text,
"county" text,
"region" text,
"local_authority" text,
"type" text,
"population" real,
"urban_area" real,
"metropolitan_area" real
);
Question: The city of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_membership" (
"city" text,
"county" text,
"region" text,
"local_authority" text,
"type" text,
"population" real,
"urban_area" real,
"metropolitan_area" real
);
Question: Leeds City ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_membership" (
"city" text,
"county" text,
"region" text,
"local_authority" text,
"type" text,
"population" real,
"urban_area" real,
"metropolitan_area" real
);
Question: Tyne and We... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_membership" (
"city" text,
"county" text,
"region" text,
"local_authority" text,
"type" text,
"population" real,
"urban_area" real,
"metropolitan_area" real
);
Question: What is the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_elected_m_ps" (
"constituency" text,
"winner" text,
"party" text,
"margin" real,
"runner_up_a" text,
"party_a" text
);
Question: Who was the runner-up (a) if K. P. Ramalingam won the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "summary" (
"year" real,
"class" text,
"team_name" text,
"bike" text,
"riders" text,
"races" text,
"wins" real,
"podiums" real,
"poles" real,
"f_laps" real,
"points" real,
"pos" tex... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "summary" (
"year" real,
"class" text,
"team_name" text,
"bike" text,
"riders" text,
"races" text,
"wins" real,
"podiums" real,
"poles" real,
"f_laps" real,
"points" real,
"pos" tex... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "summary" (
"year" real,
"class" text,
"team_name" text,
"bike" text,
"riders" text,
"races" text,
"wins" real,
"podiums" real,
"poles" real,
"f_laps" real,
"points" real,
"pos" tex... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_elected_m_ps" (
"constituency" text,
"winner" text,
"party" text,
"margin" real,
"runner_up_a" text,
"party_a" text
);
Question: Name the most margin for nco party and p. ramachandran... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_elected_m_ps" (
"constituency" text,
"winner" text,
"party" text,
"margin" real,
"runner_up_a" text,
"party_a" text
);
Question: Name the party a for m. s. k. sathiyendran runner up
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_elected_m_ps" (
"constituency" text,
"winner" text,
"party" text,
"margin" real,
"runner_up_a" text,
"party_a" text
);
Question: Name the party a for sriperumbudur
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_elected_m_ps" (
"constituency" text,
"winner" text,
"party" text,
"margin" real,
"runner_up_a" text,
"party_a" text
);
Question: Name the total number of runner up a for perambalur
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_elected_m_ps" (
"constituency" text,
"winner" text,
"party" text,
"margin" real,
"runner_up_a" text,
"party_a" text
);
Question: Name the constituency for 175130
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_elected_m_ps" (
"constituency" text,
"winner" text,
"party" text,
"margin" real,
"runner_up_a" text,
"party_a" text
);
Question: How many margins have a winner of S. Singaravadivel?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_elected_m_ps" (
"constituency" text,
"winner" text,
"party" text,
"margin" real,
"runner_up_a" text,
"party_a" text
);
Question: How many winners have a runner-up of A. Karthikeyan?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_elected_m_ps" (
"constituency" text,
"winner" text,
"party" text,
"margin" real,
"runner_up_a" text,
"party_a" text
);
Question: What is every party with a winner of P. Chidambaram?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_elected_m_ps" (
"constituency" text,
"winner" text,
"party" text,
"margin" real,
"runner_up_a" text,
"party_a" text
);
Question: What is every party A with a constituency of Tiruchend... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_elected_m_ps" (
"constituency" text,
"winner" text,
"party" text,
"margin" real,
"runner_up_a" text,
"party_a" text
);
Question: Who is the constituency when the runner-up was d. Venu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_elected_m_ps" (
"constituency" text,
"winner" text,
"party" text,
"margin" real,
"runner_up_a" text,
"party_a" text
);
Question: What is the party where the constituency is 10. Tindiv... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_elected_m_ps" (
"constituency" text,
"winner" text,
"party" text,
"margin" real,
"runner_up_a" text,
"party_a" text
);
Question: What is the party when the constituency is 1. Chennai ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_elected_m_ps" (
"constituency" text,
"winner" text,
"party" text,
"margin" real,
"runner_up_a" text,
"party_a" text
);
Question: How many margin results are listed in the election tha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_elected_m_ps" (
"constituency" text,
"winner" text,
"party" text,
"margin" real,
"runner_up_a" text,
"party_a" text
);
Question: What is the margin when k. balathandayutham is the win... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_elected_m_ps" (
"constituency" text,
"winner" text,
"party" text,
"margin" real,
"runner_up_a" text,
"party_a" text
);
Question: What is the margin when periyakulam is the constituenc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"rnd" real,
"date" text,
"race_name" text,
"length" text,
"track" text,
"location" text,
"type" text,
"pole_position" text,
"winning_driver" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"rnd" real,
"date" text,
"race_name" text,
"length" text,
"track" text,
"location" text,
"type" text,
"pole_position" text,
"winning_driver" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stations_under_construction" (
"station" text,
"extension" text,
"city_neighborhood" text,
"projected_opening" real,
"transit_connections" text,
"park_and_ride" text
);
Question: Name the par... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stations_under_construction" (
"station" text,
"extension" text,
"city_neighborhood" text,
"projected_opening" real,
"transit_connections" text,
"park_and_ride" text
);
Question: Name the ext... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stations_under_construction" (
"station" text,
"extension" text,
"city_neighborhood" text,
"projected_opening" real,
"transit_connections" text,
"park_and_ride" text
);
Question: Name the lea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stations_under_construction" (
"station" text,
"extension" text,
"city_neighborhood" text,
"projected_opening" real,
"transit_connections" text,
"park_and_ride" text
);
Question: Name the tra... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stations_under_construction" (
"station" text,
"extension" text,
"city_neighborhood" text,
"projected_opening" real,
"transit_connections" text,
"park_and_ride" text
);
Question: Name the par... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "planned_or_proposed_stations" (
"station" text,
"extension" text,
"city_neighborhood" text,
"projected_opening" text,
"park_and_ride" text,
"funded_by_st2" text
);
Question: How many park and... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "planned_or_proposed_stations" (
"station" text,
"extension" text,
"city_neighborhood" text,
"projected_opening" text,
"park_and_ride" text,
"funded_by_st2" text
);
Question: How many neighbor... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "planned_or_proposed_stations" (
"station" text,
"extension" text,
"city_neighborhood" text,
"projected_opening" text,
"park_and_ride" text,
"funded_by_st2" text
);
Question: What are all the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "planned_or_proposed_stations" (
"station" text,
"extension" text,
"city_neighborhood" text,
"projected_opening" text,
"park_and_ride" text,
"funded_by_st2" text
);
Question: What is the funde... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stations" (
"station" text,
"line_s" text,
"city_neighborhood" text,
"year_opened" real,
"transit_connections" text,
"park_and_ride" text
);
Question: What are the transit connections from Pi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "stations" (
"station" text,
"line_s" text,
"city_neighborhood" text,
"year_opened" real,
"transit_connections" text,
"park_and_ride" text
);
Question: What's the transit connection in Columbi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "availability_and_names" (
"country" text,
"type_of_protection" text,
"maximum_term" text,
"pct_route_available" text,
"conversion_from_patent_application" text
);
Question: For small patent typ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "availability_and_names" (
"country" text,
"type_of_protection" text,
"maximum_term" text,
"pct_route_available" text,
"conversion_from_patent_application" text
);
Question: In Tonga, what is th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "availability_and_names" (
"country" text,
"type_of_protection" text,
"maximum_term" text,
"pct_route_available" text,
"conversion_from_patent_application" text
);
Question: For short patent typ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "availability_and_names" (
"country" text,
"type_of_protection" text,
"maximum_term" text,
"pct_route_available" text,
"conversion_from_patent_application" text
);
Question: In Tangier Zone, wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "availability_and_names" (
"country" text,
"type_of_protection" text,
"maximum_term" text,
"pct_route_available" text,
"conversion_from_patent_application" text
);
Question: When the PCT route a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"cowboys_points" real,
"opponents" real,
"record" text
);
Question: What was the result against the team which the Cowb... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"cowboys_points" real,
"opponents" real,
"record" text
);
Question: What is the fewest points opponents have scored whe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"cowboys_points" real,
"opponents" real,
"record" text
);
Question: How many opponents have a 1-0 record against the Co... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"cowboys_points" real,
"opponents" real,
"record" text
);
Question: What game was held against a team with a 6-3 record... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "in" (
"n" real,
"p" text,
"name" text,
"eu" text,
"country" text,
"age" real,
"type" text,
"moving_from" text,
"transfer_window" text,
"ends" text,
"transfer_fee" text,
"source" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "in" (
"n" real,
"p" text,
"name" text,
"eu" text,
"country" text,
"age" real,
"type" text,
"moving_from" text,
"transfer_window" text,
"ends" text,
"transfer_fee" text,
"source" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "in" (
"n" real,
"p" text,
"name" text,
"eu" text,
"country" text,
"age" real,
"type" text,
"moving_from" text,
"transfer_window" text,
"ends" text,
"transfer_fee" text,
"source" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "in" (
"n" real,
"p" text,
"name" text,
"eu" text,
"country" text,
"age" real,
"type" text,
"moving_from" text,
"transfer_window" text,
"ends" text,
"transfer_fee" text,
"source" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "in" (
"n" real,
"p" text,
"name" text,
"eu" text,
"country" text,
"age" real,
"type" text,
"moving_from" text,
"transfer_window" text,
"ends" text,
"transfer_fee" text,
"source" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "loans_in" (
"no" real,
"p" text,
"name" text,
"country" text,
"age" real,
"loan_club" text,
"started" text,
"ended" text,
"start_source" text,
"end_source" text
);
Question: What play... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_228149_1" (
"game" text,
"date" text,
"champion" text,
"score" text,
"runner_up" text,
"stadium" text,
"city" text,
"ted_morris_memorial_trophy_game_mvp" text,
"bruce_coulter_awar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_228149_1" (
"game" text,
"date" text,
"champion" text,
"score" text,
"runner_up" text,
"stadium" text,
"city" text,
"ted_morris_memorial_trophy_game_mvp" text,
"bruce_coulter_awar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_228149_1" (
"game" text,
"date" text,
"champion" text,
"score" text,
"runner_up" text,
"stadium" text,
"city" text,
"ted_morris_memorial_trophy_game_mvp" text,
"bruce_coulter_awar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_228149_1" (
"game" text,
"date" text,
"champion" text,
"score" text,
"runner_up" text,
"stadium" text,
"city" text,
"ted_morris_memorial_trophy_game_mvp" text,
"bruce_coulter_awar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.