instruction stringlengths 12 244 | input stringlengths 27 489 | output stringlengths 18 557 | text stringlengths 194 1.14k |
|---|---|---|---|
What's the highest Rank for the County of Offaly, the Player of Mark Corrigan, and the Total that is smaller than 8? | CREATE TABLE table_name_49 (rank INTEGER, total VARCHAR, county VARCHAR, player VARCHAR) | SELECT MAX(rank) FROM table_name_49 WHERE county = "offaly" AND player = "mark corrigan" AND total < 8 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_49 (rank INTEGER, total VARCHAR, county VARCHAR, player VARCHAR) Question: What's the highest Rank for the County of Offaly, the Player of Mark Corrigan, and the Total that is smaller than 8? [/INST] ... |
Which Channel has an Opponent of washington redskins? | CREATE TABLE table_name_41 (channel VARCHAR, opponent VARCHAR) | SELECT channel FROM table_name_41 WHERE opponent = "washington redskins" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (channel VARCHAR, opponent VARCHAR) Question: Which Channel has an Opponent of washington redskins? [/INST] SELECT channel FROM table_name_41 WHERE opponent = "washington redskins" </s> |
Which attendance has a Channel of espn, and a Date of september 5, 2002? | CREATE TABLE table_name_57 (attendance VARCHAR, channel VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_57 WHERE channel = "espn" AND date = "september 5, 2002" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_57 (attendance VARCHAR, channel VARCHAR, date VARCHAR) Question: Which attendance has a Channel of espn, and a Date of september 5, 2002? [/INST] SELECT attendance FROM table_name_57 WHERE channel = "... |
Which Date has a Result of w 27–20? | CREATE TABLE table_name_30 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_30 WHERE result = "w 27–20" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (date VARCHAR, result VARCHAR) Question: Which Date has a Result of w 27–20? [/INST] SELECT date FROM table_name_30 WHERE result = "w 27–20" </s> |
Which Week has an Attendance of 63,447? | CREATE TABLE table_name_35 (week VARCHAR, attendance VARCHAR) | SELECT week FROM table_name_35 WHERE attendance = "63,447" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (week VARCHAR, attendance VARCHAR) Question: Which Week has an Attendance of 63,447? [/INST] SELECT week FROM table_name_35 WHERE attendance = "63,447" </s> |
Which Date has a Stadium of giants stadium, and a Week smaller than 13, and an Opponent of seattle seahawks? | CREATE TABLE table_name_79 (date VARCHAR, opponent VARCHAR, stadium VARCHAR, week VARCHAR) | SELECT date FROM table_name_79 WHERE stadium = "giants stadium" AND week < 13 AND opponent = "seattle seahawks" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (date VARCHAR, opponent VARCHAR, stadium VARCHAR, week VARCHAR) Question: Which Date has a Stadium of giants stadium, and a Week smaller than 13, and an Opponent of seattle seahawks? [/INST] SELECT... |
Who was the athlete with react of 0.185? | CREATE TABLE table_name_79 (athlete VARCHAR, react VARCHAR) | SELECT athlete FROM table_name_79 WHERE react = 0.185 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_79 (athlete VARCHAR, react VARCHAR) Question: Who was the athlete with react of 0.185? [/INST] SELECT athlete FROM table_name_79 WHERE react = 0.185 </s> |
What's the smallest react of Zimbabwe, ranked after 1 in a lane after 3 and a time less than 20.3? | CREATE TABLE table_name_90 (react INTEGER, rank VARCHAR, nationality VARCHAR, lane VARCHAR, time VARCHAR) | SELECT MIN(react) FROM table_name_90 WHERE lane > 3 AND time < 20.3 AND nationality = "zimbabwe" AND rank > 1 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (react INTEGER, rank VARCHAR, nationality VARCHAR, lane VARCHAR, time VARCHAR) Question: What's the smallest react of Zimbabwe, ranked after 1 in a lane after 3 and a time less than 20.3? [/INST] S... |
What is the total number of white (Hispanic/Non-Hispanic) having a black (Hispanic/Non-Hispanic) of 9.9 and Hispanic under 99.5? | CREATE TABLE table_name_77 (white__both_hispanic_and_non_hispanic_ VARCHAR, black__both_hispanic_and_non_hispanic_ VARCHAR, hispanic__of_any_race_ VARCHAR) | SELECT COUNT(white__both_hispanic_and_non_hispanic_) FROM table_name_77 WHERE black__both_hispanic_and_non_hispanic_ = 9.9 AND hispanic__of_any_race_ < 99.5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_77 (white__both_hispanic_and_non_hispanic_ VARCHAR, black__both_hispanic_and_non_hispanic_ VARCHAR, hispanic__of_any_race_ VARCHAR) Question: What is the total number of white (Hispanic/Non-Hispanic) ... |
What is the average black value (Hispanic/Non-Hispanic) having a white (Hispanic/Non-Hispanic) under 61.9, Multiracial (Hispanic/Non-Hispanic) under 12.5 and Hispanic under 99.4? | CREATE TABLE table_name_99 (black__both_hispanic_and_non_hispanic_ INTEGER, hispanic__of_any_race_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR, multiracial__both_hispanic_and_non_hispanic_ VARCHAR) | SELECT AVG(black__both_hispanic_and_non_hispanic_) FROM table_name_99 WHERE white__both_hispanic_and_non_hispanic_ < 61.9 AND multiracial__both_hispanic_and_non_hispanic_ < 12.5 AND hispanic__of_any_race_ < 99.4 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (black__both_hispanic_and_non_hispanic_ INTEGER, hispanic__of_any_race_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR, multiracial__both_hispanic_and_non_hispanic_ VARCHAR) Question: What... |
What is the highest Amerindian (Hispanic/Non-Hispanic) value having a Black (Hispanic/Non-Hispanic) of 15.7 and White (Hispanic/Non-Hispanic) over 69.5? | CREATE TABLE table_name_67 (amerindian__both_hispanic_and_non_hispanic_ INTEGER, black__both_hispanic_and_non_hispanic_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR) | SELECT MAX(amerindian__both_hispanic_and_non_hispanic_) FROM table_name_67 WHERE black__both_hispanic_and_non_hispanic_ = 15.7 AND white__both_hispanic_and_non_hispanic_ > 69.5 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (amerindian__both_hispanic_and_non_hispanic_ INTEGER, black__both_hispanic_and_non_hispanic_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR) Question: What is the highest Amerindian (Hispa... |
What is the Black (Hispanic/Non-Hispanic) value having a white (Hispanic/Non-Hispanic) under 80.6, Asian (Hispanic/Non-Hispanic) of 0.1, Amerindian (Hispanic/Non-Hispanic) under 0.6000000000000001, and municipality of Vega Baja? | CREATE TABLE table_name_63 (black__both_hispanic_and_non_hispanic_ VARCHAR, municipality__2010_ VARCHAR, amerindian__both_hispanic_and_non_hispanic_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR, n_asia__both_hispanic_and_non_hispanic_ VARCHAR) | SELECT black__both_hispanic_and_non_hispanic_ FROM table_name_63 WHERE white__both_hispanic_and_non_hispanic_ < 80.6 AND n_asia__both_hispanic_and_non_hispanic_ = 0.1 AND amerindian__both_hispanic_and_non_hispanic_ < 0.6000000000000001 AND municipality__2010_ = "vega baja" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (black__both_hispanic_and_non_hispanic_ VARCHAR, municipality__2010_ VARCHAR, amerindian__both_hispanic_and_non_hispanic_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR, n_asia__both_hispa... |
What season had 3rd position, a 36 pld, and a bbl div? | CREATE TABLE table_name_81 (season VARCHAR, div VARCHAR, pos VARCHAR, pld VARCHAR) | SELECT season FROM table_name_81 WHERE pos = "3rd" AND pld = "36" AND div = "bbl" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_81 (season VARCHAR, div VARCHAR, pos VARCHAR, pld VARCHAR) Question: What season had 3rd position, a 36 pld, and a bbl div? [/INST] SELECT season FROM table_name_81 WHERE pos = "3rd" AND pld = "36" AN... |
What season has 36 pld, a bbl div, and 6th position? | CREATE TABLE table_name_87 (season VARCHAR, pos VARCHAR, pld VARCHAR, div VARCHAR) | SELECT season FROM table_name_87 WHERE pld = "36" AND div = "bbl" AND pos = "6th" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_87 (season VARCHAR, pos VARCHAR, pld VARCHAR, div VARCHAR) Question: What season has 36 pld, a bbl div, and 6th position? [/INST] SELECT season FROM table_name_87 WHERE pld = "36" AND div = "bbl" AND ... |
What season had 6th position and 36 points? | CREATE TABLE table_name_40 (season VARCHAR, pos VARCHAR, pts VARCHAR) | SELECT season FROM table_name_40 WHERE pos = "6th" AND pts = "36" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_40 (season VARCHAR, pos VARCHAR, pts VARCHAR) Question: What season had 6th position and 36 points? [/INST] SELECT season FROM table_name_40 WHERE pos = "6th" AND pts = "36" </s> |
What season had 1st position, 33 pld, and 58 points? | CREATE TABLE table_name_21 (season VARCHAR, pts VARCHAR, pos VARCHAR, pld VARCHAR) | SELECT season FROM table_name_21 WHERE pos = "1st" AND pld = "33" AND pts = "58" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (season VARCHAR, pts VARCHAR, pos VARCHAR, pld VARCHAR) Question: What season had 1st position, 33 pld, and 58 points? [/INST] SELECT season FROM table_name_21 WHERE pos = "1st" AND pld = "33" AND ... |
Which School has a Mascot of generals? | CREATE TABLE table_name_21 (school VARCHAR, mascot VARCHAR) | SELECT school FROM table_name_21 WHERE mascot = "generals" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_21 (school VARCHAR, mascot VARCHAR) Question: Which School has a Mascot of generals? [/INST] SELECT school FROM table_name_21 WHERE mascot = "generals" </s> |
Which School has an IHSAA Class of aaa, and a Mascot of saints? | CREATE TABLE table_name_76 (school VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR) | SELECT school FROM table_name_76 WHERE ihsaa_class = "aaa" AND mascot = "saints" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (school VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR) Question: Which School has an IHSAA Class of aaa, and a Mascot of saints? [/INST] SELECT school FROM table_name_76 WHERE ihsaa_class = "aaa" AN... |
What is the highest enrollment in Lagrange where the mascot is panthers? | CREATE TABLE table_name_48 (enrollment INTEGER, location VARCHAR, mascot VARCHAR) | SELECT MAX(enrollment) FROM table_name_48 WHERE location = "lagrange" AND mascot = "panthers" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (enrollment INTEGER, location VARCHAR, mascot VARCHAR) Question: What is the highest enrollment in Lagrange where the mascot is panthers? [/INST] SELECT MAX(enrollment) FROM table_name_48 WHERE loc... |
What is the enrollment at the school of Hamilton community? | CREATE TABLE table_name_3 (enrollment INTEGER, school VARCHAR) | SELECT AVG(enrollment) FROM table_name_3 WHERE school = "hamilton community" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (enrollment INTEGER, school VARCHAR) Question: What is the enrollment at the school of Hamilton community? [/INST] SELECT AVG(enrollment) FROM table_name_3 WHERE school = "hamilton community" </s> |
What school that has a IHSAA Class of AA, in Butler? | CREATE TABLE table_name_62 (school VARCHAR, ihsaa_class VARCHAR, location VARCHAR) | SELECT school FROM table_name_62 WHERE ihsaa_class = "aa" AND location = "butler" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (school VARCHAR, ihsaa_class VARCHAR, location VARCHAR) Question: What school that has a IHSAA Class of AA, in Butler? [/INST] SELECT school FROM table_name_62 WHERE ihsaa_class = "aa" AND location... |
What is the mascot at Hamilton Community? | CREATE TABLE table_name_62 (mascot VARCHAR, school VARCHAR) | SELECT mascot FROM table_name_62 WHERE school = "hamilton community" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (mascot VARCHAR, school VARCHAR) Question: What is the mascot at Hamilton Community? [/INST] SELECT mascot FROM table_name_62 WHERE school = "hamilton community" </s> |
What school is in Lagrange, with an IHSAA Class of aaa? | CREATE TABLE table_name_80 (school VARCHAR, location VARCHAR, ihsaa_class VARCHAR) | SELECT school FROM table_name_80 WHERE location = "lagrange" AND ihsaa_class = "aaa" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (school VARCHAR, location VARCHAR, ihsaa_class VARCHAR) Question: What school is in Lagrange, with an IHSAA Class of aaa? [/INST] SELECT school FROM table_name_80 WHERE location = "lagrange" AND ih... |
What school is in Ligonier? | CREATE TABLE table_name_11 (school VARCHAR, location VARCHAR) | SELECT school FROM table_name_11 WHERE location = "ligonier" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (school VARCHAR, location VARCHAR) Question: What school is in Ligonier? [/INST] SELECT school FROM table_name_11 WHERE location = "ligonier" </s> |
What is the total in 2000–2012, with more than 2 silver, 0 Bronze, and a Rank smaller than 70? | CREATE TABLE table_name_71 (total INTEGER, rank VARCHAR, bronze VARCHAR, years VARCHAR, silver VARCHAR) | SELECT SUM(total) FROM table_name_71 WHERE years = "2000–2012" AND silver > 2 AND bronze = 0 AND rank < 70 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_71 (total INTEGER, rank VARCHAR, bronze VARCHAR, years VARCHAR, silver VARCHAR) Question: What is the total in 2000–2012, with more than 2 silver, 0 Bronze, and a Rank smaller than 70? [/INST] SELECT ... |
What nation scored 7 in shooting in 1920? | CREATE TABLE table_name_39 (nation VARCHAR, years VARCHAR, sport VARCHAR, total VARCHAR) | SELECT nation FROM table_name_39 WHERE sport = "shooting" AND total = 7 AND years = "1920" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (nation VARCHAR, years VARCHAR, sport VARCHAR, total VARCHAR) Question: What nation scored 7 in shooting in 1920? [/INST] SELECT nation FROM table_name_39 WHERE sport = "shooting" AND total = 7 AND... |
What's the average Round of Pete Laframboise? | CREATE TABLE table_name_59 (round INTEGER, player VARCHAR) | SELECT AVG(round) FROM table_name_59 WHERE player = "pete laframboise" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_59 (round INTEGER, player VARCHAR) Question: What's the average Round of Pete Laframboise? [/INST] SELECT AVG(round) FROM table_name_59 WHERE player = "pete laframboise" </s> |
What country is Pick 100? | CREATE TABLE table_name_97 (nationality VARCHAR, pick VARCHAR) | SELECT nationality FROM table_name_97 WHERE pick = 100 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (nationality VARCHAR, pick VARCHAR) Question: What country is Pick 100? [/INST] SELECT nationality FROM table_name_97 WHERE pick = 100 </s> |
Who were the rowers for Great britain? | CREATE TABLE table_name_50 (rowers VARCHAR, country VARCHAR) | SELECT rowers FROM table_name_50 WHERE country = "great britain" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_50 (rowers VARCHAR, country VARCHAR) Question: Who were the rowers for Great britain? [/INST] SELECT rowers FROM table_name_50 WHERE country = "great britain" </s> |
What country has a time of 7:28.66 and a rank less than 3? | CREATE TABLE table_name_27 (country VARCHAR, rank VARCHAR, time VARCHAR) | SELECT country FROM table_name_27 WHERE rank < 3 AND time = "7:28.66" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (country VARCHAR, rank VARCHAR, time VARCHAR) Question: What country has a time of 7:28.66 and a rank less than 3? [/INST] SELECT country FROM table_name_27 WHERE rank < 3 AND time = "7:28.66" </s> |
What are the notes when the time was 7:42.92 and the rank is more than 1? | CREATE TABLE table_name_65 (notes VARCHAR, rank VARCHAR, time VARCHAR) | SELECT notes FROM table_name_65 WHERE rank > 1 AND time = "7:42.92" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (notes VARCHAR, rank VARCHAR, time VARCHAR) Question: What are the notes when the time was 7:42.92 and the rank is more than 1? [/INST] SELECT notes FROM table_name_65 WHERE rank > 1 AND time = "7:... |
What's the score of Tie number 11? | CREATE TABLE table_name_48 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_48 WHERE tie_no = "11" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_48 (score VARCHAR, tie_no VARCHAR) Question: What's the score of Tie number 11? [/INST] SELECT score FROM table_name_48 WHERE tie_no = "11" </s> |
What's the tie number when the away team was Mansfield Town? | CREATE TABLE table_name_3 (tie_no VARCHAR, away_team VARCHAR) | SELECT tie_no FROM table_name_3 WHERE away_team = "mansfield town" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_3 (tie_no VARCHAR, away_team VARCHAR) Question: What's the tie number when the away team was Mansfield Town? [/INST] SELECT tie_no FROM table_name_3 WHERE away_team = "mansfield town" </s> |
What date was Newcastle United the away team? | CREATE TABLE table_name_42 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_42 WHERE away_team = "newcastle united" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (date VARCHAR, away_team VARCHAR) Question: What date was Newcastle United the away team? [/INST] SELECT date FROM table_name_42 WHERE away_team = "newcastle united" </s> |
Who was the away team when Brighton & Hove Albion was home? | CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_95 WHERE home_team = "brighton & hove albion" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR) Question: Who was the away team when Brighton & Hove Albion was home? [/INST] SELECT away_team FROM table_name_95 WHERE home_team = "brighton & hove albion" <... |
What's the tie number of Chelsea when they were home? | CREATE TABLE table_name_96 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_96 WHERE home_team = "chelsea" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (tie_no VARCHAR, home_team VARCHAR) Question: What's the tie number of Chelsea when they were home? [/INST] SELECT tie_no FROM table_name_96 WHERE home_team = "chelsea" </s> |
What's the score when Orient was home? | CREATE TABLE table_name_10 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_10 WHERE home_team = "orient" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (score VARCHAR, home_team VARCHAR) Question: What's the score when Orient was home? [/INST] SELECT score FROM table_name_10 WHERE home_team = "orient" </s> |
What designer has a restaurant named The Citizen? | CREATE TABLE table_name_42 (designer VARCHAR, restaurant_name VARCHAR) | SELECT designer FROM table_name_42 WHERE restaurant_name = "the citizen" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (designer VARCHAR, restaurant_name VARCHAR) Question: What designer has a restaurant named The Citizen? [/INST] SELECT designer FROM table_name_42 WHERE restaurant_name = "the citizen" </s> |
What is the original name of the place by designer Glen Peloso with a Location of n/a? | CREATE TABLE table_name_4 (original_name VARCHAR, designer VARCHAR, location VARCHAR) | SELECT original_name FROM table_name_4 WHERE designer = "glen peloso" AND location = "n/a" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (original_name VARCHAR, designer VARCHAR, location VARCHAR) Question: What is the original name of the place by designer Glen Peloso with a Location of n/a? [/INST] SELECT original_name FROM table_n... |
What chef that has a location in Toronto, ON, that has n/a as the original name, and a Restaurant Name of Bagel World? | CREATE TABLE table_name_6 (chef VARCHAR, restaurant_name VARCHAR, location VARCHAR, original_name VARCHAR) | SELECT chef FROM table_name_6 WHERE location = "toronto, on" AND original_name = "n/a" AND restaurant_name = "bagel world" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_6 (chef VARCHAR, restaurant_name VARCHAR, location VARCHAR, original_name VARCHAR) Question: What chef that has a location in Toronto, ON, that has n/a as the original name, and a Restaurant Name of B... |
What is the name of the restaurant originally named Essence? | CREATE TABLE table_name_93 (restaurant_name VARCHAR, original_name VARCHAR) | SELECT restaurant_name FROM table_name_93 WHERE original_name = "essence" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (restaurant_name VARCHAR, original_name VARCHAR) Question: What is the name of the restaurant originally named Essence? [/INST] SELECT restaurant_name FROM table_name_93 WHERE original_name = "esse... |
What designer has a restaurant named of Cork & Cabbage? | CREATE TABLE table_name_53 (designer VARCHAR, restaurant_name VARCHAR) | SELECT designer FROM table_name_53 WHERE restaurant_name = "cork & cabbage" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_53 (designer VARCHAR, restaurant_name VARCHAR) Question: What designer has a restaurant named of Cork & Cabbage? [/INST] SELECT designer FROM table_name_53 WHERE restaurant_name = "cork & cabbage" </s... |
Which athlete had a six month suspension from IIHF? | CREATE TABLE table_name_55 (athlete VARCHAR, punishment VARCHAR) | SELECT athlete FROM table_name_55 WHERE punishment = "six month suspension from iihf" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_55 (athlete VARCHAR, punishment VARCHAR) Question: Which athlete had a six month suspension from IIHF? [/INST] SELECT athlete FROM table_name_55 WHERE punishment = "six month suspension from iihf" </s... |
How many bronze medals did the team have with 0 total silver and less than 3 total medals? | CREATE TABLE table_name_4 (bronze VARCHAR, total VARCHAR, silver VARCHAR) | SELECT bronze FROM table_name_4 WHERE total < 3 AND silver > 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_4 (bronze VARCHAR, total VARCHAR, silver VARCHAR) Question: How many bronze medals did the team have with 0 total silver and less than 3 total medals? [/INST] SELECT bronze FROM table_name_4 WHERE tot... |
What is the total number of bronze medals for the team with more than 4 silver and less than 30 gold medals? | CREATE TABLE table_name_41 (bronze VARCHAR, gold VARCHAR, silver VARCHAR, nation VARCHAR) | SELECT COUNT(bronze) FROM table_name_41 WHERE silver > 4 AND nation = "total" AND gold < 30 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_41 (bronze VARCHAR, gold VARCHAR, silver VARCHAR, nation VARCHAR) Question: What is the total number of bronze medals for the team with more than 4 silver and less than 30 gold medals? [/INST] SELECT ... |
what is the least penalty points when the judge e is 72.22? | CREATE TABLE table_name_30 (penalty_points INTEGER, judge_e VARCHAR) | SELECT MIN(penalty_points) FROM table_name_30 WHERE judge_e = "72.22" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (penalty_points INTEGER, judge_e VARCHAR) Question: what is the least penalty points when the judge e is 72.22? [/INST] SELECT MIN(penalty_points) FROM table_name_30 WHERE judge_e = "72.22" </s> |
what is the judge e when judge c is 56.67 and the rider is dag albert? | CREATE TABLE table_name_80 (judge_e VARCHAR, judge_c VARCHAR, rider VARCHAR) | SELECT judge_e FROM table_name_80 WHERE judge_c = "56.67" AND rider = "dag albert" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (judge_e VARCHAR, judge_c VARCHAR, rider VARCHAR) Question: what is the judge e when judge c is 56.67 and the rider is dag albert? [/INST] SELECT judge_e FROM table_name_80 WHERE judge_c = "56.67" ... |
what is the nation when the penalty points is less than 40.2 and judge e is 82.22? | CREATE TABLE table_name_30 (nation VARCHAR, penalty_points VARCHAR, judge_e VARCHAR) | SELECT nation FROM table_name_30 WHERE penalty_points < 40.2 AND judge_e = "82.22" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_30 (nation VARCHAR, penalty_points VARCHAR, judge_e VARCHAR) Question: what is the nation when the penalty points is less than 40.2 and judge e is 82.22? [/INST] SELECT nation FROM table_name_30 WHERE... |
what is the rank when judge m is 65.93 and judge e is 65.56? | CREATE TABLE table_name_67 (rank VARCHAR, judge_m VARCHAR, judge_e VARCHAR) | SELECT rank FROM table_name_67 WHERE judge_m = "65.93" AND judge_e = "65.56" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (rank VARCHAR, judge_m VARCHAR, judge_e VARCHAR) Question: what is the rank when judge m is 65.93 and judge e is 65.56? [/INST] SELECT rank FROM table_name_67 WHERE judge_m = "65.93" AND judge_e = ... |
what is the horse that ranked 69? | CREATE TABLE table_name_5 (horse VARCHAR, rank VARCHAR) | SELECT horse FROM table_name_5 WHERE rank = "69" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_5 (horse VARCHAR, rank VARCHAR) Question: what is the horse that ranked 69? [/INST] SELECT horse FROM table_name_5 WHERE rank = "69" </s> |
Name the Production Number with a Director of friz freleng, and a Title of wacky worm, the? | CREATE TABLE table_name_52 (production_number VARCHAR, director VARCHAR, title VARCHAR) | SELECT production_number FROM table_name_52 WHERE director = "friz freleng" AND title = "wacky worm, the" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_52 (production_number VARCHAR, director VARCHAR, title VARCHAR) Question: Name the Production Number with a Director of friz freleng, and a Title of wacky worm, the? [/INST] SELECT production_number F... |
Name the Series with Production Number of 95, br 1254? | CREATE TABLE table_name_2 (series VARCHAR, production_number VARCHAR) | SELECT series FROM table_name_2 WHERE production_number = "95, br 1254" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_2 (series VARCHAR, production_number VARCHAR) Question: Name the Series with Production Number of 95, br 1254? [/INST] SELECT series FROM table_name_2 WHERE production_number = "95, br 1254" </s> |
Name the Series with a Title of elmer's pet rabbit? | CREATE TABLE table_name_96 (series VARCHAR, title VARCHAR) | SELECT series FROM table_name_96 WHERE title = "elmer's pet rabbit" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_96 (series VARCHAR, title VARCHAR) Question: Name the Series with a Title of elmer's pet rabbit? [/INST] SELECT series FROM table_name_96 WHERE title = "elmer's pet rabbit" </s> |
What is the Boarding/Day value for a type of old and house of Saunderites? | CREATE TABLE table_name_36 (boarding_day VARCHAR, type VARCHAR, house VARCHAR) | SELECT boarding_day FROM table_name_36 WHERE type = "old" AND house = "saunderites" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_36 (boarding_day VARCHAR, type VARCHAR, house VARCHAR) Question: What is the Boarding/Day value for a type of old and house of Saunderites? [/INST] SELECT boarding_day FROM table_name_36 WHERE type = ... |
Which house has an abbreviation of G? | CREATE TABLE table_name_60 (house VARCHAR, abbr VARCHAR) | SELECT house FROM table_name_60 WHERE abbr = "g" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_60 (house VARCHAR, abbr VARCHAR) Question: Which house has an abbreviation of G? [/INST] SELECT house FROM table_name_60 WHERE abbr = "g" </s> |
Which house has a Boarding/Day value of Day? | CREATE TABLE table_name_31 (house VARCHAR, boarding_day VARCHAR) | SELECT house FROM table_name_31 WHERE boarding_day = "day" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (house VARCHAR, boarding_day VARCHAR) Question: Which house has a Boarding/Day value of Day? [/INST] SELECT house FROM table_name_31 WHERE boarding_day = "day" </s> |
Which house has an abbreviation of D? | CREATE TABLE table_name_24 (house VARCHAR, abbr VARCHAR) | SELECT house FROM table_name_24 WHERE abbr = "d" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (house VARCHAR, abbr VARCHAR) Question: Which house has an abbreviation of D? [/INST] SELECT house FROM table_name_24 WHERE abbr = "d" </s> |
Which type has a color of Dark Blue? | CREATE TABLE table_name_91 (type VARCHAR, colour VARCHAR) | SELECT type FROM table_name_91 WHERE colour = "dark blue" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_91 (type VARCHAR, colour VARCHAR) Question: Which type has a color of Dark Blue? [/INST] SELECT type FROM table_name_91 WHERE colour = "dark blue" </s> |
what is the total tackles when the games is 16 and solo is 88? | CREATE TABLE table_name_9 (total_tackles VARCHAR, games VARCHAR, solo VARCHAR) | SELECT total_tackles FROM table_name_9 WHERE games = "16" AND solo = "88" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (total_tackles VARCHAR, games VARCHAR, solo VARCHAR) Question: what is the total tackles when the games is 16 and solo is 88? [/INST] SELECT total_tackles FROM table_name_9 WHERE games = "16" AND so... |
what is the team when sacks is 0 and the season is earlier than 1998? | CREATE TABLE table_name_90 (team VARCHAR, sacks VARCHAR, season VARCHAR) | SELECT team FROM table_name_90 WHERE sacks = "0" AND season < 1998 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_90 (team VARCHAR, sacks VARCHAR, season VARCHAR) Question: what is the team when sacks is 0 and the season is earlier than 1998? [/INST] SELECT team FROM table_name_90 WHERE sacks = "0" AND season < 1... |
what is solo when total tackles is 6? | CREATE TABLE table_name_82 (solo VARCHAR, total_tackles VARCHAR) | SELECT solo FROM table_name_82 WHERE total_tackles = "6" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_82 (solo VARCHAR, total_tackles VARCHAR) Question: what is solo when total tackles is 6? [/INST] SELECT solo FROM table_name_82 WHERE total_tackles = "6" </s> |
How many FA cup goals did dick taylor score in the year that he had 0 league goals? | CREATE TABLE table_name_10 (fa_cup_goals INTEGER, name VARCHAR, league_goals VARCHAR) | SELECT MIN(fa_cup_goals) FROM table_name_10 WHERE name = "dick taylor" AND league_goals < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_10 (fa_cup_goals INTEGER, name VARCHAR, league_goals VARCHAR) Question: How many FA cup goals did dick taylor score in the year that he had 0 league goals? [/INST] SELECT MIN(fa_cup_goals) FROM table_... |
What is the goals number of goals for the player who had 2 league cup apps and 0 FA cup goals? | CREATE TABLE table_name_64 (total_goals VARCHAR, league_cup_apps VARCHAR, fa_cup_goals VARCHAR) | SELECT COUNT(total_goals) FROM table_name_64 WHERE league_cup_apps = "2" AND fa_cup_goals < 0 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_64 (total_goals VARCHAR, league_cup_apps VARCHAR, fa_cup_goals VARCHAR) Question: What is the goals number of goals for the player who had 2 league cup apps and 0 FA cup goals? [/INST] SELECT COUNT(to... |
What was the result of week 11? | CREATE TABLE table_name_76 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_76 WHERE week = 11 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (result VARCHAR, week VARCHAR) Question: What was the result of week 11? [/INST] SELECT result FROM table_name_76 WHERE week = 11 </s> |
What is Lisbeth Trickett's time? | CREATE TABLE table_name_32 (time VARCHAR, name VARCHAR) | SELECT COUNT(time) FROM table_name_32 WHERE name = "lisbeth trickett" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_32 (time VARCHAR, name VARCHAR) Question: What is Lisbeth Trickett's time? [/INST] SELECT COUNT(time) FROM table_name_32 WHERE name = "lisbeth trickett" </s> |
What is the average rank for 57.05 time? | CREATE TABLE table_name_61 (rank INTEGER, time INTEGER) | SELECT AVG(rank) FROM table_name_61 WHERE time < 57.05 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (rank INTEGER, time INTEGER) Question: What is the average rank for 57.05 time? [/INST] SELECT AVG(rank) FROM table_name_61 WHERE time < 57.05 </s> |
What lane is from Great Britain and a 57.78 time? | CREATE TABLE table_name_95 (lane VARCHAR, nationality VARCHAR, time VARCHAR) | SELECT COUNT(lane) FROM table_name_95 WHERE nationality = "great britain" AND time > 57.78 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_95 (lane VARCHAR, nationality VARCHAR, time VARCHAR) Question: What lane is from Great Britain and a 57.78 time? [/INST] SELECT COUNT(lane) FROM table_name_95 WHERE nationality = "great britain" AND t... |
Who's the owner of Sanam Pao as the broadcasting area? | CREATE TABLE table_name_33 (owner VARCHAR, broadcasting_area VARCHAR) | SELECT owner FROM table_name_33 WHERE broadcasting_area = "sanam pao" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_33 (owner VARCHAR, broadcasting_area VARCHAR) Question: Who's the owner of Sanam Pao as the broadcasting area? [/INST] SELECT owner FROM table_name_33 WHERE broadcasting_area = "sanam pao" </s> |
Who's the owner of channel 3/32 (vhf/uhf) broadcasting 24-hours? | CREATE TABLE table_name_89 (owner VARCHAR, broadcasting_hours VARCHAR, channel___bkk__ VARCHAR) | SELECT owner FROM table_name_89 WHERE broadcasting_hours = "24-hours" AND channel___bkk__ = "3/32 (vhf/uhf)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_89 (owner VARCHAR, broadcasting_hours VARCHAR, channel___bkk__ VARCHAR) Question: Who's the owner of channel 3/32 (vhf/uhf) broadcasting 24-hours? [/INST] SELECT owner FROM table_name_89 WHERE broadca... |
Who's the owner of Thai PBS? | CREATE TABLE table_name_28 (owner VARCHAR, name VARCHAR) | SELECT owner FROM table_name_28 WHERE name = "thai pbs" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_28 (owner VARCHAR, name VARCHAR) Question: Who's the owner of Thai PBS? [/INST] SELECT owner FROM table_name_28 WHERE name = "thai pbs" </s> |
What's the network of BBTV Channel 7? | CREATE TABLE table_name_99 (network VARCHAR, name VARCHAR) | SELECT network FROM table_name_99 WHERE name = "bbtv channel 7" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_99 (network VARCHAR, name VARCHAR) Question: What's the network of BBTV Channel 7? [/INST] SELECT network FROM table_name_99 WHERE name = "bbtv channel 7" </s> |
What's the name of Channel 29 (UHF)? | CREATE TABLE table_name_65 (name VARCHAR, channel___bkk__ VARCHAR) | SELECT name FROM table_name_65 WHERE channel___bkk__ = "29 (uhf)" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (name VARCHAR, channel___bkk__ VARCHAR) Question: What's the name of Channel 29 (UHF)? [/INST] SELECT name FROM table_name_65 WHERE channel___bkk__ = "29 (uhf)" </s> |
What's the broadcasting hours of NBT? | CREATE TABLE table_name_47 (broadcasting_hours VARCHAR, network VARCHAR) | SELECT broadcasting_hours FROM table_name_47 WHERE network = "nbt" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_47 (broadcasting_hours VARCHAR, network VARCHAR) Question: What's the broadcasting hours of NBT? [/INST] SELECT broadcasting_hours FROM table_name_47 WHERE network = "nbt" </s> |
Who were the runners-up in the tournament on May 26, 1996? | CREATE TABLE table_name_93 (runner_s__up VARCHAR, date VARCHAR) | SELECT runner_s__up FROM table_name_93 WHERE date = "may 26, 1996" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_93 (runner_s__up VARCHAR, date VARCHAR) Question: Who were the runners-up in the tournament on May 26, 1996? [/INST] SELECT runner_s__up FROM table_name_93 WHERE date = "may 26, 1996" </s> |
Which tournament had a runner-up of Val Skinner? | CREATE TABLE table_name_20 (tournament VARCHAR, runner_s__up VARCHAR) | SELECT tournament FROM table_name_20 WHERE runner_s__up = "val skinner" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_20 (tournament VARCHAR, runner_s__up VARCHAR) Question: Which tournament had a runner-up of Val Skinner? [/INST] SELECT tournament FROM table_name_20 WHERE runner_s__up = "val skinner" </s> |
What was Rosie's winning score on Apr 29, 2001? | CREATE TABLE table_name_39 (winning_score VARCHAR, date VARCHAR) | SELECT winning_score FROM table_name_39 WHERE date = "apr 29, 2001" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_39 (winning_score VARCHAR, date VARCHAR) Question: What was Rosie's winning score on Apr 29, 2001? [/INST] SELECT winning_score FROM table_name_39 WHERE date = "apr 29, 2001" </s> |
What was the release date of the feature with a production number of 1018, BR 1352? | CREATE TABLE table_name_14 (release_date VARCHAR, production_number VARCHAR) | SELECT release_date FROM table_name_14 WHERE production_number = "1018, br 1352" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_14 (release_date VARCHAR, production_number VARCHAR) Question: What was the release date of the feature with a production number of 1018, BR 1352? [/INST] SELECT release_date FROM table_name_14 WHERE ... |
what is the name when the constituency number is 150? | CREATE TABLE table_name_70 (name VARCHAR, constituency_number VARCHAR) | SELECT name FROM table_name_70 WHERE constituency_number = "150" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_70 (name VARCHAR, constituency_number VARCHAR) Question: what is the name when the constituency number is 150? [/INST] SELECT name FROM table_name_70 WHERE constituency_number = "150" </s> |
what is the total number of electorates (2009) when the name is govindpura? | CREATE TABLE table_name_97 (number_of_electorates__2009_ VARCHAR, name VARCHAR) | SELECT COUNT(number_of_electorates__2009_) FROM table_name_97 WHERE name = "govindpura" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (number_of_electorates__2009_ VARCHAR, name VARCHAR) Question: what is the total number of electorates (2009) when the name is govindpura? [/INST] SELECT COUNT(number_of_electorates__2009_) FROM ta... |
What is the rank of Si Sa Ket province with less than 14 bronze medals? | CREATE TABLE table_name_85 (rank VARCHAR, province VARCHAR, bronze VARCHAR) | SELECT COUNT(rank) FROM table_name_85 WHERE province = "si sa ket" AND bronze < 14 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_85 (rank VARCHAR, province VARCHAR, bronze VARCHAR) Question: What is the rank of Si Sa Ket province with less than 14 bronze medals? [/INST] SELECT COUNT(rank) FROM table_name_85 WHERE province = "si... |
How many total medals does rank 3 with less than 40 silver medals? | CREATE TABLE table_name_86 (total INTEGER, silver VARCHAR, rank VARCHAR) | SELECT MAX(total) FROM table_name_86 WHERE silver < 40 AND rank = 3 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_86 (total INTEGER, silver VARCHAR, rank VARCHAR) Question: How many total medals does rank 3 with less than 40 silver medals? [/INST] SELECT MAX(total) FROM table_name_86 WHERE silver < 40 AND rank = ... |
How many average gold medals for provinces higher than rank 9 with 25 bronzes? | CREATE TABLE table_name_26 (gold INTEGER, bronze VARCHAR, rank VARCHAR) | SELECT AVG(gold) FROM table_name_26 WHERE bronze = 25 AND rank < 9 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_26 (gold INTEGER, bronze VARCHAR, rank VARCHAR) Question: How many average gold medals for provinces higher than rank 9 with 25 bronzes? [/INST] SELECT AVG(gold) FROM table_name_26 WHERE bronze = 25 A... |
What is the engine code for the Xdrive25i? | CREATE TABLE table_name_76 (engine_code VARCHAR, model VARCHAR) | SELECT engine_code FROM table_name_76 WHERE model = "xdrive25i" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_76 (engine_code VARCHAR, model VARCHAR) Question: What is the engine code for the Xdrive25i? [/INST] SELECT engine_code FROM table_name_76 WHERE model = "xdrive25i" </s> |
What is the torque on the model with power of hp (kw; ps)@5800? | CREATE TABLE table_name_80 (torque VARCHAR, power VARCHAR) | SELECT torque FROM table_name_80 WHERE power = "hp (kw; ps)@5800" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_80 (torque VARCHAR, power VARCHAR) Question: What is the torque on the model with power of hp (kw; ps)@5800? [/INST] SELECT torque FROM table_name_80 WHERE power = "hp (kw; ps)@5800" </s> |
What is the torque when engine code is N46B20 and power is ps (kw; hp)@6400? | CREATE TABLE table_name_97 (torque VARCHAR, engine_code VARCHAR, power VARCHAR) | SELECT torque FROM table_name_97 WHERE engine_code = "n46b20" AND power = "ps (kw; hp)@6400" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_97 (torque VARCHAR, engine_code VARCHAR, power VARCHAR) Question: What is the torque when engine code is N46B20 and power is ps (kw; hp)@6400? [/INST] SELECT torque FROM table_name_97 WHERE engine_cod... |
What is the power for the model xdrive28i sdrive28i? | CREATE TABLE table_name_18 (power VARCHAR, model VARCHAR) | SELECT power FROM table_name_18 WHERE model = "xdrive28i sdrive28i" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_18 (power VARCHAR, model VARCHAR) Question: What is the power for the model xdrive28i sdrive28i? [/INST] SELECT power FROM table_name_18 WHERE model = "xdrive28i sdrive28i" </s> |
What is the model that was made in the years 2011 2012-? | CREATE TABLE table_name_27 (model VARCHAR, years VARCHAR) | SELECT model FROM table_name_27 WHERE years = "2011 2012-" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_27 (model VARCHAR, years VARCHAR) Question: What is the model that was made in the years 2011 2012-? [/INST] SELECT model FROM table_name_27 WHERE years = "2011 2012-" </s> |
What is the engine code for the model xdrive35i? | CREATE TABLE table_name_9 (engine_code VARCHAR, model VARCHAR) | SELECT engine_code FROM table_name_9 WHERE model = "xdrive35i" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_9 (engine_code VARCHAR, model VARCHAR) Question: What is the engine code for the model xdrive35i? [/INST] SELECT engine_code FROM table_name_9 WHERE model = "xdrive35i" </s> |
What is the Athlete from Burbank High School? | CREATE TABLE table_name_25 (athlete VARCHAR, school VARCHAR) | SELECT athlete FROM table_name_25 WHERE school = "burbank high school" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (athlete VARCHAR, school VARCHAR) Question: What is the Athlete from Burbank High School? [/INST] SELECT athlete FROM table_name_25 WHERE school = "burbank high school" </s> |
What is the Date of the Athlete from Ferris High School? | CREATE TABLE table_name_17 (date VARCHAR, school VARCHAR) | SELECT date FROM table_name_17 WHERE school = "ferris high school" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (date VARCHAR, school VARCHAR) Question: What is the Date of the Athlete from Ferris High School? [/INST] SELECT date FROM table_name_17 WHERE school = "ferris high school" </s> |
What is the Athlete from Riverbank, California? | CREATE TABLE table_name_67 (athlete VARCHAR, city VARCHAR) | SELECT athlete FROM table_name_67 WHERE city = "riverbank, california" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_67 (athlete VARCHAR, city VARCHAR) Question: What is the Athlete from Riverbank, California? [/INST] SELECT athlete FROM table_name_67 WHERE city = "riverbank, california" </s> |
What is the Date of the Player from Marshfield High School? | CREATE TABLE table_name_63 (date VARCHAR, school VARCHAR) | SELECT date FROM table_name_63 WHERE school = "marshfield high school" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_63 (date VARCHAR, school VARCHAR) Question: What is the Date of the Player from Marshfield High School? [/INST] SELECT date FROM table_name_63 WHERE school = "marshfield high school" </s> |
What is the School of the Player with a Date of June 4, 2011? | CREATE TABLE table_name_72 (school VARCHAR, date VARCHAR) | SELECT school FROM table_name_72 WHERE date = "june 4, 2011" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_72 (school VARCHAR, date VARCHAR) Question: What is the School of the Player with a Date of June 4, 2011? [/INST] SELECT school FROM table_name_72 WHERE date = "june 4, 2011" </s> |
What episodes was the show クãƒã‚µã‚® shown on TBS? | CREATE TABLE table_name_62 (episodes VARCHAR, tv_station VARCHAR, japanese_title VARCHAR) | SELECT episodes FROM table_name_62 WHERE tv_station = "tbs" AND japanese_title = "クãƒã‚µã‚®" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_62 (episodes VARCHAR, tv_station VARCHAR, japanese_title VARCHAR) Question: What episodes was the show クãƒã‚µã‚® shown on TBS? [/INST] SELECT episodes FROM table_name_62 WHERE tv_station = "tbs" AND japane... |
What is the Romanji Title of a show on TBS with less than 11 episodes? | CREATE TABLE table_name_43 (romaji_title VARCHAR, tv_station VARCHAR, episodes VARCHAR) | SELECT romaji_title FROM table_name_43 WHERE tv_station = "tbs" AND episodes < 11 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_43 (romaji_title VARCHAR, tv_station VARCHAR, episodes VARCHAR) Question: What is the Romanji Title of a show on TBS with less than 11 episodes? [/INST] SELECT romaji_title FROM table_name_43 WHERE tv... |
What is the total number of episodes for クãƒã‚µã‚®? | CREATE TABLE table_name_13 (episodes VARCHAR, japanese_title VARCHAR) | SELECT COUNT(episodes) FROM table_name_13 WHERE japanese_title = "クãƒã‚µã‚®" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_13 (episodes VARCHAR, japanese_title VARCHAR) Question: What is the total number of episodes for クãƒã‚µã‚®? [/INST] SELECT COUNT(episodes) FROM table_name_13 WHERE japanese_title = "クãƒã‚µã‚®" </s> |
What are the average ratings for プリマダム? | CREATE TABLE table_name_24 (average_ratings VARCHAR, japanese_title VARCHAR) | SELECT average_ratings FROM table_name_24 WHERE japanese_title = "プリマダム" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_24 (average_ratings VARCHAR, japanese_title VARCHAR) Question: What are the average ratings for プリマダム? [/INST] SELECT average_ratings FROM table_name_24 WHERE japanese_title = "プリマダム" </s> |
Which Score-Final has a Rank-Final of 2, and a Year smaller than 2008? | CREATE TABLE table_name_42 (score_final INTEGER, rank_final VARCHAR, year VARCHAR) | SELECT SUM(score_final) FROM table_name_42 WHERE rank_final = 2 AND year < 2008 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_42 (score_final INTEGER, rank_final VARCHAR, year VARCHAR) Question: Which Score-Final has a Rank-Final of 2, and a Year smaller than 2008? [/INST] SELECT SUM(score_final) FROM table_name_42 WHERE ran... |
How many years have a Rank-Final smaller than 7, and a Competition Description of olympic games, and a Score-Final smaller than 186.525? | CREATE TABLE table_name_22 (year INTEGER, score_final VARCHAR, rank_final VARCHAR, competition_description VARCHAR) | SELECT SUM(year) FROM table_name_22 WHERE rank_final < 7 AND competition_description = "olympic games" AND score_final < 186.525 | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_22 (year INTEGER, score_final VARCHAR, rank_final VARCHAR, competition_description VARCHAR) Question: How many years have a Rank-Final smaller than 7, and a Competition Description of olympic games, a... |
Which Score-Final has an Apparatus of floor exercise? | CREATE TABLE table_name_61 (score_final INTEGER, apparatus VARCHAR) | SELECT MAX(score_final) FROM table_name_61 WHERE apparatus = "floor exercise" | <s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_61 (score_final INTEGER, apparatus VARCHAR) Question: Which Score-Final has an Apparatus of floor exercise? [/INST] SELECT MAX(score_final) FROM table_name_61 WHERE apparatus = "floor exercise" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.