USE [J3.L.P0013] GO /****** Object: Table [dbo].[Contact] Script Date: 3/9/2021 12:31:12 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Contact]( [id] [int] NULL, [address] [nvarchar](255) NULL, [tel] [nvarchar](15) NULL, [email] [nvarchar](255) NULL, [gmap] [nvarchar](max) NULL ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] GO /****** Object: Table [dbo].[Menu] Script Date: 3/9/2021 12:31:12 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Menu]( [id] [int] IDENTITY(1,1) NOT NULL, [name] [nvarchar](255) NULL, [price] [money] NULL, [description] [nvarchar](max) NULL, CONSTRAINT [PK_Menu] PRIMARY KEY CLUSTERED ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] GO /****** Object: Table [dbo].[Opening Hour] Script Date: 3/9/2021 12:31:12 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Opening Hour]( [weekday] [nvarchar](50) NOT NULL, [start] [int] NULL, [end] [int] NULL, CONSTRAINT [PK_Opening Hour] PRIMARY KEY CLUSTERED ( [weekday] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[Post] Script Date: 3/9/2021 12:31:12 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Post]( [id] [int] IDENTITY(1,1) NOT NULL, [title] [nvarchar](500) NULL, [image_path] [nvarchar](1000) NULL, [content] [nvarchar](4000) NULL, CONSTRAINT [PK_Post] PRIMARY KEY CLUSTERED ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[Social] Script Date: 3/9/2021 12:31:12 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[Social]( [id] [int] IDENTITY(1,1) NOT NULL, [name] [nvarchar](50) NULL, [icon] [nvarchar](500) NULL, CONSTRAINT [PK_Social] PRIMARY KEY CLUSTERED ( [id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY] ) ON [PRIMARY] GO /****** Object: Table [dbo].[TotalViews] Script Date: 3/9/2021 12:31:12 AM ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[TotalViews]( [id] [int] NULL, [view] [int] NULL ) ON [PRIMARY] GO INSERT [dbo].[Contact] ([id], [address], [tel], [email], [gmap]) VALUES (1, N'The Sushi Restaurant
New York, NY, USA', N'12345', N'ninhtbmhe141325@fpt.edu.vn', N'image/gmap.png') GO SET IDENTITY_INSERT [dbo].[Menu] ON GO INSERT [dbo].[Menu] ([id], [name], [price], [description]) VALUES (1, N'Claritas est etiam processus', 15.0000, N'Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.') GO INSERT [dbo].[Menu] ([id], [name], [price], [description]) VALUES (2, N'Duis autem vel eum iriure dolor.', 20.0000, N'Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.') GO INSERT [dbo].[Menu] ([id], [name], [price], [description]) VALUES (3, N'Eodem modo typi, qui nunc nobis videntur.', 25.0000, N'Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.') GO INSERT [dbo].[Menu] ([id], [name], [price], [description]) VALUES (4, N'Gà luộc', 125.0000, N'Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.') GO INSERT [dbo].[Menu] ([id], [name], [price], [description]) VALUES (5, N'Pizza', 40.0000, N'Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.') GO INSERT [dbo].[Menu] ([id], [name], [price], [description]) VALUES (6, N'Gà rán', 55.0000, N'Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.') GO INSERT [dbo].[Menu] ([id], [name], [price], [description]) VALUES (7, N'Đồ ăn lạnh', 15.0000, N'Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.') GO INSERT [dbo].[Menu] ([id], [name], [price], [description]) VALUES (8, N'Vàng 24k', 440.0000, N'Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.') GO INSERT [dbo].[Menu] ([id], [name], [price], [description]) VALUES (9, N'Snack cay nhất thế giới', 999.0000, N'Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.') GO INSERT [dbo].[Menu] ([id], [name], [price], [description]) VALUES (10, N'Cái này không ăn dc', 55.0000, N'Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.') GO SET IDENTITY_INSERT [dbo].[Menu] OFF GO SET IDENTITY_INSERT [dbo].[Post] ON GO INSERT [dbo].[Post] ([id], [title], [image_path], [content]) VALUES (1, N'24 types of sushi rolls', N'post-image.jpg', N'Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum.') GO INSERT [dbo].[Post] ([id], [title], [image_path], [content]) VALUES (2, N'21 types of sushi rolls', N'post-image.jpg', N'Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum.') GO INSERT [dbo].[Post] ([id], [title], [image_path], [content]) VALUES (3, N'22 types of sushi rolls', N'post-image.jpg', N'Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum.') GO INSERT [dbo].[Post] ([id], [title], [image_path], [content]) VALUES (4, N'23 types of sushi rolls', N'post-image.jpg', N'Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Nam liber tempor cum soluta nobis eleifend option congue nihil imperdiet doming id quod mazim placerat facer possim assum.') GO SET IDENTITY_INSERT [dbo].[Post] OFF GO SET IDENTITY_INSERT [dbo].[Social] ON GO INSERT [dbo].[Social] ([id], [name], [icon]) VALUES (1, N'Facebook', N'fb.jpg') GO INSERT [dbo].[Social] ([id], [name], [icon]) VALUES (2, N'Twitter', N'tw.jpg') GO INSERT [dbo].[Social] ([id], [name], [icon]) VALUES (3, N'Google+', N'gg.jpg') GO SET IDENTITY_INSERT [dbo].[Social] OFF GO INSERT [dbo].[TotalViews] ([id], [view]) VALUES (1, 2) GO