Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CREATE DATABASE XCompanyGOUSE XCompanyCREATE TABLE Customer ( CId int IDENTITY ( 1 , 2 ) PRIMARY KEY , FirstName Varchar ( 5 0 ) ,

CREATE DATABASE XCompanyGOUSE XCompanyCREATE TABLE Customer(CId int IDENTITY(1,2) PRIMARY KEY ,FirstName Varchar(50),LastName Varchar(50));GOCREATE TABLE Employee(EId int IDENTITY(3,2) PRIMARY KEY ,Fname Varchar(50),LName Varchar(50));GOINSERT INTO Customer VALUES ('A','B');INSERT INTO Customer VALUES ('C','D');INSERT INTO Customer VALUES ('E','F');INSERT INTO Employee VALUES ('X','Y');GOINSERT INTO Employee VALUES ('K','M');INSERT INTO Employee VALUES ('P','Q');INSERT INTO Employee VALUES ('X','Y');GO--Write the query using SET Operator

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions