text
stringlengths 411
1.74k
|
---|
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );. Question: "Which Score has a Location of richfield coliseum?". [/INST] SELECT "score" FROM "game_log" WHERE "location"='richfield coliseum';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );. Question: "Where was game 78 held?". [/INST] SELECT "location" FROM "game_log" WHERE "game"=78;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );. Question: "When was the score 56-26?". [/INST] SELECT "date" FROM "game_log" WHERE "record"='56-26';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text );. Question: "Which Opponent has a Score of 92-111?". [/INST] SELECT "opponent" FROM "game_log" WHERE "score"='92-111';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "november" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text );. Question: "What was the Opponent when the Cavaliers had a Record of 3-9?". [/INST] SELECT "opponent" FROM "november" WHERE "record"='3-9';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "november" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text );. Question: "On what Date was the Score 105-128?". [/INST] SELECT "date" FROM "november" WHERE "score"='105-128';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "november" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text );. Question: "What is the Opponent of the game with a H/A/N of H and Score of 120-99?". [/INST] SELECT "opponent" FROM "november" WHERE "h_a_n"='h' AND "score"='120-99';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "november" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text );. Question: "On what Date was the Score 106-104 against the Portland Trail Blazers?". [/INST] SELECT "date" FROM "november" WHERE "opponent"='portland trail blazers' AND "score"='106-104';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "november" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text );. Question: "On what Date was the Score 105-118 and the H/A/N A?". [/INST] SELECT "date" FROM "november" WHERE "h_a_n"='a' AND "score"='105-118';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "round" real, "selection" real, "player" text, "position" text, "college" text );. Question: "Which Selection has a College of texas a&m?". [/INST] SELECT SUM("selection") FROM "nfl_draft" WHERE "college"='texas a&m';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "round" real, "selection" real, "player" text, "position" text, "college" text );. Question: "Which Selection has a Player of jamaar taylor, and a Round larger than 6?". [/INST] SELECT MIN("selection") FROM "nfl_draft" WHERE "player"='jamaar taylor' AND "round">6;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "round" real, "selection" real, "player" text, "position" text, "college" text );. Question: "Which Position has a Player of gibril wilson?". [/INST] SELECT "position" FROM "nfl_draft" WHERE "player"='gibril wilson';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "nfl_draft" ( "round" real, "selection" real, "player" text, "position" text, "college" text );. Question: "Which Position has a Round larger than 5, and a Selection of 168?". [/INST] SELECT "position" FROM "nfl_draft" WHERE "round">5 AND "selection"=168;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "leaders_in_the_european_parliament" ( "leader" text, "party" text, "leader_s_seat" text, "number_of_seats" real, "leader_since" text );. Question: "What is Jillian Evans highest number of seats?". [/INST] SELECT MAX("number_of_seats") FROM "leaders_in_the_european_parliament" WHERE "leader"='jillian evans';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "leaders_in_the_european_parliament" ( "leader" text, "party" text, "leader_s_seat" text, "number_of_seats" real, "leader_since" text );. Question: "Which party does Timothy Kirkhope lead?". [/INST] SELECT "party" FROM "leaders_in_the_european_parliament" WHERE "leader"='timothy kirkhope';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );. Question: "What is Daultan Leveille's Position?". [/INST] SELECT "position" FROM "draft_picks" WHERE "player"='daultan leveille';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text );. Question: "What is the Player in Round 5?". [/INST] SELECT "player" FROM "draft_picks" WHERE "round"=5;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: 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: "What is the highest rebounds for game 81?". [/INST] SELECT "high_rebounds" FROM "game_log" WHERE "game"=81;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner" text, "finalist" text, "semifinalists" text );. Question: "Who was the winner of the Miami tournament where Elena Dementieva was a finalist?". [/INST] SELECT "winner" FROM "singles" WHERE "finalist"='elena dementieva' AND "tournament"='miami';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner" text, "finalist" text, "semifinalists" text );. Question: "Who was the finalist of the hard surface tournament in Miami?". [/INST] SELECT "finalist" FROM "singles" WHERE "surface"='hard' AND "tournament"='miami';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner" text, "finalist" text, "semifinalists" text );. Question: "Who were the semifinalists in the Rome tournament?". [/INST] SELECT "semifinalists" FROM "singles" WHERE "tournament"='rome';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "discontinued_models" ( "model" text, "sensor_size" text, "resolution" text, "active_pixels" text, "display" text );. Question: "What is the resolution of the camera that has 6726 x 5040 pixels and a model of afi 7?". [/INST] SELECT "resolution" FROM "discontinued_models" WHERE "active_pixels"='6726 x 5040' AND "model"='afi 7';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "discontinued_models" ( "model" text, "sensor_size" text, "resolution" text, "active_pixels" text, "display" text );. Question: "Which model has a sensor sized 48x36 mm, pixels of 6726 x 5040, and a 33 mp resolution?". [/INST] SELECT "model" FROM "discontinued_models" WHERE "sensor_size"='48x36 mm' AND "active_pixels"='6726 x 5040' AND "resolution"='33 mp';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "discontinued_models" ( "model" text, "sensor_size" text, "resolution" text, "active_pixels" text, "display" text );. Question: "What are the active pixels of the cantare model?". [/INST] SELECT "active_pixels" FROM "discontinued_models" WHERE "model"='cantare';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "discontinued_models" ( "model" text, "sensor_size" text, "resolution" text, "active_pixels" text, "display" text );. Question: "What are the active pixels of the c-most model camera?". [/INST] SELECT "active_pixels" FROM "discontinued_models" WHERE "model"='c-most';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners_by_team" ( "rank" real, "club" text, "winners" real, "runners_up" real, "third" real );. Question: "Which Rank has a Third of 2, and Winners smaller than 2?". [/INST] SELECT AVG("rank") FROM "winners_by_team" WHERE "third"=2 AND "winners"<2;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners_by_team" ( "rank" real, "club" text, "winners" real, "runners_up" real, "third" real );. Question: "How many Winners have a Third of 1, and Runners-up smaller than 0?". [/INST] SELECT COUNT("winners") FROM "winners_by_team" WHERE "third"=1 AND "runners_up"<0;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners_by_team" ( "rank" real, "club" text, "winners" real, "runners_up" real, "third" real );. Question: "Which Third has Runners-up of 0, and Winners of 0, and a Club of far rabat?". [/INST] SELECT AVG("third") FROM "winners_by_team" WHERE "runners_up"=0 AND "winners"=0 AND "club"='far rabat';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "winners_by_team" ( "rank" real, "club" text, "winners" real, "runners_up" real, "third" real );. Question: "Which Winners is the highest one that has a Rank larger than 7, and a Third smaller than 1?". [/INST] SELECT MAX("winners") FROM "winners_by_team" WHERE "rank">7 AND "third"<1;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "score" text, "leading_scorer" text, "attendance" real, "record" text );. Question: "Which Leading Scorer has an Opponent of @ seattle, and a Record of 14-16?". [/INST] SELECT "leading_scorer" FROM "season_schedule" WHERE "opponent"='@ seattle' AND "record"='14-16';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "score" text, "leading_scorer" text, "attendance" real, "record" text );. Question: "Which Score has an Opponent of @ houston, and a Record of 2-0?". [/INST] SELECT "score" FROM "season_schedule" WHERE "opponent"='@ houston' AND "record"='2-0';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "score" text, "leading_scorer" text, "attendance" real, "record" text );. Question: "Which Attendance has a Date of september 7?". [/INST] SELECT MIN("attendance") FROM "season_schedule" WHERE "date"='september 7';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pre_season" ( "game" real, "date" text, "opponent" text, "venue" text, "result" text, "attendance" text );. Question: "What is the venue of game 3?". [/INST] SELECT "venue" FROM "pre_season" WHERE "game"=3;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pre_season" ( "game" real, "date" text, "opponent" text, "venue" text, "result" text, "attendance" text );. Question: "What is the lowest game number on 20 July 2008?". [/INST] SELECT MIN("game") FROM "pre_season" WHERE "date"='20 july 2008';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pre_season" ( "game" real, "date" text, "opponent" text, "venue" text, "result" text, "attendance" text );. Question: "What is the result on 20 July 2008?". [/INST] SELECT "result" FROM "pre_season" WHERE "date"='20 july 2008';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pre_season" ( "game" real, "date" text, "opponent" text, "venue" text, "result" text, "attendance" text );. Question: "What is the total game number with athlone town as the opponent?". [/INST] SELECT COUNT("game") FROM "pre_season" WHERE "opponent"='athlone town';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "pre_season" ( "game" real, "date" text, "opponent" text, "venue" text, "result" text, "attendance" text );. Question: "What is the result of the game with a game number greater than 6 and an away venue?". [/INST] SELECT "result" FROM "pre_season" WHERE "venue"='away' AND "game">6;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real );. Question: "What is the lowest value for Week, when the Attendance is greater than 22,958, and when the Opponent is At Chicago Cardinals?". [/INST] SELECT MIN("week") FROM "schedule" WHERE "attendance">'22,958' AND "opponent"='at chicago cardinals';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_ministers_for_communications_and" ( "minister" text, "party" text, "start_date" text, "end_date" text, "prime_minister" text );. Question: "What was the end date when Alex Bodry was the minister?". [/INST] SELECT "end_date" FROM "list_of_ministers_for_communications_and" WHERE "minister"='alex bodry';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "list_of_ministers_for_communications_and" ( "minister" text, "party" text, "start_date" text, "end_date" text, "prime_minister" text );. Question: "Who was the minister for the CSV party with a present day end date?". [/INST] SELECT "minister" FROM "list_of_ministers_for_communications_and" WHERE "party"='csv' AND "end_date"='present day';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "attendance" real, "record" text, "points" real );. Question: "What is the sum of the points of the game with philadelphia as the visitor and an attendance greater than 7,284?". [/INST] SELECT SUM("points") FROM "game_log" WHERE "visitor"='philadelphia' AND "attendance">'7,284';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "game_log" ( "date" text, "visitor" text, "score" text, "home" text, "attendance" real, "record" text, "points" real );. Question: "What is the lowest amount of points of the game with toronto as the home team?". [/INST] SELECT MIN("points") FROM "game_log" WHERE "home"='toronto';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );. Question: "How many laps did pere riba ride?". [/INST] SELECT SUM("laps") FROM "moto_gp_classification" WHERE "rider"='pere riba';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );. Question: "How many laps were in grid 4?". [/INST] SELECT "laps" FROM "moto_gp_classification" WHERE "grid"=4;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );. Question: "Who manufactured grid 11?". [/INST] SELECT "manufacturer" FROM "moto_gp_classification" WHERE "grid"=11;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "moto_gp_classification" ( "rider" text, "manufacturer" text, "laps" real, "time_retired" text, "grid" real );. Question: "Which Grid has Laps larger than 26, and a Time/Retired of 44:39.467?". [/INST] SELECT MIN("grid") FROM "moto_gp_classification" WHERE "laps">26 AND "time_retired"='44:39.467';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results" ( "finished" text, "horse" text, "jockey" text, "trainer" text, "odds" text );. Question: "Which Horse finished in 8?". [/INST] SELECT "horse" FROM "results" WHERE "finished"='8';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results" ( "finished" text, "horse" text, "jockey" text, "trainer" text, "odds" text );. Question: "Who is the Jockey that has Nick Zito as Trainer and Odds of 34-1?". [/INST] SELECT "jockey" FROM "results" WHERE "trainer"='nick zito' AND "odds"='34-1';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results" ( "finished" text, "horse" text, "jockey" text, "trainer" text, "odds" text );. Question: "What are the Odds for the Horse called Ready's Echo?". [/INST] SELECT "odds" FROM "results" WHERE "horse"='ready''s echo';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results" ( "finished" text, "horse" text, "jockey" text, "trainer" text, "odds" text );. Question: "What are the Odds for Trainer Barclay Tagg?". [/INST] SELECT "odds" FROM "results" WHERE "trainer"='barclay tagg';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results" ( "finished" text, "horse" text, "jockey" text, "trainer" text, "odds" text );. Question: "What is the Finished place for da'tara trained by Nick zito?". [/INST] SELECT "finished" FROM "results" WHERE "trainer"='nick zito' AND "horse"='da''tara';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "results" ( "finished" text, "horse" text, "jockey" text, "trainer" text, "odds" text );. Question: "Who is the Jockey for guadalcanal?". [/INST] SELECT "jockey" FROM "results" WHERE "horse"='guadalcanal';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "250cc_classification" ( "rider" text, "manufacturer" text, "laps" real, "time" text, "grid" real );. Question: "Which Manufacturer has a Time of accident and a Grid greater than 15?". [/INST] SELECT "manufacturer" FROM "250cc_classification" WHERE "time"='accident' AND "grid">15;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "simple_past_tense" ( "verb" text, "2_vf" text, "2_f" text, "3_f" text, "2_3_p" text );. Question: "What is the verb for Khola?". [/INST] SELECT "3_f" FROM "simple_past_tense" WHERE "verb"='khola';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "simple_past_tense" ( "verb" text, "2_vf" text, "2_f" text, "3_f" text, "2_3_p" text );. Question: "What is the verb for তুমি খেলে?". [/INST] SELECT "verb" FROM "simple_past_tense" WHERE "2_f"='তুমি খেলে';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "simple_past_tense" ( "verb" text, "2_vf" text, "2_f" text, "3_f" text, "2_3_p" text );. Question: "What is the 2nd verb for Khola?". [/INST] SELECT "2_f" FROM "simple_past_tense" WHERE "verb"='khola';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "simple_past_tense" ( "verb" text, "2_vf" text, "2_f" text, "3_f" text, "2_3_p" text );. Question: "What is the 2(vf) for তুমি বললে?". [/INST] SELECT "2_vf" FROM "simple_past_tense" WHERE "2_f"='তুমি বললে';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "simple_past_tense" ( "verb" text, "2_vf" text, "2_f" text, "3_f" text, "2_3_p" text );. Question: "What is the 2nd verb for chena?". [/INST] SELECT "2_f" FROM "simple_past_tense" WHERE "verb"='chena';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "simple_past_tense" ( "verb" text, "2_vf" text, "2_f" text, "3_f" text, "2_3_p" text );. Question: "What is the 3rd for the 2nd Tui Dhuli?". [/INST] SELECT "3_f" FROM "simple_past_tense" WHERE "2_vf"='tui dhuli';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text );. Question: "Which Lead has a Third of randy ferbey (skip), a Second of scott pfeifer, and a Season of 2009–10?". [/INST] SELECT "lead" FROM "teams" WHERE "third"='randy ferbey (skip)' AND "second"='scott pfeifer' AND "season"='2009–10';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text );. Question: "Which Season has a Third of colin hodgson?". [/INST] SELECT "season" FROM "teams" WHERE "third"='colin hodgson';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text );. Question: "Which Second has a Lead of ben hebert?". [/INST] SELECT "second" FROM "teams" WHERE "lead"='ben hebert';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text );. Question: "Which Third has a Second of scott pfeifer?". [/INST] SELECT "third" FROM "teams" WHERE "second"='scott pfeifer';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text );. Question: "Which Second has a Third of david nedohin, and a Lead of ben hebert?". [/INST] SELECT "second" FROM "teams" WHERE "third"='david nedohin' AND "lead"='ben hebert';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "teams" ( "season" text, "skip" text, "third" text, "second" text, "lead" text );. Question: "Which Skip has a Season of 2002–03?". [/INST] SELECT "skip" FROM "teams" WHERE "season"='2002–03';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "new_york" ( "poll_source" text, "sample_size" real, "margin_of_error" real, "date" text, "democrat" text, "republican" text );. Question: "What was the date of the poll with a sample size of 496 where Republican Mike Huckabee was chosen?". [/INST] SELECT "date" FROM "new_york" WHERE "republican"='mike huckabee' AND "sample_size"=496;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "new_york" ( "poll_source" text, "sample_size" real, "margin_of_error" real, "date" text, "democrat" text, "republican" text );. Question: "What is the sample size of the poll taken on Dec 13-15, 2007 that had a margin of error of more than 4 and resulted with Republican Mike Huckabee?". [/INST] SELECT AVG("sample_size") FROM "new_york" WHERE "republican"='mike huckabee' AND "margin_of_error">4 AND "date"='dec 13-15, 2007';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "new_york" ( "poll_source" text, "sample_size" real, "margin_of_error" real, "date" text, "democrat" text, "republican" text );. Question: "Which Democrat was selected in the poll with a sample size smaller than 516 where the Republican chosen was Ron Paul?". [/INST] SELECT "democrat" FROM "new_york" WHERE "sample_size"<516 AND "republican"='ron paul';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "returning_this_year" ( "show" text, "last_aired" real, "previous_network" text, "retitled_as_same" text, "new_returning_same_network" text, "returning" text );. Question: "When was the show 9 to 5 returning?". [/INST] SELECT "returning" FROM "returning_this_year" WHERE "show"='9 to 5';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "returning_this_year" ( "show" text, "last_aired" real, "previous_network" text, "retitled_as_same" text, "new_returning_same_network" text, "returning" text );. Question: "What was the earliest aired show that's returning on September 13?". [/INST] SELECT MIN("last_aired") FROM "returning_this_year" WHERE "returning"='september 13';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "score" text, "result" text, "record" text );. Question: "What is the Opponent of the game with a Score of 74-66?". [/INST] SELECT "opponent" FROM "season_schedule" WHERE "score"='74-66';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "score" text, "result" text, "record" text );. Question: "What is the Score of the game @ San Antonio on June 20?". [/INST] SELECT "score" FROM "season_schedule" WHERE "opponent"='@ san antonio' AND "date"='june 20';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "score" text, "result" text, "record" text );. Question: "What is the Record of the game on September 6?". [/INST] SELECT "record" FROM "season_schedule" WHERE "date"='september 6';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "season_schedule" ( "date" text, "opponent" text, "score" text, "result" text, "record" text );. Question: "What is the Record of the game with a Score of 65-48?". [/INST] SELECT "record" FROM "season_schedule" WHERE "score"='65-48';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_division" ( "scorer" text, "club" text, "league_goals" text, "fa_cup_goals" text, "league_cup_goals" real, "texaco_cup_goals" text, "euro_competitions" text, "total" real );. Question: "What is the lowest League Cup Goals, when Scorer is Denis Law?". [/INST] SELECT MIN("league_cup_goals") FROM "first_division" WHERE "scorer"='denis law';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_division" ( "scorer" text, "club" text, "league_goals" text, "fa_cup_goals" text, "league_cup_goals" real, "texaco_cup_goals" text, "euro_competitions" text, "total" real );. Question: "What is the average Total, when FA Cup Goals is 1, when League Goals is 10, and when Club is Crystal Palace?". [/INST] SELECT AVG("total") FROM "first_division" WHERE "fa_cup_goals"='1' AND "league_goals"='10' AND "club"='crystal palace';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_division" ( "scorer" text, "club" text, "league_goals" text, "fa_cup_goals" text, "league_cup_goals" real, "texaco_cup_goals" text, "euro_competitions" text, "total" real );. Question: "What is the total number of Total, when Club is Leeds United, and when League Goals is 13?". [/INST] SELECT COUNT("total") FROM "first_division" WHERE "club"='leeds united' AND "league_goals"='13';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "first_division" ( "scorer" text, "club" text, "league_goals" text, "fa_cup_goals" text, "league_cup_goals" real, "texaco_cup_goals" text, "euro_competitions" text, "total" real );. Question: "What is FA Cup Goals, when Euro Competitions is 1, and when League Goals is 11?". [/INST] SELECT "fa_cup_goals" FROM "first_division" WHERE "euro_competitions"='1' AND "league_goals"='11';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner" text, "finalist" text, "semifinalists" text );. Question: "What tournament had finalist Monica Seles?". [/INST] SELECT "tournament" FROM "singles" WHERE "finalist"='monica seles';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner" text, "finalist" text, "semifinalists" text );. Question: "What week was the finalist Martina Hingis?". [/INST] SELECT "week" FROM "singles" WHERE "finalist"='martina hingis';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner" text, "finalist" text, "semifinalists" text );. Question: "What was the surface for finalist Justine Henin?". [/INST] SELECT "surface" FROM "singles" WHERE "finalist"='justine henin';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner" text, "finalist" text, "semifinalists" text );. Question: "Who was the winner in the Indian Wells?". [/INST] SELECT "winner" FROM "singles" WHERE "tournament"='indian wells';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "aaa_usac_championship_car" ( "year" real, "date" text, "race_name" text, "winner" text, "engine" text );. Question: "Which race did Bill Holland win in 1946?". [/INST] SELECT "race_name" FROM "aaa_usac_championship_car" WHERE "year"=1946 AND "winner"='bill holland';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "aaa_usac_championship_car" ( "year" real, "date" text, "race_name" text, "winner" text, "engine" text );. Question: "What date did Ted Horn win Lakewood Race 2?". [/INST] SELECT "date" FROM "aaa_usac_championship_car" WHERE "winner"='ted horn' AND "race_name"='lakewood race 2';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "aaa_usac_championship_car" ( "year" real, "date" text, "race_name" text, "winner" text, "engine" text );. Question: "Who won on September 6?". [/INST] SELECT "winner" FROM "aaa_usac_championship_car" WHERE "date"='september 6';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "aaa_usac_championship_car" ( "year" real, "date" text, "race_name" text, "winner" text, "engine" text );. Question: "Jud Larson who which race after 1956?". [/INST] SELECT "race_name" FROM "aaa_usac_championship_car" WHERE "year">1956 AND "winner"='jud larson';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "all_time_medal_table" ( "rank" text, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real );. Question: "What is the Total medals for the Nation ranking 33 with more than 1 Bronze?". [/INST] SELECT AVG("total") FROM "all_time_medal_table" WHERE "rank"='33' AND "bronze">1;</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "summary" ( "game" real, "date" text, "score" text, "location" text, "time" text, "attendance" real );. Question: "How many games have an Attendance of 19,190?". [/INST] SELECT COUNT("game") FROM "summary" WHERE "attendance"='19,190';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "summary" ( "game" real, "date" text, "score" text, "location" text, "time" text, "attendance" real );. Question: "How many games had a Time of 2:14?". [/INST] SELECT SUM("game") FROM "summary" WHERE "time"='2:14';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "summary" ( "game" real, "date" text, "score" text, "location" text, "time" text, "attendance" real );. Question: "Which Score has a Time of 2:28?". [/INST] SELECT "score" FROM "summary" WHERE "time"='2:28';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "icc_intercontinental_cup" ( "date" text, "captain_1" text, "team_2" text, "captain_2" text, "venue" text, "result" text );. Question: "Which Result has a Captain 1 of louis burger, and a Date of 30 october–2 november?". [/INST] SELECT "result" FROM "icc_intercontinental_cup" WHERE "captain_1"='louis burger' AND "date"='30 october–2 november';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "icc_intercontinental_cup" ( "date" text, "captain_1" text, "team_2" text, "captain_2" text, "venue" text, "result" text );. Question: "Which Team 2 has a Captain 1 of final?". [/INST] SELECT "team_2" FROM "icc_intercontinental_cup" WHERE "captain_1"='final';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "icc_intercontinental_cup" ( "date" text, "captain_1" text, "team_2" text, "captain_2" text, "venue" text, "result" text );. Question: "Which Captain 2 has a Result of ireland by 8 runs?". [/INST] SELECT "captain_2" FROM "icc_intercontinental_cup" WHERE "result"='ireland by 8 runs';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "icc_intercontinental_cup" ( "date" text, "captain_1" text, "team_2" text, "captain_2" text, "venue" text, "result" text );. Question: "Which Result has a Captain 2 of louis burger?". [/INST] SELECT "result" FROM "icc_intercontinental_cup" WHERE "captain_2"='louis burger';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "icc_intercontinental_cup" ( "date" text, "captain_1" text, "team_2" text, "captain_2" text, "venue" text, "result" text );. Question: "Which Captain 2 has a Result of final?". [/INST] SELECT "captain_2" FROM "icc_intercontinental_cup" WHERE "result"='final';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "see_also" ( "sambalpuri_cinema" text, "kosal" text, "western_odisha" text, "sitalsasthi_carnival" text, "sambalpuri_language" text, "sambalpuri_saree" text );. Question: "What is the Kosal with a balangir town sitalsasthi carnival?". [/INST] SELECT "kosal" FROM "see_also" WHERE "sitalsasthi_carnival"='balangir town';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "see_also" ( "sambalpuri_cinema" text, "kosal" text, "western_odisha" text, "sitalsasthi_carnival" text, "sambalpuri_language" text, "sambalpuri_saree" text );. Question: "What is the kosal with hatibandha as the sambalpuri cinema?". [/INST] SELECT "kosal" FROM "see_also" WHERE "sambalpuri_cinema"='hatibandha';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "see_also" ( "sambalpuri_cinema" text, "kosal" text, "western_odisha" text, "sitalsasthi_carnival" text, "sambalpuri_language" text, "sambalpuri_saree" text );. Question: "What is the sambalpuri saree with a samaleswari temple as sambalpuri language?". [/INST] SELECT "sambalpuri_saree" FROM "see_also" WHERE "sambalpuri_language"='samaleswari temple';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "see_also" ( "sambalpuri_cinema" text, "kosal" text, "western_odisha" text, "sitalsasthi_carnival" text, "sambalpuri_language" text, "sambalpuri_saree" text );. Question: "What is the sitalsasthi carnival with sonepur as kosal?". [/INST] SELECT "sitalsasthi_carnival" FROM "see_also" WHERE "kosal"='sonepur';</s> |
<s>[INST] <<SYS>> You are an expert in SQL and data analysis. Given the table structure described by the CREATE TABLE statement, write an SQL query that provides the solution to the question. <</SYS>> CREATE TABLE statement: CREATE TABLE "see_also" ( "sambalpuri_cinema" text, "kosal" text, "western_odisha" text, "sitalsasthi_carnival" text, "sambalpuri_language" text, "sambalpuri_saree" text );. Question: "What is the sitalsasthi carnival with hirakud as sambalpuri saree?". [/INST] SELECT "sitalsasthi_carnival" FROM "see_also" WHERE "sambalpuri_saree"='hirakud';</s> |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.