text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_13_num_dream_bigger" (
"season" real,
"episode" real,
"episode_summary" text,
"premier_date" text,
"external_link" text,
"coach" text
);
Question: What is the number of external links ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_13_num_dream_bigger" (
"season" real,
"episode" real,
"episode_summary" text,
"premier_date" text,
"external_link" text,
"coach" text
);
Question: What is the minimum number of seasons... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_13_num_dream_bigger" (
"season" real,
"episode" real,
"episode_summary" text,
"premier_date" text,
"external_link" text,
"coach" text
);
Question: What is the episode summary for episo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_13_num_dream_bigger" (
"season" real,
"episode" real,
"episode_summary" text,
"premier_date" text,
"external_link" text,
"coach" text
);
Question: What is the summary for the episode w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2140071_10" (
"season" real,
"episode" real,
"episode_summary" text,
"premier_date" text,
"external_link" text,
"coach" text
);
Question: Name the episode with maritza reveron
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2140071_10" (
"season" real,
"episode" real,
"episode_summary" text,
"premier_date" text,
"external_link" text,
"coach" text
);
Question: Name the season for august 16, 2010
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2140071_10" (
"season" real,
"episode" real,
"episode_summary" text,
"premier_date" text,
"external_link" text,
"coach" text
);
Question: Name the number of episode summary for jesse c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2140071_10" (
"season" real,
"episode" real,
"episode_summary" text,
"premier_date" text,
"external_link" text,
"coach" text
);
Question: Name the number of coach for full episode des... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2140071_10" (
"season" real,
"episode" real,
"episode_summary" text,
"premier_date" text,
"external_link" text,
"coach" text
);
Question: Name the coach for may 20, 2010
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2139390_2" (
"year" real,
"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_2139390_2" (
"year" real,
"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 "season_5" (
"season" real,
"episode" real,
"episode_summary" text,
"premier_date" text,
"external_link" text,
"coach" text
);
Question: How many seasons have a premier date of January 6, 2005... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_5" (
"season" real,
"episode" real,
"episode_summary" text,
"premier_date" text,
"external_link" text,
"coach" text
);
Question: What is the last season?
<|assistant|>
SELECT MAX("sea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_5" (
"season" real,
"episode" real,
"episode_summary" text,
"premier_date" text,
"external_link" text,
"coach" text
);
Question: What date did the episode, with John O'Connell as the c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: Name the result for total attendance-regular ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: Name the result/games for 52521
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: Name the result/games for 54530
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: Name the stadium for regular season game
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: Name the result/games for 54741
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"team_num1" text,
"agg_score" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: state team #2 in the match of first leg score 0-1
<|assistant|>
SELECT "team_num... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"team_num1" text,
"agg_score" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: give the 1st leg score against ilisiakos
<|assistant|>
SELECT "1st_leg" FROM "fi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"team_num1" text,
"agg_score" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: which team #1 played again chalkida
<|assistant|>
SELECT "team_num1" FROM "first... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"team_num1" text,
"agg_score" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: which team#2 played against poseidon neoi porroi
<|assistant|>
SELECT "team_num2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21436373_10" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: When was the pre-season game record achieved?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21436373_10" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: What is the maximal number of people that attended any of thes... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: what is the attendance in 2011 records
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: what type of record was made where result/gam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: where was the total attendance-regular season... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: where was sun 09/12/93 record made
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: how many records had result/games: 10 games (... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: what is the highest attendance for a total at... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: When 2005 is the date/year how many measureme... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: When 27585 is the attendance what are the res... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: When 9 games (28,002 avg.) is the results of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: When 255627 is the attendance what is the sta... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: What record was set on Tue 11/02/75?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: What record was set when the result/game was ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: What record was set when the result/game was ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: Which stadium had the result/game montreal 20... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21436373_5" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: For what year is the type of record 'total attendance-regular s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21436373_5" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: What type of record is the result of the game Montreal 31 @ Cal... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21436373_5" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: On what date/s has attendance been 45010?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: What is the number of attendance with the pre... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: Which type of record has result/games of 9 ga... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: What is the result/games of Sun 11/28/10 as t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: Which stadium has the date/year of Fri 06/25/... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "canadian_football_league_attendance" (
"type_of_record" text,
"attendance" real,
"date_year" text,
"stadium" text,
"result_games" text
);
Question: Which type of record has result/games of b.c.... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "barangays" (
"barangay" text,
"population_2000" real,
"population_2007" real,
"population_2010" real,
"barangay_fiesta" text
);
Question: What was the populati in 2000 for Panlicsian?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "barangays" (
"barangay" text,
"population_2000" real,
"population_2007" real,
"population_2010" real,
"barangay_fiesta" text
);
Question: What was the population in 2010 for Minane
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "barangays" (
"barangay" text,
"population_2000" real,
"population_2007" real,
"population_2010" real,
"barangay_fiesta" text
);
Question: What is the 2007 population for Corazon de Jesus?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "barangays" (
"barangay" text,
"population_2000" real,
"population_2007" real,
"population_2010" real,
"barangay_fiesta" text
);
Question: What is the 2010 population when the 2000 population is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pocket_monsters_diamond_pearl_series" (
"num" real,
"japanese_title" text,
"r_maji" text,
"japanese_translation" text,
"vocalist" text,
"episodes_used" text
);
Question: Name the romaji by yo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pocket_monsters_diamond_pearl_series" (
"num" real,
"japanese_title" text,
"r_maji" text,
"japanese_translation" text,
"vocalist" text,
"episodes_used" text
);
Question: Name the vocalist for... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pocket_monsters_diamond_pearl_series" (
"num" real,
"japanese_title" text,
"r_maji" text,
"japanese_translation" text,
"vocalist" text,
"episodes_used" text
);
Question: Name the least number... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pocket_monsters_diamond_pearl_series" (
"num" real,
"japanese_title" text,
"r_maji" text,
"japanese_translation" text,
"vocalist" text,
"episodes_used" text
);
Question: Name the number of vo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "alpg_tour_6" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: Name the to par for 20 feb 2005
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "alpg_tour_6" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: Name the number for margin of victor... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "alpg_tour_6" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: Name the winning score for 8 feb 200... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21458142_1" (
"title" text,
"total_copies_sold" text,
"sales_breakdown" text,
"genre" text,
"release_date" text,
"developer" text,
"publisher" text
);
Question: Who published the tit... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21458142_1" (
"title" text,
"total_copies_sold" text,
"sales_breakdown" text,
"genre" text,
"release_date" text,
"developer" text,
"publisher" text
);
Question: What's the sales brea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21458142_1" (
"title" text,
"total_copies_sold" text,
"sales_breakdown" text,
"genre" text,
"release_date" text,
"developer" text,
"publisher" text
);
Question: How many copies were ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21458142_1" (
"title" text,
"total_copies_sold" text,
"sales_breakdown" text,
"genre" text,
"release_date" text,
"developer" text,
"publisher" text
);
Question: What's the sales brea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_robin" (
"team_name" text,
"races" real,
"won" real,
"rr1_pts" real,
"rr2_pts" real,
"total_pts" text,
"ranking" real
);
Question: Name the most races
<|assistant|>
SELECT MAX("races"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_robin" (
"team_name" text,
"races" real,
"won" real,
"rr1_pts" real,
"rr2_pts" real,
"total_pts" text,
"ranking" real
);
Question: Name the most races
<|assistant|>
SELECT MAX("races"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_robin" (
"team_name" text,
"races" real,
"won" real,
"rr1_pts" real,
"rr2_pts" real,
"total_pts" text,
"ranking" real
);
Question: Name the most rr 1 pts
<|assistant|>
SELECT MAX("rr1... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_robin" (
"team_name" text,
"races" real,
"won" real,
"rr1_pts" real,
"rr2_pts" real,
"total_pts" text,
"ranking" real
);
Question: Name the number of total pts for gbr challenge
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "rank_by_number_of_wins" (
"city_nation" text,
"first_place" real,
"second_place" real,
"third_place" real,
"total_top_3_placements" real,
"first_place_winning_year_s_if_applicable" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "rank_by_number_of_wins" (
"city_nation" text,
"first_place" real,
"second_place" real,
"third_place" real,
"total_top_3_placements" real,
"first_place_winning_year_s_if_applicable" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "rank_by_number_of_wins" (
"city_nation" text,
"first_place" real,
"second_place" real,
"third_place" real,
"total_top_3_placements" real,
"first_place_winning_year_s_if_applicable" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "rank_by_number_of_wins" (
"city_nation" text,
"first_place" real,
"second_place" real,
"third_place" real,
"total_top_3_placements" real,
"first_place_winning_year_s_if_applicable" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2147588_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: What change caused a change of sta... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2147588_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: Who was the successor for the new ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2147588_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: What was the reason for change in ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2147588_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
);
Question: Who was the successor for the new ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2147588_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: When nathaniel g. taylor (u) is the successor what is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2147588_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: When william b. campbell (u) is the successor what is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2147588_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: When james brooks (d) is the vacator what is the date ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2147588_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: When john w. leftwich (uu) is the successor what is th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2147588_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
);
Question: When new york 8th is teh district who is the successor... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_robin" (
"team_name" text,
"races" real,
"won" real,
"rr1_pts" real,
"rr2_pts" real,
"rr3_pts" real,
"rr4_pts" text,
"total_pts" real,
"ranking" real
);
Question: When 20 is the r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_robin" (
"team_name" text,
"races" real,
"won" real,
"rr1_pts" real,
"rr2_pts" real,
"rr3_pts" real,
"rr4_pts" text,
"total_pts" real,
"ranking" real
);
Question: When 70 is the t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_robin" (
"team_name" text,
"races" real,
"won" real,
"rr1_pts" real,
"rr2_pts" real,
"rr3_pts" real,
"rr4_pts" text,
"total_pts" real,
"ranking" real
);
Question: When 3 is the rr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_robin" (
"team_name" text,
"races" real,
"won" real,
"rr1_pts" real,
"rr2_pts" real,
"rr3_pts" real,
"rr4_pts" text,
"total_pts" real,
"ranking" real
);
Question: When spanish cha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"name" text,
"career" text,
"matches" real,
"innings" real,
"not_out" real,
"runs_scored" real,
"high_score" text,
"50s" real,
"100s" real,
"average" text
);
Question: N... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"name" text,
"career" text,
"matches" real,
"innings" real,
"not_out" real,
"runs_scored" real,
"high_score" text,
"50s" real,
"100s" real,
"average" text
);
Question: N... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"name" text,
"career" text,
"matches" real,
"innings" real,
"not_out" real,
"runs_scored" real,
"high_score" text,
"50s" real,
"100s" real,
"average" text
);
Question: N... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"name" text,
"career" text,
"matches" real,
"innings" real,
"not_out" real,
"runs_scored" real,
"high_score" text,
"50s" real,
"100s" real,
"average" text
);
Question: N... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2150068_1" (
"satellite" text,
"launch_date_utc" text,
"decay" text,
"mass_kg" text,
"diameter_m" text,
"nssdc_id" text,
"nation" text,
"usage" text
);
Question: What nation was Pa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2150068_1" (
"satellite" text,
"launch_date_utc" text,
"decay" text,
"mass_kg" text,
"diameter_m" text,
"nssdc_id" text,
"nation" text,
"usage" text
);
Question: What was the launc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2150068_1" (
"satellite" text,
"launch_date_utc" text,
"decay" text,
"mass_kg" text,
"diameter_m" text,
"nssdc_id" text,
"nation" text,
"usage" text
);
Question: What was the decay... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2150068_1" (
"satellite" text,
"launch_date_utc" text,
"decay" text,
"mass_kg" text,
"diameter_m" text,
"nssdc_id" text,
"nation" text,
"usage" text
);
Question: What is the nssdc ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2150068_1" (
"satellite" text,
"launch_date_utc" text,
"decay" text,
"mass_kg" text,
"diameter_m" text,
"nssdc_id" text,
"nation" text,
"usage" text
);
Question: What is the launch... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2150068_1" (
"satellite" text,
"launch_date_utc" text,
"decay" text,
"mass_kg" text,
"diameter_m" text,
"nssdc_id" text,
"nation" text,
"usage" text
);
Question: What is the decay ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "soundtrack" (
"year" real,
"song_title" text,
"artist" text,
"genre" text,
"original_game" text,
"band_tier_venue" text,
"exportable_to_gh5_bh" text
);
Question: How many song titles belong... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "soundtrack" (
"year" real,
"song_title" text,
"artist" text,
"genre" text,
"original_game" text,
"band_tier_venue" text,
"exportable_to_gh5_bh" text
);
Question: What is every original game... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "soundtrack" (
"year" real,
"song_title" text,
"artist" text,
"genre" text,
"original_game" text,
"band_tier_venue" text,
"exportable_to_gh5_bh" text
);
Question: What is every song title fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "soundtrack" (
"year" real,
"song_title" text,
"artist" text,
"genre" text,
"original_game" text,
"band_tier_venue" text,
"exportable_to_gh5_bh" text
);
Question: What is every song title fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21501511_1" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What was Lambert's song choice in the top 13?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21501511_1" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What order did Lambert perform in the top 11?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21501511_1" (
"week_num" text,
"theme" text,
"song_choice" text,
"original_artist" text,
"order_num" text,
"result" text
);
Question: What week was themed disco?
<|assistant|>
SELECT "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.