text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "non_championship_race_results" ( "race_name" text, "circuit" text, "date" text, "winning_driver" text, "constructor" text, "report" text ); Question: What is the name of the race that has the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_8" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the scoreof the away team Colling...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_and_constructors" ( "team" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text ); Question: Jean Alesi, drives the Acer 01A engine for...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "drivers_and_constructors" ( "team" text, "constructor" text, "chassis" text, "engine" text, "tyre" text, "driver" text, "rounds" text ); Question: Who built Alex Yoong's car? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real ); Question: What's jim colbert's highest rank? <|assistant|> SELECT MAX("rank") FROM "leaders" WHERE "player...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real ); Question: What's hale irwin's average rank? <|assistant|> SELECT AVG("rank") FROM "leaders" WHERE "player"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "leaders" ( "rank" real, "player" text, "country" text, "earnings" real, "wins" real ); Question: What is the average wins with a rank over 3 and more earnings than $9,735,814? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "receiving" ( "player" text, "rec" real, "yards" real, "avg" real, "td_s" real, "long" real ); Question: What is the sum of averages with a long value of 32? <|assistant|> SELECT SUM("avg") FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "receiving" ( "player" text, "rec" real, "yards" real, "avg" real, "td_s" real, "long" real ); Question: What is the highest TD's with less than 15 yards and less than 1 rec.? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "disc" real, "track" real, "english_title" text, "japanese_title" text, "r_maji_title" text, "artist" text, "track_time" text ); Question: Which Rōmaji title has a Track la...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "disc" real, "track" real, "english_title" text, "japanese_title" text, "r_maji_title" text, "artist" text, "track_time" text ); Question: Which Track time has a Disc large...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "disc" real, "track" real, "english_title" text, "japanese_title" text, "r_maji_title" text, "artist" text, "track_time" text ); Question: Which Japanese title has a Disc s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "track_listing" ( "disc" real, "track" real, "english_title" text, "japanese_title" text, "r_maji_title" text, "artist" text, "track_time" text ); Question: Which track has a Japanese title ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: What Grid has a Time/Retired of clutch? <|assistant|> SELECT SUM("grid") FROM "cl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: What is the Time/Retired with more Laps than 34, a Grid smaller than 15, and Driv...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: How many Laps Did Driver David Coulthard have on a Grid smaller than 11? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stage_results" ( "date" text, "course" text, "distance" text, "type" text, "winner" text ); Question: What type of race took place on the course Orta San Giulio to Milan? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stage_results" ( "date" text, "course" text, "distance" text, "type" text, "winner" text ); Question: When did the course Vasto to Campitello Matese took place? <|assistant|> SELECT "date" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stage_results" ( "date" text, "course" text, "distance" text, "type" text, "winner" text ); Question: Who won the course Brescia? <|assistant|> SELECT "winner" FROM "stage_results" WHERE "cours...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" text, "division" text, "league" text, "reg_season" text, "playoffs" text, "open_cup" text ); Question: Name the league for 1996 <|assistant|> SELECT "league" FROM "year...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" text, "division" text, "league" text, "reg_season" text, "playoffs" text, "open_cup" text ); Question: Name the league for 1994 <|assistant|> SELECT "league" FROM "year...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "year_by_year" ( "year" text, "division" text, "league" text, "reg_season" text, "playoffs" text, "open_cup" text ); Question: Tell me the league with a regular 1st season <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1886_1893" ( "class" text, "type" text, "quantity" real, "date" text, "lner_class" text ); Question: What class has a LNER Class of d8? <|assistant|> SELECT "class" FROM "1886_1893" WHERE "lner...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1886_1893" ( "class" text, "type" text, "quantity" real, "date" text, "lner_class" text ); Question: What LNER Class has a Class of 6db? <|assistant|> SELECT "lner_class" FROM "1886_1893" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "1886_1893" ( "class" text, "type" text, "quantity" real, "date" text, "lner_class" text ); Question: What LNER Class has a Class of 3? <|assistant|> SELECT "lner_class" FROM "1886_1893" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_vancouver_canucks_draft_picks" ( "rd_num" real, "pick_num" real, "player" text, "reg_gp" real, "pl_gp" real ); Question: Which mean pick number had a Reg GP of 0, and a Pl GP that was b...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_vancouver_canucks_draft_picks" ( "rd_num" real, "pick_num" real, "player" text, "reg_gp" real, "pl_gp" real ); Question: What is the highest Pick number that had a road number that was ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_vancouver_canucks_draft_picks" ( "rd_num" real, "pick_num" real, "player" text, "reg_gp" real, "pl_gp" real ); Question: What is the sum number of Pl GP when the Reg GP was 0, the Rd nu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "candidates_who_lost_the_election" ( "name" text, "election_year" real, "party" text, "birth_state" text, "resident_state" text ); Question: What was the birth state of Charles Cotesworth Pinckn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "football_titles_by_school" ( "team" text, "season" text, "regular_season_division" real, "postseason" text, "total" real ); Question: How many postseason titles has Nebraska received? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_2" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What day does the home team score 8.13 (6...
<|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, "save" text, "attendance" real, "record" text ); Question: What is the lost On August 20 <|assistant|> SELECT "loss" FRO...
<|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, "save" text, "attendance" real, "record" text ); Question: WHAT IS THE NUMBER OF Attendance WITH A RECORD 94–36 <|assis...
<|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, "save" text, "attendance" real, "record" text ); Question: WHICH Attendance that has a Loss of paniagua (3–3)? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: How many points did the away team score ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_12" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: In what venue does Footscray play? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pedro_rodr_guez_in_porsche" ( "year" real, "race" text, "team" text, "pos" text, "co_driver" text ); Question: What position did Co-driver Jackie Oliver finish in the 24 hours of Le Mans? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pedro_rodr_guez_in_porsche" ( "year" real, "race" text, "team" text, "pos" text, "co_driver" text ); Question: Who was the co-driver in 1970 for the race of Targa Florio? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: Which vehicle has a Grid of 13? <|assistant|> SELECT "constructor" FROM "classifi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: What's the Time/Retired of 80 laps with a Grid larger than 2? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "game" real, "date" text, "location" text, "time" text, "attendance" real ); Question: Where Date is october 11, and game greater than 4 what is the lowest attendance? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "game" real, "date" text, "location" text, "time" text, "attendance" real ); Question: Where date is october 7 and game greater than 1, what is the highest attendance? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "game" real, "date" text, "location" text, "time" text, "attendance" real ); Question: Where Date is october 14 what is the attendance? <|assistant|> SELECT "attendance" FROM "summar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_14" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Which away team had a venue of mcg? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When did the away team score at Punt Road...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_4" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: How many points did North Melbourne score...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text, "arena" text, "points" real ); Question: How many points when under 17,197 att...
<|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_assists" text, "location_attendance" text, "record" text ); Question: What was the score on Marc...
<|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_assists" text, "location_attendance" text, "record" text ); Question: On which date was Raymond ...
<|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_assists" text, "location_attendance" text, "record" text ); Question: What is the location atten...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "record" text ); Question: Which record has a Visitor of magic? <|assistant|> SELECT "record" FROM "j...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "record" text ); Question: Which score has a Home of grizzlies, and a Leading scorer of rudy gay (18)...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january" ( "date" text, "visitor" text, "score" text, "home" text, "leading_scorer" text, "record" text ); Question: Which leading scorer has a Home of grizzlies, and a Record of 10–28? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: If the Away team score was 15.20 (110), w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When the Away team score equaled 15.20 (1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: If the Away team was carlton, what Date d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_5" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: How many people were in the Crowd when th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "series" text ); Question: What is the Visitor with a Home with chicago, and a Score of 3 – 2? <|assistant|> SELECT "visitor"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "series" text ); Question: What is the Score with a Date with may 2? <|assistant|> SELECT "score" FROM "playoffs" WHERE "date...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "series" text ); Question: What is the Score with a Home of colorado, and a Date with may 11? <|assistant|> SELECT "score" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "series" text ); Question: What is the Home with a Visitor of chicago, and a Series with 3 – 2? <|assistant|> SELECT "home" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "series" text ); Question: What is the Visitor with a Series with 3 – 2? <|assistant|> SELECT "visitor" FROM "playoffs" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "date" text, "visitor" text, "score" text, "home" text, "series" text ); Question: What is the Visitor with a Score with 4 – 3? <|assistant|> SELECT "visitor" FROM "playoffs" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What is the 2007 value...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What is the 2012 value...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What is the 2010 value...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What is the 2006 value...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What is the 2006 value...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_slam_singles_performance_timeline" ( "tournament" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: What is the 2012 value...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ch_or_12th_emergency_flotilla" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text ); Question: What is the building for the r90 pennant? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ch_or_12th_emergency_flotilla" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text ); Question: What is the pennant with Denny, Dumbarton as ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ch_or_12th_emergency_flotilla" ( "name" text, "pennant" text, "builder" text, "laid_down" text, "launched" text, "commissioned" text ); Question: What is the laid down date of the destroyer w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "heat" real, "race_title" text, "circuit" text, "location_state" text, "date" text, "winner" text, "team" text ); Question: What is the location/state of the race on 16 Jun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "heat" real, "race_title" text, "circuit" text, "location_state" text, "date" text, "winner" text, "team" text ); Question: What is the lowest heat of the Lakeside race? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When the Away team is footscray, what is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When the Home team scores 14.16 (100), w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What's the average number of people in t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_15" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: Which Away team plays at the Venue vfl p...
<|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, "tv_time" text, "attendance" text ); Question: Name the least week for opponent of washington redskins <|assistant|> SELE...
<|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, "tv_time" text, "attendance" text ); Question: Name the tv time for week 10 <|assistant|> SELECT "tv_time" FROM "schedule...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: What is the Time/Retired for a Grid larger than 6, and 57 laps? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: What grid for denny hulme? <|assistant|> SELECT "grid" FROM "classification" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: How many laps for a Time/Retired of tyre, and a Grid larger than 10? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "spaceflight_by_year" ( "rocket_launch" text, "launch_date" text, "mission" text, "institutional_authority" text, "launch_site" text, "outcomes" text, "derivatives" text ); Question: What Ou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "spaceflight_by_year" ( "rocket_launch" text, "launch_date" text, "mission" text, "institutional_authority" text, "launch_site" text, "outcomes" text, "derivatives" text ); Question: Which I...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "spaceflight_by_year" ( "rocket_launch" text, "launch_date" text, "mission" text, "institutional_authority" text, "launch_site" text, "outcomes" text, "derivatives" text ); Question: Which D...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "spaceflight_by_year" ( "rocket_launch" text, "launch_date" text, "mission" text, "institutional_authority" text, "launch_site" text, "outcomes" text, "derivatives" text ); Question: Which O...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "spaceflight_by_year" ( "rocket_launch" text, "launch_date" text, "mission" text, "institutional_authority" text, "launch_site" text, "outcomes" text, "derivatives" text ); Question: Which M...
<|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, "leading_scorer" text, "attendance" real, "record" text ); Question: What was the score when the Golden State Warriors were ...
<|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, "leading_scorer" text, "attendance" real, "record" text ); Question: What team was the visitor on 3/2? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_22" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: What is the home team score for kardinia...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_22" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "venue" text, "crowd" real, "date" text ); Question: When did an away team score 32.16 (208)?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tamazight_vowel_allophony" ( "phoneme" text, "realization" text, "environment" text, "example" text, "gloss" text ); Question: Name the realization for phoneme of /i/ and example of /idːa/ <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tamazight_vowel_allophony" ( "phoneme" text, "realization" text, "environment" text, "example" text, "gloss" text ); Question: Name the phoneme for realizaiton of [ɪj] <|assistant|> SELECT "pho...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tamazight_vowel_allophony" ( "phoneme" text, "realization" text, "environment" text, "example" text, "gloss" text ); Question: Name the example when the environment is #_x <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tamazight_vowel_allophony" ( "phoneme" text, "realization" text, "environment" text, "example" text, "gloss" text ); Question: Name the example when the realization is [ɐ] <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tamazight_vowel_allophony" ( "phoneme" text, "realization" text, "environment" text, "example" text, "gloss" text ); Question: Name the phoneme when the example is /umsʁ/ <|assistant|> SELECT "...