刘浩 2016270380
代码
USE [store]
GO
/****** Object: Table [dbo].[商品] Script Date: 04/16/2018 20:04:29 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[商品](
[商品号] varchar NULL,
[商品名称] varchar NULL,
[价格] varchar NULL,
[仓库号] varchar NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
INSERT [dbo].[商品] ([商品号], [商品名称], [价格], [仓库号]) VALUES (N'1', N'风衣', N'155', N'123')
INSERT [dbo].[商品] ([商品号], [商品名称], [价格], [仓库号]) VALUES (N'2', N'休闲裤', N'199', N'456')
INSERT [dbo].[商品] ([商品号], [商品名称], [价格], [仓库号]) VALUES (N'3', N'连衣裙', N'433', N'789')
INSERT [dbo].[商品] ([商品号], [商品名称], [价格], [仓库号]) VALUES (N'4', N'超短裤', N'288', N'987')
/****** Object: Table [dbo].[仓库] Script Date: 04/16/2018 20:04:29 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[仓库](
[仓库号] varchar NULL,
[地点] varchar NULL,
[面积] [float] NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
GO
INSERT [dbo].[仓库] ([仓库号], [地点], [面积]) VALUES (N'123', N'南京', 12)
INSERT [dbo].[仓库] ([仓库号], [地点], [面积]) VALUES (N'456', N'成都', 14)
INSERT [dbo].[仓库] ([仓库号], [地点], [面积]) VALUES (N'789', N'上海', 16)