text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_16" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" real,
"date" text,
"report" text
);
Question: what report was in gee... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
Question: What is the date for the game played on week 8, with an attendance of more than 35,000?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "defunct_museums" (
"name" text,
"town_city" text,
"borough" text,
"region" text,
"type" text
);
Question: In what Town/City is Nana Museum of The Arctic located?
<|assistant|>
SELECT "town_city... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "defunct_museums" (
"name" text,
"town_city" text,
"borough" text,
"region" text,
"type" text
);
Question: What is the Name of the Multiple Type museum in Anchorage?
<|assistant|>
SELECT "name" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "defunct_museums" (
"name" text,
"town_city" text,
"borough" text,
"region" text,
"type" text
);
Question: In what Borough is the Anchorage museum of Natural History?
<|assistant|>
SELECT "name"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "defunct_museums" (
"name" text,
"town_city" text,
"borough" text,
"region" text,
"type" text
);
Question: In what Region is the Native American museum in Anchorage?
<|assistant|>
SELECT "region... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "defunct_museums" (
"name" text,
"town_city" text,
"borough" text,
"region" text,
"type" text
);
Question: What Type of museum is the Valdez museum?
<|assistant|>
SELECT "type" FROM "defunct_mus... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "defunct_museums" (
"name" text,
"town_city" text,
"borough" text,
"region" text,
"type" text
);
Question: In what Borough is the History Type Fairbanks Community Museum?
<|assistant|>
SELECT "b... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "counties" (
"in_no" real,
"county_name" text,
"county_seat" text,
"time_zone" text,
"population_2010_rank" text,
"area_sq_mi_km_2_rank" text,
"twps" real,
"zip_code_prefix_es" text,
"pct... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_tour_wins_14" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: Which tournament was held on 9 Jun 2002?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_tour_wins_14" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: What is the winning score with a margin of victory of 4 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_tour_wins_14" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: Who is the runner-up where the winning score is β8 (71-6... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_tour_wins_14" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: What is the winning score for Tournament of linde german... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_tour_wins_14" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: Who is runner-up where the winning score is β6 (65-70-70... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_tour_wins_14" (
"date" text,
"tournament" text,
"winning_score" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: What is the winning score where the runner-up is Robert-... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_wins" (
"date" text,
"tournament" text,
"tier" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
Question: When David McNamara was the opponent in the final, what wa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_americas" (
"rank" real,
"country" text,
"international_tourist_arrivals_2012" text,
"international_tourist_arrivals_2011" text,
"change_2011_to_2012" text,
"change_2010_to_2011" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_americas" (
"rank" real,
"country" text,
"international_tourist_arrivals_2012" text,
"international_tourist_arrivals_2011" text,
"change_2011_to_2012" text,
"change_2010_to_2011" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"distance" text
);
Question: How far Venue of seoul, south korea is?
<|assistant|>
SELECT "distance" FROM "achieveme... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"distance" text
);
Question: Which Venue has a Tournament of olympic games with a Result of 4th?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"distance" text
);
Question: What is the Result of Venue of edmonton, canada?
<|assistant|>
SELECT "result" FROM "ac... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_of_16" (
"team_1" text,
"agg" text,
"team_2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: What is the 1st leg of Team 2 PSV Eindhoven?
<|assistant|>
SELECT "1st_leg" FROM "round_of_1... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text
);
Question: Which opponent was played at Forbes Field after week 4?
<|assistant|>
SELECT "opponent" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text
);
Question: Which opponent was played on week 9?
<|assistant|>
SELECT "opponent" FROM "schedule" WHERE "w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text
);
Question: What was the date of the game played at Fenway Park?
<|assistant|>
SELECT "date" FROM "schedu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "inter_cities_fairs_cup_uefa_cup_uefa_eur" (
"year" text,
"team" text,
"progress" text,
"score" text,
"opponents" text
);
Question: Which Opponents have a Year of 1998β99, and a Team of aston vi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "inter_cities_fairs_cup_uefa_cup_uefa_eur" (
"year" text,
"team" text,
"progress" text,
"score" text,
"opponents" text
);
Question: Which Score has Opponents of valencia, and a Year of 2011β12?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "inter_cities_fairs_cup_uefa_cup_uefa_eur" (
"year" text,
"team" text,
"progress" text,
"score" text,
"opponents" text
);
Question: Which Opponents have a Team of arsenal, and a Year of 1963β64?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "inter_cities_fairs_cup_uefa_cup_uefa_eur" (
"year" text,
"team" text,
"progress" text,
"score" text,
"opponents" text
);
Question: Which Opponents have a Year of 1999β2000, and a Team of leeds ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "inter_cities_fairs_cup_uefa_cup_uefa_eur" (
"year" text,
"team" text,
"progress" text,
"score" text,
"opponents" text
);
Question: Which Opponents have a Score of 1β2, and a Team of arsenal, an... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bischofshofen_5_january" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_fht_points" text,
"overall_wc_points_rank" text
);
Question: H... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bischofshofen_5_january" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_fht_points" text,
"overall_wc_points_rank" text
);
Question: H... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bischofshofen_5_january" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_fht_points" text,
"overall_wc_points_rank" text
);
Question: W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bischofshofen_5_january" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_fht_points" text,
"overall_wc_points_rank" text
);
Question: W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_3_1996" (
"episode_no" text,
"episode_title" text,
"uk_broadcast_date" text,
"presenter" text,
"countries_visited" text
);
Question: What is the UK broadcast date of the episode where Ch... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_3_1996" (
"episode_no" text,
"episode_title" text,
"uk_broadcast_date" text,
"presenter" text,
"countries_visited" text
);
Question: What is the episode title of the episode with Ben Okr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_3_1996" (
"episode_no" text,
"episode_title" text,
"uk_broadcast_date" text,
"presenter" text,
"countries_visited" text
);
Question: Who is the presenter of the episode broadcast in the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_3_1996" (
"episode_no" text,
"episode_title" text,
"uk_broadcast_date" text,
"presenter" text,
"countries_visited" text
);
Question: What is the UK broadcast date of the episode with Ben... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "february" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
);
Question: What was the score when the team played at the bobcats?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "february" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"record" text
);
Question: What was the score when the Spurs' record was 43-13?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gost_7_67_94" (
"country_name" text,
"russian_name" text,
"cyrillic_code" text,
"latin_3_letter_code" text,
"latin_2_letter_code" text,
"numeric_code" real
);
Question: What is the country's ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gost_7_67_94" (
"country_name" text,
"russian_name" text,
"cyrillic_code" text,
"latin_3_letter_code" text,
"latin_2_letter_code" text,
"numeric_code" real
);
Question: What is the Russian na... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gost_7_67_94" (
"country_name" text,
"russian_name" text,
"cyrillic_code" text,
"latin_3_letter_code" text,
"latin_2_letter_code" text,
"numeric_code" real
);
Question: What is the country na... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "gost_7_67_94" (
"country_name" text,
"russian_name" text,
"cyrillic_code" text,
"latin_3_letter_code" text,
"latin_2_letter_code" text,
"numeric_code" real
);
Question: What is the Cyrillic c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dansk_melodi_grand_prix_2008" (
"draw" real,
"artist" text,
"song" text,
"points" real,
"place" real
);
Question: Name the least place for draw more than 3 and points of 8
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "dansk_melodi_grand_prix_2008" (
"draw" real,
"artist" text,
"song" text,
"points" real,
"place" real
);
Question: Name the song for points less than 16 and draw less than 3
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "longest_run_at_number_one" (
"position" text,
"artist" text,
"single" text,
"year" text,
"weeks" text
);
Question: what is the single of the queen
<|assistant|>
SELECT "single" FROM "longest_ru... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "longest_run_at_number_one" (
"position" text,
"artist" text,
"single" text,
"year" text,
"weeks" text
);
Question: what artist won in 1953
<|assistant|>
SELECT "artist" FROM "longest_run_at_num... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "longest_run_at_number_one" (
"position" text,
"artist" text,
"single" text,
"year" text,
"weeks" text
);
Question: what year did david whitfield win
<|assistant|>
SELECT "year" FROM "longest_ru... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "garmisch_partenkirchen" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_fht_points" text,
"overall_wc_points_rank" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "garmisch_partenkirchen" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_fht_points" text,
"overall_wc_points_rank" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "garmisch_partenkirchen" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_fht_points" text,
"overall_wc_points_rank" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "garmisch_partenkirchen" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" real,
"2nd_m" real,
"points" real,
"overall_fht_points" text,
"overall_wc_points_rank" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"winner_s_share" text
);
Question: What is the winners share ($) that has atlanta classic a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tournament_results" (
"date" text,
"tournament" text,
"location" text,
"winner" text,
"score" text,
"winner_s_share" text
);
Question: What is the winners share ($) that has u.s. open as the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"november" real,
"opponent" text,
"score" text,
"record" text,
"points" real
);
Question: How many points was before game 14?
<|assistant|>
SELECT SUM("points")... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"november" real,
"opponent" text,
"score" text,
"record" text,
"points" real
);
Question: What is the average points on November 6?
<|assistant|>
SELECT AVG("po... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: Which average's against scor... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: How many positions had a dif... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the smallest lost wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the largest played n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneio_rio_s_o_paulo" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the mean drawn when ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners_of_the_orchid_handicap_since_199" (
"year" real,
"winner" text,
"jockey" text,
"trainer" text,
"owner" text,
"time" text
);
Question: what is the winner of meridiana
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"number" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"class" text,
"hometown" text
);
Question: Number of 13 that has what highest weight?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"number" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"class" text,
"hometown" text
);
Question: Weight of 220 has what class?
<|assistant|>
SELECT "class" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"number" real,
"name" text,
"position" text,
"height" text,
"weight" real,
"class" text,
"hometown" text
);
Question: Name of byron geis, and a Weight smaller than 195 involves wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "march" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: What was the record on March 22?
<|assistant|>
SELECT "record" FROM "march" WHERE "date"='march 22';<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"game" real,
"february" real,
"opponent" text,
"score" text,
"record" text
);
Question: What day in february was game 53?
<|assistant|>
SELECT AVG("february") FROM "sche... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule_and_results" (
"game" real,
"february" real,
"opponent" text,
"score" text,
"record" text
);
Question: What is the team's record on februrary 23?
<|assistant|>
SELECT "record" FROM "sc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "malta_in_the_eurovision_song_contest_200" (
"draw" real,
"artist" text,
"song" text,
"jury" real,
"televote" real,
"total" real,
"place" real
);
Question: Which Place is the lowest one that... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_international_formula_3000_resu" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: with lola t86/50 chassis and less than 7 points what is the en... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_international_formula_3000_resu" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: after 1987 and entrant of first racing what is the highest poi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_international_formula_3000_resu" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: with year greater than 1988 what is the total number of points... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_international_formula_3000_resu" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: what is the points total for forti corse?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "iupap_s_uno_proposal" (
"coefficient" text,
"parts_per_example" text,
"uno_equiv" text,
"symbol_form" text,
"value_of_quantity" text
);
Question: What is the Parts-per example of 2Γ10 β6?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "iupap_s_uno_proposal" (
"coefficient" text,
"parts_per_example" text,
"uno_equiv" text,
"symbol_form" text,
"value_of_quantity" text
);
Question: What is the Coefficient of 2 ppt?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"date" text,
"label" text,
"region" text,
"format" text,
"catalog" text
);
Question: what is the format of catalog 865 821-1?
<|assistant|>
SELECT "format" FROM "release_hist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "all_japan_university_rugby_championships" (
"title" text,
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"venue" text,
"attendance" text
);
Question: What season had Kanto Ga... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "all_japan_university_rugby_championships" (
"title" text,
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"venue" text,
"attendance" text
);
Question: What was the title for t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "all_japan_university_rugby_championships" (
"title" text,
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"venue" text,
"attendance" text
);
Question: What season has a runner... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "all_japan_university_rugby_championships" (
"title" text,
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"venue" text,
"attendance" text
);
Question: Who was the winner in th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "all_japan_university_rugby_championships" (
"title" text,
"season" text,
"winner" text,
"score" text,
"runner_up" text,
"venue" text,
"attendance" text
);
Question: Who was the winner in th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text,
"tv_time" text,
"attendance" text
);
Question: what is the date on week 6
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_transmitters" (
"region_served" text,
"city" text,
"channels_analog_digital" text,
"first_air_date" text,
"erp_analog_digital" text,
"haat_analog_digital_1" text,
"transmitter_location"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_transmitters" (
"region_served" text,
"city" text,
"channels_analog_digital" text,
"first_air_date" text,
"erp_analog_digital" text,
"haat_analog_digital_1" text,
"transmitter_location"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_transmitters" (
"region_served" text,
"city" text,
"channels_analog_digital" text,
"first_air_date" text,
"erp_analog_digital" text,
"haat_analog_digital_1" text,
"transmitter_location"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "main_transmitters" (
"region_served" text,
"city" text,
"channels_analog_digital" text,
"first_air_date" text,
"erp_analog_digital" text,
"haat_analog_digital_1" text,
"transmitter_location"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "playoffs" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"series" text
);
Question: What was the series standing for games over 4?
<|assistant|>
SELECT "series" FROM "playoffs" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "playoffs" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"series" text
);
Question: What is the game number held on May 20?
<|assistant|>
SELECT AVG("game") FROM "playoffs" WHERE "d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
Question: What was the score of the game when the Indians ended up with a record of 55... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"loss" text,
"attendance" real,
"record" text
);
Question: On which date did the Indians have a record of 67-58
<|assistant|>
SELECT "d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards_and_nominations" (
"award" text,
"year" real,
"category" text,
"work" text,
"result" text
);
Question: Which Work has a Result of nominated, and an Award of contigo award, and a Year sma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards_and_nominations" (
"award" text,
"year" real,
"category" text,
"work" text,
"result" text
);
Question: How many years have an Award of press award?
<|assistant|>
SELECT COUNT("year") FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards_and_nominations" (
"award" text,
"year" real,
"category" text,
"work" text,
"result" text
);
Question: Which Award has a Year smaller than 2004, and a Work of the clone, and a Result of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards_and_nominations" (
"award" text,
"year" real,
"category" text,
"work" text,
"result" text
);
Question: Which Year is the highest one that has a Work of the clone, and an Award of contigo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1990s" (
"spacecraft" text,
"destination" text,
"launched" text,
"closest_approach" text,
"time_elapsed" text
);
Question: With the Destination of Jupiter and the Closest approach of 4 February... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1990s" (
"spacecraft" text,
"destination" text,
"launched" text,
"closest_approach" text,
"time_elapsed" text
);
Question: What Time elapsed has both the Launched of 15 October 1997 and the Clo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.