text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grands_prix" (
"rd" real,
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
Question: Who had the pole positio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_members" (
"institution" text,
"location_population" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname_colors" text,
"football" text
);
Question: What year was the instit... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_members" (
"institution" text,
"location_population" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname_colors" text,
"football" text
);
Question: What is the enrollment f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_members" (
"institution" text,
"location_population" text,
"founded" real,
"type" text,
"enrollment" real,
"nickname_colors" text,
"football" text
);
Question: What is the location and... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26263322_1" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
);
Question: How many times was the result is hired by serepisos?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26263322_1" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
);
Question: What is the age when the result is fired in week 8
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26263322_1" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
);
Question: What is the background of the candidate daniel phillips... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26263322_1" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
);
Question: How many times was the background self-employed - media... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26263322_1" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
);
Question: How many times was the background university student?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26263322_1" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
);
Question: What is the candidate whose age is 27?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: In Round 6, who is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: On what date is the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: Round 1 is in what ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: In the circuit Show... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: Where the fastest l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text
);
Question: How many dates are ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26261072_1" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: Name the least series number written... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26261072_1" (
"series_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text
);
Question: Name the original air date for serie... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_nationwide_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2626495_1" (
"episode_num" real,
"prod_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text
);
Question: what is the title of the episode daphne field... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2626495_1" (
"episode_num" real,
"prod_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text
);
Question: who directed the episode james clavell wrote?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2626495_1" (
"episode_num" real,
"prod_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text
);
Question: how many times was the episode directed by ma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "film_festivals" (
"film_festival" text,
"date_of_ceremony" text,
"category" text,
"participants_recipients" text,
"result" text
);
Question: What Film Festival had participants/recipients of Is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "film_festivals" (
"film_festival" text,
"date_of_ceremony" text,
"category" text,
"participants_recipients" text,
"result" text
);
Question: Who was the participant or recipient for the Best Fe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "film_festivals" (
"film_festival" text,
"date_of_ceremony" text,
"category" text,
"participants_recipients" text,
"result" text
);
Question: What date was the participant/recipient takakazu wa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "film_festivals" (
"film_festival" text,
"date_of_ceremony" text,
"category" text,
"participants_recipients" text,
"result" text
);
Question: What film festival had the Best Male Actor?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "film_festivals" (
"film_festival" text,
"date_of_ceremony" text,
"category" text,
"participants_recipients" text,
"result" text
);
Question: What film festival was the participant/recipient Isa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "film_festivals" (
"film_festival" text,
"date_of_ceremony" text,
"category" text,
"participants_recipients" text,
"result" text
);
Question: What category was the the participant/recipient otō... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"finished" text,
"performance_order" real,
"percentage_of_votes" text,
"artist" text,
"act" text,
"semi_finals_result" text
);
Question: Name the performance order of the velasco b... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"finished" text,
"performance_order" real,
"percentage_of_votes" text,
"artist" text,
"act" text,
"semi_finals_result" text
);
Question: Name the number of semi final results for 1... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"finished" text,
"performance_order" real,
"percentage_of_votes" text,
"artist" text,
"act" text,
"semi_finals_result" text
);
Question: Name the performance order for 2.15%
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"finished" text,
"performance_order" real,
"percentage_of_votes" text,
"artist" text,
"act" text,
"semi_finals_result" text
);
Question: Name the percentage of votes for 3rd finish... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"finished" text,
"performance_order" real,
"percentage_of_votes" text,
"artist" text,
"act" text,
"semi_finals_result" text
);
Question: Name the percentage of votes for violinist
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_36_results_summary" (
"name_name_of_act" text,
"age_s" text,
"genre" text,
"act" text,
"hometown" text,
"semifinal_week" real,
"position_reached" text
);
Question: what are all the home... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_rural_communities_in_new_brunswi" (
"name" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
);
Question: What is the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_rural_communities_in_new_brunswi" (
"name" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
);
Question: What is ever... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_rural_communities_in_new_brunswi" (
"name" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
);
Question: What is ever... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_rural_communities_in_new_brunswi" (
"name" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
);
Question: What is ever... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_rural_communities_in_new_brunswi" (
"name" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
);
Question: How many nam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_rural_communities_in_new_brunswi" (
"name" text,
"population_2011" real,
"population_2006" real,
"change_pct" text,
"area_km" text,
"population_density" text
);
Question: What is ever... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indicators" (
"country" text,
"area_km_2010" real,
"population_2011" real,
"gdp_ppp_intl_2011" text,
"gdp_ppp_per_capita_intl_2011" text,
"income_inequality_1992_2010_latest_available" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indicators" (
"country" text,
"area_km_2010" real,
"population_2011" real,
"gdp_ppp_intl_2011" text,
"gdp_ppp_per_capita_intl_2011" text,
"income_inequality_1992_2010_latest_available" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indicators" (
"country" text,
"area_km_2010" real,
"population_2011" real,
"gdp_ppp_intl_2011" text,
"gdp_ppp_per_capita_intl_2011" text,
"income_inequality_1992_2010_latest_available" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26335424_86" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
Question: How many times was lakpa tashi sherpa ( bhu ) ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26335424_86" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
Question: If the quarterfinals was nabil talal ( jor ) l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26335424_86" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
Question: If the event was bantamweight (-63kg), and the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26335424_86" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
Question: If the round of 16 was yulius fernando ( ina ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26335424_86" (
"athlete" text,
"event" text,
"round_of_32" text,
"round_of_16" text,
"quarterfinals" text,
"semifinals" text
);
Question: If round of 32 is sawatvilay phimmasone ( lao ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text,
"result" text
);
Question: What date was the district incumbent Saxby Chambliss elected?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text,
"result" text
);
Question: What is the status in the district with the incumbent Bob Barr?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text,
"result" text
);
Question: How many elected catagories are there for the district with Saxby Chambli... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text,
"result" text
);
Question: What was the result for the district with an election in 1986
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text,
"result" text
);
Question: how many party classifications are there for the incumbent Mac Collins?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26352332_4" (
"engine_family" text,
"cylinder_layout" text,
"displacement_s" text,
"injection_type" text,
"years_produced" text
);
Question: For the engine family MaxxForce 11, what is t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26352332_4" (
"engine_family" text,
"cylinder_layout" text,
"displacement_s" text,
"injection_type" text,
"years_produced" text
);
Question: The cylinder layout v8 is produced in what ye... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26352332_4" (
"engine_family" text,
"cylinder_layout" text,
"displacement_s" text,
"injection_type" text,
"years_produced" text
);
Question: The years produced for the cylinder layout v8... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26352332_4" (
"engine_family" text,
"cylinder_layout" text,
"displacement_s" text,
"injection_type" text,
"years_produced" text
);
Question: The engine family MaxxForce 5 in the years p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26352332_4" (
"engine_family" text,
"cylinder_layout" text,
"displacement_s" text,
"injection_type" text,
"years_produced" text
);
Question: Where the displacement(s) is 10.5L is, what i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26352332_4" (
"engine_family" text,
"cylinder_layout" text,
"displacement_s" text,
"injection_type" text,
"years_produced" text
);
Question: The displacement(s) 466 cubic inches (7.6L), ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "later_thalers_with_event_location_and_ye" (
"location" text,
"date" real,
"denomination" text,
"coinage_metal" text,
"mintage" real,
"km_number" text
);
Question: What is the coinage metal fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "later_thalers_with_event_location_and_ye" (
"location" text,
"date" real,
"denomination" text,
"coinage_metal" text,
"mintage" real,
"km_number" text
);
Question: What is the maximum date for... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "later_thalers_with_event_location_and_ye" (
"location" text,
"date" real,
"denomination" text,
"coinage_metal" text,
"mintage" real,
"km_number" text
);
Question: What is the mintage for a lo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "later_thalers_with_event_location_and_ye" (
"location" text,
"date" real,
"denomination" text,
"coinage_metal" text,
"mintage" real,
"km_number" text
);
Question: What is the coinage metal fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "later_thalers_with_event_location_and_ye" (
"location" text,
"date" real,
"denomination" text,
"coinage_metal" text,
"mintage" real,
"km_number" text
);
Question: What is the coinage metal fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "boys" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
);
Question: When the under-17 was Antonio Glez, who was the under-13?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "boys" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
);
Question: In the year 2009 who was the under-13?
<|assistant|>
SELECT "under_13" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "boys" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
);
Question: When Julian Illingworth was the under-19, who was the under-15?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "boys" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
);
Question: Who was the under-15 when Moises Galvez was the under-17?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "boys" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
);
Question: How many years are there where the the under-15 is Arturo Salazar Martine... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "boys" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
);
Question: When the under-11 was Aly Abou El Einen, who was the under-13?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "elections_to_congress_of_deputies" (
"election_number" real,
"election_date" text,
"district" text,
"province" text,
"took_office" text,
"left_office" text
);
Question: What is the election d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "elections_to_congress_of_deputies" (
"election_number" real,
"election_date" text,
"district" text,
"province" text,
"took_office" text,
"left_office" text
);
Question: What are the election ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "elections_to_congress_of_deputies" (
"election_number" real,
"election_date" text,
"district" text,
"province" text,
"took_office" text,
"left_office" text
);
Question: What is the date in wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "elections_to_congress_of_deputies" (
"election_number" real,
"election_date" text,
"district" text,
"province" text,
"took_office" text,
"left_office" text
);
Question: In how many district h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "elections_to_congress_of_deputies" (
"election_number" real,
"election_date" text,
"district" text,
"province" text,
"took_office" text,
"left_office" text
);
Question: What are the dates of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" real,
"location" text,
"country" text,
"date" text,
"fastest_qualifying" text,
"winning_pilot" text,
"winning_aircraft" text
);
Question: When united ar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" real,
"location" text,
"country" text,
"date" text,
"fastest_qualifying" text,
"winning_pilot" text,
"winning_aircraft" text
);
Question: When cancelled... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" real,
"location" text,
"country" text,
"date" text,
"fastest_qualifying" text,
"winning_pilot" text,
"winning_aircraft" text
);
Question: When united ar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "individual_triple_doubles" (
"num" real,
"player" text,
"points" real,
"rebounds" real,
"assists" real,
"opponent" text,
"date" text
);
Question: List the number of assists against illinois... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "individual_triple_doubles" (
"num" real,
"player" text,
"points" real,
"rebounds" real,
"assists" real,
"opponent" text,
"date" text
);
Question: List the opposing team on february 15, 2003... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "individual_triple_doubles" (
"num" real,
"player" text,
"points" real,
"rebounds" real,
"assists" real,
"opponent" text,
"date" text
);
Question: List the number of recovers for player #2.
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "individual_triple_doubles" (
"num" real,
"player" text,
"points" real,
"rebounds" real,
"assists" real,
"opponent" text,
"date" text
);
Question: List the opposing team from february 22, 19... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "individual_triple_doubles" (
"num" real,
"player" text,
"points" real,
"rebounds" real,
"assists" real,
"opponent" text,
"date" text
);
Question: List the lowest number of assists.
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "girls" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
);
Question: What is every value for Under-11 when value of under-17 is Salma Nassar?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "girls" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
);
Question: What is every value for Under-13 when value for Under-15 is Maria Elena ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "girls" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
);
Question: What is every value for Under-17 if Under-15 is Maria Elena Ubina?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "girls" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
);
Question: What is every value for Under-11 if Under-19 is Leong Siu Lynn?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "girls" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
);
Question: Who is everyone Under-11 if Under-17 is Salma Nassar?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "girls" (
"year" real,
"under_11" text,
"under_13" text,
"under_15" text,
"under_17" text,
"under_19" text
);
Question: Who is every Under-15 if Under-11 is Reeham Sedky?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26375386_16" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
);
Question: How many couples had a vote percentage of 9.... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26375386_16" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
);
Question: What was the lowest judge rank for danny and... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_26375386_16" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
);
Question: What couple had a total of 8?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"region" text,
"population" real,
"pct_of_countrys_population" text,
"change_in_population_since_1993" real,
"change_in_pct_of_countrys_population_since_1993" text
);
Question: In wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"region" text,
"population" real,
"pct_of_countrys_population" text,
"change_in_population_since_1993" real,
"change_in_pct_of_countrys_population_since_1993" text
);
Question: What ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"region" text,
"population" real,
"pct_of_countrys_population" text,
"change_in_population_since_1993" real,
"change_in_pct_of_countrys_population_since_1993" text
);
Question: What ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television_broadcasters" (
"channel" real,
"channel_name" text,
"callsign" text,
"signal_power" text,
"broadcast_area" text
);
Question: What is the broadcast are for channel 1?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television_broadcasters" (
"channel" real,
"channel_name" text,
"callsign" text,
"signal_power" text,
"broadcast_area" text
);
Question: What is the call sign for channel 6?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "television_broadcasters" (
"channel" real,
"channel_name" text,
"callsign" text,
"signal_power" text,
"broadcast_area" text
);
Question: What is the channel number for TBS?
<|assistant|>
SELECT... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.