Dbs Project Ddlscript
Dbs Project Ddlscript
@i int
as
begin
end
@customer_id INT,
@product_id INT,
@quantity INT
AS
BEGIN
UPDATE Cart
END;
@customer_id INT,
@product_id INT,
@quantity INT
AS
BEGIN
-- Check if the item already exists in the cart for the customer
FROM Cart
BEGIN
UPDATE Cart
END
ELSE
BEGIN
END
END;
@customer_id INT
AS
BEGIN
SELECT
p.pid ,
p.pname,
p.pprice,
c.quantity,
FROM Cart c
END;
@customer_id INT,
@product_id varchar(50)
AS
BEGIN
END;
@customer_id INT
AS
BEGIN
END
TRIGGER
create trigger cartmauwali on cart
after insert
As
begin
end