基本SELECT查询

This commit is contained in:
GuanM 2024-11-19 15:44:09 +08:00
parent 155d5aa380
commit 5ce0db0c27

View File

@ -0,0 +1,22 @@
USE Mall
GO
SET NOCOUNT ON
---------- retrieving multiple column ----------
-- ********** Begin ********** --
SELECT prod_name, prod_price
FROM Products;
-- ********** End ********** --
GO
---------- retrieving all column ----------
-- ********** Begin ********** --
SELECT *
FROM Products;
-- ********** End ********** --
GO