1.12: Solutions
1.1 Create Database Solution
CREATE DATABASE SQL_Library
GO1.2 Drop Database Solution
USE master;
GO
IF EXISTS(SELECT * from sys.databases WHERE name='SQL_Library')
BEGIN
DROP DATABASE SQL_Library;
END1.3 Create Table Solution
CREATE TABLE dbo.Products
(ProductID int PRIMARY KEY NOT NULL,
ProductName varchar(25) NOT NULL,
Price money NULL,
ProductDescription text NULL);1.4 Insert Solution
1.5 Update Solution
1.6 Read Solution
1.7 Alter Solution
1.8 Customer Table Solution

1.9 Diagramming Notation Solution

1.10 Foreign Keys Solution

1.11 Join Solution
Last updated