question stringlengths 12 244 | create_table_statement stringlengths 97 895 | sql_query stringlengths 27 479 | wiki_sql_table_id stringlengths 8 14 |
|---|---|---|---|
How many channels are there in the Greater Tokyo area? | CREATE TABLE "television_broadcasters" (
"channel" real,
"channel_name" text,
"callsign" text,
"signal_power" text,
"broadcast_area" text
); | SELECT COUNT("channel") FROM "television_broadcasters" WHERE "broadcast_area"='Greater Tokyo'; | 1-2638104-1 |
What is the signal power for JOAB-DTV? | CREATE TABLE "television_broadcasters" (
"channel" real,
"channel_name" text,
"callsign" text,
"signal_power" text,
"broadcast_area" text
); | SELECT "signal_power" FROM "television_broadcasters" WHERE "callsign"='JOAB-DTV'; | 1-2638104-1 |
How many times is the voting percentage 10.7% | CREATE TABLE "table1_26375386_20" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
); | SELECT COUNT("rank") FROM "table1_26375386_20" WHERE "vote_percentage"='10.7%'; | 1-26375386-20 |
What is the vote percentage for the couple gary and maria? | CREATE TABLE "table1_26375386_20" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
); | SELECT "vote_percentage" FROM "table1_26375386_20" WHERE "couple"='Gary and Maria'; | 1-26375386-20 |
what couple had a vote percentage of 5.8%? | CREATE TABLE "table1_26375386_20" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
); | SELECT "couple" FROM "table1_26375386_20" WHERE "vote_percentage"='5.8%'; | 1-26375386-20 |
What is the public when the vote percentage is 16.0% | CREATE TABLE "table1_26375386_20" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
); | SELECT "public" FROM "table1_26375386_20" WHERE "vote_percentage"='16.0%'; | 1-26375386-20 |
How many judges were there when the result is safe with a vote percentage of 10.7%? | CREATE TABLE "table1_26375386_20" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
); | SELECT MIN("judges") FROM "table1_26375386_20" WHERE "result"='Safe' AND "vote_percentage"='10.7%'; | 1-26375386-20 |
How many times was the vote percentage 15.0%? | CREATE TABLE "table1_26375386_20" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
); | SELECT COUNT("total") FROM "table1_26375386_20" WHERE "vote_percentage"='15.0%'; | 1-26375386-20 |
What is the least place when the couple is Keiron & Brianne? | CREATE TABLE "average_score_chart" (
"rank_by_average" real,
"place" real,
"couple" text,
"total_points" text,
"number_of_dances" real,
"average" text
); | SELECT MIN("place") FROM "average_score_chart" WHERE "couple"='Keiron & Brianne'; | 1-26375386-28 |
How many numbers of dances for place 1? | CREATE TABLE "average_score_chart" (
"rank_by_average" real,
"place" real,
"couple" text,
"total_points" text,
"number_of_dances" real,
"average" text
); | SELECT COUNT("number_of_dances") FROM "average_score_chart" WHERE "place"=1; | 1-26375386-28 |
How many ranks by average when Keiron & Brianne are the couple? | CREATE TABLE "average_score_chart" (
"rank_by_average" real,
"place" real,
"couple" text,
"total_points" text,
"number_of_dances" real,
"average" text
); | SELECT COUNT("rank_by_average") FROM "average_score_chart" WHERE "couple"='Keiron & Brianne'; | 1-26375386-28 |
What is every average when number of dances is 1? | CREATE TABLE "average_score_chart" (
"rank_by_average" real,
"place" real,
"couple" text,
"total_points" text,
"number_of_dances" real,
"average" text
); | SELECT "average" FROM "average_score_chart" WHERE "number_of_dances"=1; | 1-26375386-28 |
How many ranks by average for the couple Tana and Stuart? | CREATE TABLE "average_score_chart" (
"rank_by_average" real,
"place" real,
"couple" text,
"total_points" text,
"number_of_dances" real,
"average" text
); | SELECT COUNT("rank_by_average") FROM "average_score_chart" WHERE "couple"='Tana and Stuart'; | 1-26375386-28 |
Name the rank for mikey and melanie | CREATE TABLE "table1_26375386_22" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
); | SELECT "rank" FROM "table1_26375386_22" WHERE "couple"='Mikey and Melanie'; | 1-26375386-22 |
Name the public for mikey and melanie | CREATE TABLE "table1_26375386_22" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
); | SELECT "public" FROM "table1_26375386_22" WHERE "couple"='Mikey and Melanie'; | 1-26375386-22 |
Name the judges for 4 public | CREATE TABLE "table1_26375386_22" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
); | SELECT "judges" FROM "table1_26375386_22" WHERE "public"=4; | 1-26375386-22 |
Name the total number for 3 public | CREATE TABLE "table1_26375386_22" (
"rank" real,
"couple" text,
"judges" real,
"public" real,
"total" real,
"vote_percentage" text,
"result" text
); | SELECT COUNT("total") FROM "table1_26375386_22" WHERE "public"=3; | 1-26375386-22 |
What is the number of directors for the film title Eldra? | CREATE TABLE "table1_26385848_1" (
"year_ceremony" text,
"film_title" text,
"main_language_s" text,
"director" text,
"result" text
); | SELECT COUNT("director") FROM "table1_26385848_1" WHERE "film_title"='Eldra'; | 1-26385848-1 |
What is the year (ceremony) for the film title Eldra? | CREATE TABLE "table1_26385848_1" (
"year_ceremony" text,
"film_title" text,
"main_language_s" text,
"director" text,
"result" text
); | SELECT "year_ceremony" FROM "table1_26385848_1" WHERE "film_title"='Eldra'; | 1-26385848-1 |
Who is the director for the film title Eldra? | CREATE TABLE "table1_26385848_1" (
"year_ceremony" text,
"film_title" text,
"main_language_s" text,
"director" text,
"result" text
); | SELECT "director" FROM "table1_26385848_1" WHERE "film_title"='Eldra'; | 1-26385848-1 |
In the year (ceremony) 1998 (71st), what are all the main languages? | CREATE TABLE "table1_26385848_1" (
"year_ceremony" text,
"film_title" text,
"main_language_s" text,
"director" text,
"result" text
); | SELECT "main_language_s" FROM "table1_26385848_1" WHERE "year_ceremony"='1998 (71st)'; | 1-26385848-1 |
In the year (ceremony) 2009 (82nd), who are all the directors? | CREATE TABLE "table1_26385848_1" (
"year_ceremony" text,
"film_title" text,
"main_language_s" text,
"director" text,
"result" text
); | SELECT "director" FROM "table1_26385848_1" WHERE "year_ceremony"='2009 (82nd)'; | 1-26385848-1 |
In the year (ceremony) 1995 (68th), what is the film title? | CREATE TABLE "table1_26385848_1" (
"year_ceremony" text,
"film_title" text,
"main_language_s" text,
"director" text,
"result" text
); | SELECT "film_title" FROM "table1_26385848_1" WHERE "year_ceremony"='1995 (68th)'; | 1-26385848-1 |
If the country of Origin is South Africa, who is the primary user? | CREATE TABLE "table1_26389588_1" (
"name_designation" text,
"year_of_introduction" text,
"country_of_origin" text,
"primary_cartridge" text,
"primary_user" text
); | SELECT "primary_user" FROM "table1_26389588_1" WHERE "country_of_origin"='South Africa'; | 1-26389588-1 |
If the Country of Origin is Denmark and the year of introduction is 1962, what is the primary cartridge? | CREATE TABLE "table1_26389588_1" (
"name_designation" text,
"year_of_introduction" text,
"country_of_origin" text,
"primary_cartridge" text,
"primary_user" text
); | SELECT "primary_cartridge" FROM "table1_26389588_1" WHERE "year_of_introduction"='1962' AND "country_of_origin"='Denmark'; | 1-26389588-1 |
How many different years was the name/designation cetme? | CREATE TABLE "table1_26389588_1" (
"name_designation" text,
"year_of_introduction" text,
"country_of_origin" text,
"primary_cartridge" text,
"primary_user" text
); | SELECT COUNT("year_of_introduction") FROM "table1_26389588_1" WHERE "name_designation"='CETME'; | 1-26389588-1 |
If the country of origin is switzerland, what is the name/ designation? | CREATE TABLE "table1_26389588_1" (
"name_designation" text,
"year_of_introduction" text,
"country_of_origin" text,
"primary_cartridge" text,
"primary_user" text
); | SELECT "name_designation" FROM "table1_26389588_1" WHERE "country_of_origin"='Switzerland'; | 1-26389588-1 |
How many singles does Lisa Stansfield have? | CREATE TABLE "table1_26400075_2" (
"entered_a" text,
"weeks_in_top_10" real,
"single" text,
"artist" text,
"peak" real,
"peak_reached_a" text,
"weeks_at_peak" real
); | SELECT COUNT("single") FROM "table1_26400075_2" WHERE "artist"='Lisa Stansfield'; | 1-26400075-2 |
How many weeks in the top-10 did Beats International have? | CREATE TABLE "table1_26400075_2" (
"entered_a" text,
"weeks_in_top_10" real,
"single" text,
"artist" text,
"peak" real,
"peak_reached_a" text,
"weeks_at_peak" real
); | SELECT "weeks_in_top_10" FROM "table1_26400075_2" WHERE "artist"='Beats International'; | 1-26400075-2 |
Name the final score for barcelona dragons | CREATE TABLE "table1_26401898_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
); | SELECT "final_score" FROM "table1_26401898_2" WHERE "opponent"='Barcelona Dragons'; | 1-26401898-2 |
Name the least week for l 26–42 | CREATE TABLE "table1_26401898_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
); | SELECT MIN("week") FROM "table1_26401898_2" WHERE "final_score"='L 26–42'; | 1-26401898-2 |
Name the game site for l 26–42 | CREATE TABLE "table1_26401898_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
); | SELECT "game_site" FROM "table1_26401898_2" WHERE "final_score"='L 26–42'; | 1-26401898-2 |
Name the most attendance | CREATE TABLE "table1_26401898_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
); | SELECT MIN("attendance") FROM "table1_26401898_2"; | 1-26401898-2 |
What is the elected year when the 2010 candidates were jesse stone (r) 93.51 diane evans (i) 6.49%? | CREATE TABLE "election_results" (
"district" real,
"incumbent" text,
"party" text,
"elected" text,
"status" text,
"2010_candidates" text
); | SELECT "elected" FROM "election_results" WHERE "2010_candidates"='Jesse Stone (R) 93.51 Diane Evans (I) 6.49%'; | 1-26416704-1 |
What is the party when 2010 candidates is gloria butler (d) unopposed? | CREATE TABLE "election_results" (
"district" real,
"incumbent" text,
"party" text,
"elected" text,
"status" text,
"2010_candidates" text
); | SELECT "party" FROM "election_results" WHERE "2010_candidates"='Gloria Butler (D) unopposed'; | 1-26416704-1 |
How many times were the 2010 candidates Judson hill (r) unopposed? | CREATE TABLE "election_results" (
"district" real,
"incumbent" text,
"party" text,
"elected" text,
"status" text,
"2010_candidates" text
); | SELECT COUNT("elected") FROM "election_results" WHERE "2010_candidates"='Judson Hill (R) unopposed'; | 1-26416704-1 |
What is the elected year when the party is democratic and the 2010 candidates is jason carter (d) unopposed? | CREATE TABLE "election_results" (
"district" real,
"incumbent" text,
"party" text,
"elected" text,
"status" text,
"2010_candidates" text
); | SELECT "elected" FROM "election_results" WHERE "party"='Democratic' AND "2010_candidates"='Jason Carter (D) unopposed'; | 1-26416704-1 |
Who is the incumbent when the elected year is 2004, the status is re-elected and the party is republican? | CREATE TABLE "election_results" (
"district" real,
"incumbent" text,
"party" text,
"elected" text,
"status" text,
"2010_candidates" text
); | SELECT "incumbent" FROM "election_results" WHERE "elected"='2004' AND "status"='Re-elected' AND "party"='Republican'; | 1-26416704-1 |
what number is the episode "there will be bad blood" in the series? | CREATE TABLE "table1_26409328_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT MIN("no_in_series") FROM "table1_26409328_1" WHERE "title"='\"There Will Be Bad Blood\"'; | 1-26409328-1 |
who wrote the episode having joe daniello as director with production code 6ajn05? | CREATE TABLE "table1_26409328_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "written_by" FROM "table1_26409328_1" WHERE "directed_by"='Joe Daniello' AND "production_code"='6AJN05'; | 1-26409328-1 |
what title was given to the episode with production code 6ajn08? | CREATE TABLE "table1_26409328_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "title" FROM "table1_26409328_1" WHERE "production_code"='6AJN08'; | 1-26409328-1 |
what is the production code of the episode viewed by 5.36 million u.s. people? | CREATE TABLE "table1_26409328_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "production_code" FROM "table1_26409328_1" WHERE "u_s_viewers_millions"='5.36'; | 1-26409328-1 |
How many cast members had sydney walker as their fresh meat partner? | CREATE TABLE "cast" (
"alumni" text,
"original_season" text,
"fresh_meat_partner" text,
"age" real,
"hometown" text,
"finish" text
); | SELECT COUNT("hometown") FROM "cast" WHERE "fresh_meat_partner"='Sydney Walker'; | 1-26419467-1 |
What alumni had noor jehangir as their fresh meat partner? | CREATE TABLE "cast" (
"alumni" text,
"original_season" text,
"fresh_meat_partner" text,
"age" real,
"hometown" text,
"finish" text
); | SELECT "alumni" FROM "cast" WHERE "fresh_meat_partner"='Noor Jehangir'; | 1-26419467-1 |
What alumni were in rw: cancun as their original season? | CREATE TABLE "cast" (
"alumni" text,
"original_season" text,
"fresh_meat_partner" text,
"age" real,
"hometown" text,
"finish" text
); | SELECT "alumni" FROM "cast" WHERE "original_season"='RW: Cancun'; | 1-26419467-1 |
How many people were from portland, or? | CREATE TABLE "cast" (
"alumni" text,
"original_season" text,
"fresh_meat_partner" text,
"age" real,
"hometown" text,
"finish" text
); | SELECT COUNT("age") FROM "cast" WHERE "hometown"='Portland, OR'; | 1-26419467-1 |
What conference is Tennessee? | CREATE TABLE "table1_26423157_2" (
"school" text,
"record" text,
"conference" text,
"conf_record" text,
"last_app" real,
"seed" text,
"round_eliminated" text,
"lost_to_seed" text
); | SELECT "conference" FROM "table1_26423157_2" WHERE "school"='Tennessee'; | 1-26423157-2 |
What seed was California? | CREATE TABLE "table1_26423157_2" (
"school" text,
"record" text,
"conference" text,
"conf_record" text,
"last_app" real,
"seed" text,
"round_eliminated" text,
"lost_to_seed" text
); | SELECT "seed" FROM "table1_26423157_2" WHERE "school"='California'; | 1-26423157-2 |
What is the ε (m −1 cm −1 ) of the red dye? | CREATE TABLE "table1_26428602_1" (
"fluorescent_dye" text,
"color" text,
"mass_g_mol" real,
"absorb_nm" real,
"emit_nm" real,
"m_1_cm_1" text
); | SELECT "m_1_cm_1" FROM "table1_26428602_1" WHERE "color"='red'; | 1-26428602-1 |
How much absorption in nm does the orange dye have? | CREATE TABLE "table1_26428602_1" (
"fluorescent_dye" text,
"color" text,
"mass_g_mol" real,
"absorb_nm" real,
"emit_nm" real,
"m_1_cm_1" text
); | SELECT MIN("absorb_nm") FROM "table1_26428602_1" WHERE "color"='orange'; | 1-26428602-1 |
What is the ε (m −1 cm −1 ) of the orange flourescent dye? | CREATE TABLE "table1_26428602_1" (
"fluorescent_dye" text,
"color" text,
"mass_g_mol" real,
"absorb_nm" real,
"emit_nm" real,
"m_1_cm_1" text
); | SELECT "m_1_cm_1" FROM "table1_26428602_1" WHERE "color"='orange'; | 1-26428602-1 |
What is the lowest dye absoprtion in nm? | CREATE TABLE "table1_26428602_1" (
"fluorescent_dye" text,
"color" text,
"mass_g_mol" real,
"absorb_nm" real,
"emit_nm" real,
"m_1_cm_1" text
); | SELECT MIN("absorb_nm") FROM "table1_26428602_1"; | 1-26428602-1 |
What is the name of chapter 8 of season 4? | CREATE TABLE "table1_26429771_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" text
); | SELECT "title" FROM "table1_26429771_1" WHERE "no_in_season"=8; | 1-26429771-1 |
What is the code of production in the chapter "high top fade-out" | CREATE TABLE "table1_26429771_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_million" text
); | SELECT COUNT("production_code") FROM "table1_26429771_1" WHERE "title"='\"High Top Fade-Out\"'; | 1-26429771-1 |
Who directed the episode entitled "From the Earth to the Starbucks"? | CREATE TABLE "table1_26429543_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
); | SELECT "directed_by" FROM "table1_26429543_1" WHERE "title"='\"From the Earth to the Starbucks\"'; | 1-26429543-1 |
How many different production codes are there for the episode with 4.69 million US viewers? | CREATE TABLE "table1_26429543_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
); | SELECT COUNT("production_code") FROM "table1_26429543_1" WHERE "u_s_viewers_millions"='4.69'; | 1-26429543-1 |
Who was in the 2005 film with the role mark cohen? | CREATE TABLE "cast" (
"role" text,
"original_broadway_cast" text,
"2005_film" text,
"2008_final_performance_film" text,
"hollywood_bowl_cast" text,
"2011_off_broadway_revival" text
); | SELECT "2005_film" FROM "cast" WHERE "role"='Mark Cohen'; | 1-26436-2 |
Who had the 2008 final performance film when the 2011 off-broadway revival was annaleigh ashford? | CREATE TABLE "cast" (
"role" text,
"original_broadway_cast" text,
"2005_film" text,
"2008_final_performance_film" text,
"hollywood_bowl_cast" text,
"2011_off_broadway_revival" text
); | SELECT "2008_final_performance_film" FROM "cast" WHERE "2011_off_broadway_revival"='Annaleigh Ashford'; | 1-26436-2 |
who was in the 2005 role when the original broadway cast was played by jesse l. martin? | CREATE TABLE "cast" (
"role" text,
"original_broadway_cast" text,
"2005_film" text,
"2008_final_performance_film" text,
"hollywood_bowl_cast" text,
"2011_off_broadway_revival" text
); | SELECT "2005_film" FROM "cast" WHERE "original_broadway_cast"='Jesse L. Martin'; | 1-26436-2 |
How many times was mj rodriguez cast? | CREATE TABLE "cast" (
"role" text,
"original_broadway_cast" text,
"2005_film" text,
"2008_final_performance_film" text,
"hollywood_bowl_cast" text,
"2011_off_broadway_revival" text
); | SELECT COUNT("role") FROM "cast" WHERE "2011_off_broadway_revival"='MJ Rodriguez'; | 1-26436-2 |
Who wrote the episode that is production code 202? | CREATE TABLE "table1_26448179_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "written_by" FROM "table1_26448179_3" WHERE "production_code"='202'; | 1-26448179-3 |
How many millions of US viewers watched "Helen Back Again"? | CREATE TABLE "table1_26448179_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "u_s_viewers_millions" FROM "table1_26448179_3" WHERE "title"='\"Helen Back Again\"'; | 1-26448179-3 |
What title was watched by 3.8 million US viewers? | CREATE TABLE "table1_26448179_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "title" FROM "table1_26448179_3" WHERE "u_s_viewers_millions"='3.8'; | 1-26448179-3 |
What is the original air date of "Helen Back Again"? | CREATE TABLE "table1_26448179_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "original_air_date" FROM "table1_26448179_3" WHERE "title"='\"Helen Back Again\"'; | 1-26448179-3 |
What season number in the season has production code 210? | CREATE TABLE "table1_26448179_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT MIN("no_in_season") FROM "table1_26448179_3" WHERE "production_code"='210'; | 1-26448179-3 |
He wrote production number 102? | CREATE TABLE "table1_26448179_2" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_millions" text
); | SELECT "written_by" FROM "table1_26448179_2" WHERE "production_code"='102'; | 1-26448179-2 |
What is the title of the episode watched by 3.2 million viewers? | CREATE TABLE "table1_26448179_4" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
); | SELECT "title" FROM "table1_26448179_4" WHERE "u_s_viewers_millions"='3.2'; | 1-26448179-4 |
What is the title of the episode with production code 305? | CREATE TABLE "table1_26448179_4" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
); | SELECT "title" FROM "table1_26448179_4" WHERE "production_code"=305; | 1-26448179-4 |
How many air dates had 3.2 million viewers? | CREATE TABLE "table1_26448179_4" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
); | SELECT COUNT("original_air_date") FROM "table1_26448179_4" WHERE "u_s_viewers_millions"='3.2'; | 1-26448179-4 |
What is the highest production code? | CREATE TABLE "table1_26448179_4" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
); | SELECT MAX("production_code") FROM "table1_26448179_4"; | 1-26448179-4 |
What are the point value(s) for when the athlete was Barney Berlinger? | CREATE TABLE "javelin_throw" (
"rank" real,
"athlete" text,
"country" text,
"distance_metres" text,
"points" text,
"adjusted_points" real
); | SELECT "points" FROM "javelin_throw" WHERE "athlete"='Barney Berlinger'; | 1-26454128-9 |
What is the total number of times points were listed when the distance was 41.05 metres? | CREATE TABLE "javelin_throw" (
"rank" real,
"athlete" text,
"country" text,
"distance_metres" text,
"points" text,
"adjusted_points" real
); | SELECT COUNT("points") FROM "javelin_throw" WHERE "distance_metres"='41.05'; | 1-26454128-9 |
Who is the athlete(s) who scored 691 adjusted points? | CREATE TABLE "javelin_throw" (
"rank" real,
"athlete" text,
"country" text,
"distance_metres" text,
"points" text,
"adjusted_points" real
); | SELECT "athlete" FROM "javelin_throw" WHERE "adjusted_points"=691; | 1-26454128-9 |
What is the highest rank where the distance is 52.73? | CREATE TABLE "javelin_throw" (
"rank" real,
"athlete" text,
"country" text,
"distance_metres" text,
"points" text,
"adjusted_points" real
); | SELECT MAX("rank") FROM "javelin_throw" WHERE "distance_metres"='52.73'; | 1-26454128-9 |
What is the country(s) where the points equal 723.075? | CREATE TABLE "javelin_throw" (
"rank" real,
"athlete" text,
"country" text,
"distance_metres" text,
"points" text,
"adjusted_points" real
); | SELECT "country" FROM "javelin_throw" WHERE "points"='723.075'; | 1-26454128-9 |
What is the most adjusted points for Great Britain? | CREATE TABLE "high_jump" (
"rank" real,
"athlete" text,
"country" text,
"height" text,
"points" real,
"adjusted_points" real
); | SELECT MAX("adjusted_points") FROM "high_jump" WHERE "country"='Great Britain'; | 1-26454128-4 |
What is the country of Paavo Yrjölä? | CREATE TABLE "high_jump" (
"rank" real,
"athlete" text,
"country" text,
"height" text,
"points" real,
"adjusted_points" real
); | SELECT "country" FROM "high_jump" WHERE "athlete"='Paavo Yrjölä'; | 1-26454128-4 |
Which athlete has a height of 1.87 and is from Sweden? | CREATE TABLE "high_jump" (
"rank" real,
"athlete" text,
"country" text,
"height" text,
"points" real,
"adjusted_points" real
); | SELECT "athlete" FROM "high_jump" WHERE "height"='1.87' AND "country"='Sweden'; | 1-26454128-4 |
Name the country that has ken doherty | CREATE TABLE "discus_throw" (
"rank" real,
"athlete" text,
"country" text,
"distance_metres" text,
"points" text,
"adjusted_points" real
); | SELECT "country" FROM "discus_throw" WHERE "athlete"='Ken Doherty'; | 1-26454128-7 |
Name the athlete for 7 rank | CREATE TABLE "discus_throw" (
"rank" real,
"athlete" text,
"country" text,
"distance_metres" text,
"points" text,
"adjusted_points" real
); | SELECT "athlete" FROM "discus_throw" WHERE "rank"=7; | 1-26454128-7 |
Name the total number of rank for tom churchill | CREATE TABLE "discus_throw" (
"rank" real,
"athlete" text,
"country" text,
"distance_metres" text,
"points" text,
"adjusted_points" real
); | SELECT COUNT("rank") FROM "discus_throw" WHERE "athlete"='Tom Churchill'; | 1-26454128-7 |
Who was the heir when the monarch was Wareru? | CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succession" text
); | SELECT "heir" FROM "list_of_heirs_to_the_burmese_thrones" WHERE "monarch"='Wareru'; | 1-26460435-5 |
What is the number of monarchs that had Yan Maw la Mon as the heir? | CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succession" text
); | SELECT COUNT("monarch") FROM "list_of_heirs_to_the_burmese_thrones" WHERE "heir"='Yan Maw La Mon'; | 1-26460435-5 |
Who was the monarch whose status was heir presumptive and a relationship to the monarch of son? | CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succession" text
); | SELECT "monarch" FROM "list_of_heirs_to_the_burmese_thrones" WHERE "status"='Heir presumptive' AND "relationship_to_monarch"='son'; | 1-26460435-5 |
What is the status for the monarch Mingyinyo? | CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succession" text
); | SELECT "status" FROM "list_of_heirs_to_the_burmese_thrones" WHERE "monarch"='Mingyinyo'; | 1-26460435-7 |
What is the status when the ceased to be heir; reason is 18 february 1853 succeeded? | CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succession" text
); | SELECT "status" FROM "list_of_heirs_to_the_burmese_thrones" WHERE "ceased_to_be_heir_reason"='18 February 1853 succeeded'; | 1-26460435-8 |
When is the became heir; reason when heir is hsinbyushin? | CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succession" text
); | SELECT "became_heir_reason" FROM "list_of_heirs_to_the_burmese_thrones" WHERE "heir"='Hsinbyushin'; | 1-26460435-8 |
Who is the monarch when became heir; reason is 13 july 1783 father succeeded? | CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succession" text
); | SELECT "monarch" FROM "list_of_heirs_to_the_burmese_thrones" WHERE "became_heir_reason"='13 July 1783 father succeeded'; | 1-26460435-8 |
How many times was the monarch singu? | CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succession" text
); | SELECT COUNT("relationship_to_monarch") FROM "list_of_heirs_to_the_burmese_thrones" WHERE "monarch"='Singu'; | 1-26460435-8 |
Who is the monarch with the heir thado minsaw? | CREATE TABLE "list_of_heirs_to_the_burmese_thrones" (
"monarch" text,
"heir" text,
"status" text,
"relationship_to_monarch" text,
"became_heir_reason" text,
"ceased_to_be_heir_reason" text,
"next_in_succession" text
); | SELECT "monarch" FROM "list_of_heirs_to_the_burmese_thrones" WHERE "heir"='Thado Minsaw'; | 1-26460435-8 |
Who are the writers of the episodes directed by Justin Hartley? | CREATE TABLE "table1_26464364_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "written_by" FROM "table1_26464364_1" WHERE "directed_by"='Justin Hartley'; | 1-26464364-1 |
On which date did episode # 18 air in the U.S.? | CREATE TABLE "table1_26464364_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "u_s_air_date" FROM "table1_26464364_1" WHERE "num"=18; | 1-26464364-1 |
How many million U.S. viewers watched the episode with the production code 3x6004? | CREATE TABLE "table1_26464364_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "u_s_viewers_million" FROM "table1_26464364_1" WHERE "production_code"='3X6004'; | 1-26464364-1 |
List the titles of episodes written by Anne Cofell Saunders. | CREATE TABLE "table1_26464364_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "title" FROM "table1_26464364_1" WHERE "written_by"='Anne Cofell Saunders'; | 1-26464364-1 |
What is the title of the episode directed by Christopher Petry with the production cod 3x6006? | CREATE TABLE "table1_26464364_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_air_date" text,
"production_code" text,
"u_s_viewers_million" text
); | SELECT "title" FROM "table1_26464364_1" WHERE "directed_by"='Christopher Petry' AND "production_code"='3X6006'; | 1-26464364-1 |
Who was the incumbent in the Ohio 10 district? | CREATE TABLE "ohio" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "incumbent" FROM "ohio" WHERE "district"='Ohio 10'; | 1-2646656-3 |
Who was the incumbent in the Ohio 5 district? | CREATE TABLE "ohio" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "incumbent" FROM "ohio" WHERE "district"='Ohio 5'; | 1-2646656-3 |
Who were the candidates where the result was retired Republican hold and the incumbent was Philemon Bliss? | CREATE TABLE "ohio" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"result" text,
"candidates" text
); | SELECT "candidates" FROM "ohio" WHERE "result"='Retired Republican hold' AND "incumbent"='Philemon Bliss'; | 1-2646656-3 |
How many new conferences are in the NCLL deep south conference? | CREATE TABLE "former_members" (
"institution" text,
"location" text,
"team_nickname" text,
"years" text,
"new_conference" text,
"new_classification" text
); | SELECT COUNT("new_conference") FROM "former_members" WHERE "new_classification"='NCLL Deep South Conference'; | 1-26476336-2 |
What is the nickname at the University of Nebraska at Omaha? | CREATE TABLE "former_members" (
"institution" text,
"location" text,
"team_nickname" text,
"years" text,
"new_conference" text,
"new_classification" text
); | SELECT "team_nickname" FROM "former_members" WHERE "institution"='University of Nebraska at Omaha'; | 1-26476336-2 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.