List down the brand names of root beer that gained a 5-star rating from a customer's review in 2013. Calculate the unit profit available to wholesalers for each brand.
5-star rating refers to StarRating = 5; in 2013 refers to ReviewDate LIKE '2013%'; unit profit available to wholesalers = SUBTRACT(CurrentRetailPrice, WholesaleCost);
SELECT T1.BrandName, T1.CurrentRetailPrice - T1.WholesaleCost AS result FROM rootbeerbrand AS T1 INNER JOIN rootbeerreview AS T2 ON T1.BrandID = T2.BrandID WHERE T2.StarRating = 5 AND T2.ReviewDate BETWEEN '2013-01-01' AND '2013-12-31'
database name:db_id beer_factory
customers table customers Cols: customer id dtype integer, first name dtype text, last name dtype text, street address dtype text, City dtype text, State dtype text, zip code dtype integer, Email dtype text, phone number dtype text, first purchase date dtype date, subscribed to email list dtype text, Gender dtype text, 
geolocation table geolocation Cols: location id dtype integer, Latitude dtype real, Longitude dtype real, 
location table location Cols: location id dtype integer, location name dtype text, street address dtype text, City dtype text, State dtype text, zip code dtype integer, 
rootbeerbrand table rootbeerbrand Cols: brand id dtype integer, brand name dtype text, first brewed year dtype integer, brewery name dtype text, City dtype text, State dtype text, Country dtype text, Description dtype text, cane sugar dtype text, corn syrup dtype text, Honey dtype text, artificial sweetener dtype text, Caffeinated dtype text, Alcoholic dtype text, available in cans dtype text, available in bottles dtype text, available in kegs dtype text, Website dtype text, facebook page dtype text, Twitter dtype text, wholesale cost dtype real, current retail price dtype real, 
rootbeer table rootbeer Cols: root beer id dtype integer, brandid dtype integer, container type dtype text, location id dtype integer, purchase date dtype date, 
rootbeerreview table rootbeerreview Cols: customer id dtype integer, brand id dtype integer, star rating dtype integer, review date dtype date, Review dtype text, 
transaction table transaction Cols: transaction id dtype integer, credit card number dtype integer, customer id dtype integer, transaction date dtype date, credit card type dtype text, location id dtype integer, root beer id dtype integer, purchase price dtype real, 
