text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the score for Ky Laffoon? <|assistant|> SELECT "score" FROM "f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the score of Ralph Guldahl, who has more than $100? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the highest amount of money a play from Scotland United States...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "yearly_results" ( "season" text, "games" real, "lost" real, "points" real, "pct_pct" real, "goals_for" real, "goals_against" real, "standing" text ); Question: How many Goals have a Pct %...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tally" ( "club" text, "matches" real, "wins" real, "draws" real, "losses" real, "record_pct_draw_0_5_wins" real ); Question: What is the draw record (%) total for clubs with more than 3 wins ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tally" ( "club" text, "matches" real, "wins" real, "draws" real, "losses" real, "record_pct_draw_0_5_wins" real ); Question: How many draws, more than 6, does Newcastle Knights have with a re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tally" ( "club" text, "matches" real, "wins" real, "draws" real, "losses" real, "record_pct_draw_0_5_wins" real ); Question: Which club has the most losses with 10 matches played and more tha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_statistics" ( "year" text, "team" text, "number" text, "bb_hbp" real, "ba_place" text ); Question: The year of 1985 which has a BB +HBP of 39 has what Number listed? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_statistics" ( "year" text, "team" text, "number" text, "bb_hbp" real, "ba_place" text ); Question: The year that has a BB + HBP of 51 is listed as? <|assistant|> SELECT "year" FROM "care...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_statistics" ( "year" text, "team" text, "number" text, "bb_hbp" real, "ba_place" text ); Question: In the year 1992 for the Seibu Lions, the BB + HBP which is larger than 49 was this as ...
<|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, "record" text ); Question: What team lost on May 1? <|assistant|> SELECT "loss" FROM "game_log" WHERE "date"='may 1';<|endof...
<|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, "record" text ); Question: What was the final score for the game on May 1? <|assistant|> SELECT "score" FROM "game_log" WHER...
<|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, "record" text ); Question: What was the final score for the game on May 4? <|assistant|> SELECT "score" FROM "game_log" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "career_sr" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "career_sr" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "location" text, "lineup" text, "assist_pass" text, "score" text, "result" text, "competition" text ); Question: WHich competition was held on Alvor with...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: Which name has a Lane of 7? <|assistant|> SELECT "name" FROM "semifinal_1" WHERE "lane"=7;<|en...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: How many lanes have a Nationality of iceland? <|assistant|> SELECT SUM("lane") FROM "semifinal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: What is the smallest rank with a Lane of 1? <|assistant|> SELECT MIN("rank") FROM "semifinal_1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "game" real, "date" text, "score" text, "location" text, "time" text, "attendance" real ); Question: What was the final score of Game 1? <|assistant|> SELECT "score" FROM "summary"...
<|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, "time" text, "att" real, "record" text ); Question: What date has 2:48 as the time? <|assistant|> SELECT "date" FROM "ga...
<|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, "time" text, "att" real, "record" text ); Question: Which record has 2:57 as the time? <|assistant|> SELECT "record" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "drawn" text, "lost" text, "try_bp" text, "losing_bp" text ); Question: Can you tell me the Losing BP that has Played of 22, and the Lost of 5? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "drawn" text, "lost" text, "try_bp" text, "losing_bp" text ); Question: Can you tell the Lost that has the Try BP of 10, and the Club of uwic rf...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "drawn" text, "lost" text, "try_bp" text, "losing_bp" text ); Question: Can you tell me the Club that has the Lost of 19? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "drawn" text, "lost" text, "try_bp" text, "losing_bp" text ); Question: Can you tell me the Lost that has Losing BP of 5, and the Try BP of 0? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "drawn" text, "lost" text, "try_bp" text, "losing_bp" text ); Question: Can you tell me the Played that has the Club of club? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2009_2010_table" ( "club" text, "played" text, "drawn" text, "lost" text, "try_bp" text, "losing_bp" text ); Question: Can you tell me the Club thay has the Try BP of 0? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowl_games" ( "date" text, "bowl" text, "result" text, "points_for" real, "points_against" real ); Question: What date did the Mountaineers score 27 points and their opponent scored more that 7...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "bowl_games" ( "date" text, "bowl" text, "result" text, "points_for" real, "points_against" real ); Question: What was the final result when the Mountaineers scored less than 13 and their oppone...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "single_game" ( "rank" real, "player" text, "county" text, "tally" text, "total" real, "opposition" text ); Question: With a Tally of 0-14, what is the Rank in Kilkenny County? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "single_game" ( "rank" real, "player" text, "county" text, "tally" text, "total" real, "opposition" text ); Question: What County has Dublin as the Opposition? <|assistant|> SELECT "county" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "single_game" ( "rank" real, "player" text, "county" text, "tally" text, "total" real, "opposition" text ); Question: In Limerick County, what is the Rank with a Total larger than 12 and Tippe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "single_game" ( "rank" real, "player" text, "county" text, "tally" text, "total" real, "opposition" text ); Question: What Player in Opposition of Kilkenny has a Total of 10? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: What is the time in Romania that has a lane larger than 4? <|assistant|> SELECT "time" FROM "heats" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: Jin Hao had what amount of heat? <|assistant|> SELECT "heat" FROM "heats" WHERE "name"='jin hao';<|e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heats" ( "heat" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: At time 15:29.69 what was the heat? <|assistant|> SELECT "heat" FROM "heats" WHERE "time"='15:29.69'...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_24_hours_of_le_mans_results" ( "year" real, "team" text, "class" text, "laps" real, "pos" text ); Question: What is the class of the team when less than 6 laps were completed? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_24_hours_of_le_mans_results" ( "year" real, "team" text, "class" text, "laps" real, "pos" text ); Question: What is the year when Scuderia Lancia Corse competed? <|assistant|> SELECT C...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_24_hours_of_le_mans_results" ( "year" real, "team" text, "class" text, "laps" real, "pos" text ); Question: What was the position of the teams before 1973? <|assistant|> SELECT "pos" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_ships" ( "kanji" text, "name" text, "builder" text, "laid_down" text, "launched" text, "completed" text ); Question: What is the laid down date of Kaki? <|assistant|> SELECT "laid_dow...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_ships" ( "kanji" text, "name" text, "builder" text, "laid_down" text, "launched" text, "completed" text ); Question: What is the launch date of 栗? <|assistant|> SELECT "launched" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_ships" ( "kanji" text, "name" text, "builder" text, "laid_down" text, "launched" text, "completed" text ); Question: What is the completed date of 蓬? <|assistant|> SELECT "completed" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: Which catalog was published on December 19, 2001? <|assistant|> SELECT "catalog" FROM "re...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What is the label for October 21, 1981? <|assistant|> SELECT "label" FROM "release_histor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What is the date for Catalog Alca-9201? <|assistant|> SELECT "date" FROM "release_history...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What is the format for July 27, 1994? <|assistant|> SELECT "format" FROM "release_history...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What is the date of the label Alfa records, a CD format, and an alca-9201 catalog? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What catalog has the CD format? <|assistant|> SELECT "catalog" FROM "release_history" WHE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: Which nationaly is ranked greater than 1, with a time of 59.75? <|assistant|> SELECT "national...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: Which france nationality has a lane larger than 3? <|assistant|> SELECT "name" FROM "semifinal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: What's the total rank of the lane smaller than 8 with a time of 59.80? <|assistant|> SELECT SU...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" text ); Question: What's the top rank that's lane is smaller than 1? <|assistant|> SELECT MAX("rank") FROM "semi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_deputy_prime_ministers_of_spain" ( "deputy_prime_minister" text, "took_office" real, "left_office" text, "prime_minister" text, "term" text, "party" text ); Question: What year did de...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_deputy_prime_ministers_of_spain" ( "deputy_prime_minister" text, "took_office" real, "left_office" text, "prime_minister" text, "term" text, "party" text ); Question: Which deputy pri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_deputy_prime_ministers_of_spain" ( "deputy_prime_minister" text, "took_office" real, "left_office" text, "prime_minister" text, "term" text, "party" text ); Question: Which deputy pri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: How many points did Connaught Type A chassis earn on average b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "participating_countries" ( "draw" real, "competing_dancers" text, "dance_styles" text, "rank" real, "points" real ); Question: What is the lowest points with 6 draws and lower than rank 10? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "participating_countries" ( "draw" real, "competing_dancers" text, "dance_styles" text, "rank" real, "points" real ); Question: What is the lowest draw with rank 4? <|assistant|> SELECT MIN("dra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "participating_countries" ( "draw" real, "competing_dancers" text, "dance_styles" text, "rank" real, "points" real ); Question: How many draws has lower than rank 10 in rumba/cha-cha/jazz dance?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "participating_countries" ( "draw" real, "competing_dancers" text, "dance_styles" text, "rank" real, "points" real ); Question: How many draws have rumba/tango dance styles? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What's the sum of the totals for Russia with more than 1 gold and less than 10 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_wins_14" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: what tournament happened on march 27, 2006? <|assistant|> SELECT "tournament" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_wins_14" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: what was the score when scoville jenkins was the opponent? <|assistant|> SELECT "sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_wins_14" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: what was the opponent on november 14, 2005? <|assistant|> SELECT "opponent" FROM "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_wins_14" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: what tournament happened on may 2, 2011? <|assistant|> SELECT "tournament" FROM "si...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_wins_14" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: what tournament had sam querrey as the opponent? <|assistant|> SELECT "tournament" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_wins_14" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: what tournament was on a hard surface and saw jacob adaktusson as the opponent? <|a...
<|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" text ); Question: Who was the opponent on September 17, 1995? <|assistant|> SELECT "opponent" FROM "schedule" ...
<|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" text ); Question: Which week had an attendance of 51,265? <|assistant|> SELECT "week" FROM "schedule" WHERE "a...
<|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" text ); Question: Who was the opponent on December 17, 1995? <|assistant|> SELECT "opponent" FROM "schedule" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text ); Question: Which record has 4:14 as the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text ); Question: Which record has tko (strikes...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text ); Question: Which round has pain and glor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text ); Question: Which record has john flemmin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "time" text, "location" text ); Question: Which record has 5:00 as the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "visitor" text, "result" text, "score" text, "home" text, "record" text, "attendance" real ); Question: Name the date with attendance more than 19,204 and result of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "visitor" text, "result" text, "score" text, "home" text, "record" text, "attendance" real ); Question: Name the score for home of green bay packers <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "visitor" text, "result" text, "score" text, "home" text, "record" text, "attendance" real ); Question: Name the home for 21-17 <|assistant|> SELECT "home" FROM "sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What engine did Scuderia Ambrosiana with fewer than 4 points h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What chassis had fewer than 0 points in a year before 1954? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: What chassis had an entrant of G.A. Vandervell? <|assistant|> ...
<|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: How many people were in attendance on may 2? <|assistant|> SELECT MIN("atten...
<|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: How many people were in attendance on may 17? <|assistant|> SELECT MIN("atte...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "title" text, "entered_chart_uk" text, "peak_position_uk" real, "weeks_on_chart_uk" real, "sent_to_c_beebies_album" text ); Question: How many weeks did the single that entered the c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "title" text, "entered_chart_uk" text, "peak_position_uk" real, "weeks_on_chart_uk" real, "sent_to_c_beebies_album" text ); Question: Which single was on the Charts for 23 weeks ? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "postgraduate" ( "program" text, "degree" text, "teaching_language" text, "duration_years" real, "full_time_part_time" text, "ects_credit_points" real ); Question: How many ECTS credit points ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "postgraduate" ( "program" text, "degree" text, "teaching_language" text, "duration_years" real, "full_time_part_time" text, "ects_credit_points" real ); Question: What is the teaching languag...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "postgraduate" ( "program" text, "degree" text, "teaching_language" text, "duration_years" real, "full_time_part_time" text, "ects_credit_points" real ); Question: Which program has 3.5 years?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "postgraduate" ( "program" text, "degree" text, "teaching_language" text, "duration_years" real, "full_time_part_time" text, "ects_credit_points" real ); Question: What is the teaching languag...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "pts" real ); Question: What engine has more than 0 pts? <|assistant|> SELECT "engine" FROM "complete...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_results" ( "year" real, "entrant" text, "chassis" text, "engine" text, "pts" real ); Question: What is the average pots of Alfa Romeo v12 after 1983? <|assistant|> SELECT A...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "canadian_national_championships_and_cana" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: What yea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "canadian_national_championships_and_cana" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: Who won ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "canadian_national_championships_and_cana" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: Who won ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "canadian_national_championships_and_cana" ( "year" real, "men_s_singles" text, "women_s_singles" text, "men_s_doubles" text, "women_s_doubles" text, "mixed_doubles" text ); Question: Who won ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_record" ( "competition" text, "played" real, "draw" real, "lost" real, "against" real ); Question: What was the total against in uefa champions league/european cup with more than 1 dra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_record" ( "competition" text, "played" real, "draw" real, "lost" real, "against" real ); Question: What is the total against with 1 draw and less than 8 played? <|assistant|> SELECT SU...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "champions" ( "season" text, "team" text, "racing_team" text, "chassis" text, "engine" text, "tyres" text, "drivers" text, "wins" text, "sprints_wins" text, "main_wins" text, "poles" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "champions" ( "season" text, "team" text, "racing_team" text, "chassis" text, "engine" text, "tyres" text, "drivers" text, "wins" text, "sprints_wins" text, "main_wins" text, "poles" ...