数据库整理
This commit is contained in:
parent
6fce8d4c1f
commit
eb03ca26f9
20
数据库/头歌/SQLServer第三章 - 数据的查询(一).sh
Normal file
20
数据库/头歌/SQLServer第三章 - 数据的查询(一).sh
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
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
|
Loading…
x
Reference in New Issue
Block a user