Your application or website rely on your database to deliver information about products and services to your customers. You can’t afford to have your database lose performance, lose availability or become unresponsive – even for just a few minutes.
SELECT COALESCE (CAST(SubscriberID AS varchar(8)), 'Grand Total:') AS SubscriberID, SUM(PaymentAmount) AS SubcriberTotal, SUM(PaymentAmount) * 0.0289 AS CreditCardFee, COUNT(PaymentID) * 0.30 AS TransactionFee FROM dbo.vTransactions GROUP BY SubscriberID WITH rollup
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.