We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
DELIMITER $$ CREATE FUNCTION get_author_cost(auth_id SMALLINT(5)) RETURNS DECIMAL(10,2) BEGIN DECLARE dTotal DECIMAL(10,2); SELECT @dTotal:=SUM(price) FROM books WHERE author = auth_id; RETURN dTotal; END $$ DELIMITER ;
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.