Retail_manager/RMData/dbo/Stored Procedures/spSaleSaleReport.sql

10 lines
257 B
MySQL
Raw Normal View History

CREATE PROCEDURE [dbo].[spSaleSaleReport]
AS
BEGIN
SET NOCOUNT ON;
SELECT [S].[SaleDate], [S].[SubTotal], [S].[Tax], [S].[Total], [U].FirstName, [U].LastName, [U].EmailAddress
FROM dbo.Sale AS S
INNER JOIN dbo.[User] AS U
ON S.CashierId = U.Id
END