compudude86
IS-IT--Management
- Jun 1, 2006
- 46
ok, i have a mysql query,
(CREATE VIEW `Book`.`view` AS
SELECT ID, Description, Size, Pack, List, Net, Discount, NetBtl, SRP, Vendor, Date, CONCAT(ROUND((srp-netbtl)*100/srp),'%') as GPM FROM Products
and i need to add in the formulas (List-Discount=Net)and (Net/Pack=NetBtl) along with it, but all attempts have caused syntax errors. also, i want to add dollar signs in front of the numbers on list,net,discount,netbtl,and SRP. any help would be appreciated.
(CREATE VIEW `Book`.`view` AS
SELECT ID, Description, Size, Pack, List, Net, Discount, NetBtl, SRP, Vendor, Date, CONCAT(ROUND((srp-netbtl)*100/srp),'%') as GPM FROM Products
and i need to add in the formulas (List-Discount=Net)and (Net/Pack=NetBtl) along with it, but all attempts have caused syntax errors. also, i want to add dollar signs in front of the numbers on list,net,discount,netbtl,and SRP. any help would be appreciated.