0% found this document useful (0 votes)
4 views

mubashir upload

Uploaded by

hejaz589
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

mubashir upload

Uploaded by

hejaz589
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

ment No.

02
Total Marks: 20
ER Spring 24
Management System Due Date: 24-June-2024

ore solving & submitting the assignment solution:


any credit (zero marks) if:
ate.
T open or the file is corrupt.
nts or ditto copy from handouts or the internet).
ion is in .doc or .docx format. Other formats such as scanned
be accepted.

of Normalization.
QL queries / commands.

before 24-June-2024.

customers across the country. The system displays available


nd accessories, along with their images, names, prices, number

registered customers and wholesalers can interact with the


ed on the site, and they can also place customized orders for
, accessories, and quantities. Customers can specify a required
also view and download their invoice.
ess the orders, as well as generate invoices. The manager is
nicians and view allocated order details. Technicians can view
us as it progresses through the customization process.
o and convert it in 1st Normal Form.

Marks 5
Normal Form, you need to convert it into 1st Normal form.

Tec_Phone Tec_City
03001122334 Multan
03021122335
03000102034 Karachi
03211234567 Lahore
03013216547
03133214567 Islamabad

Tec_Phone Tec_City
03001122334 Multan
03021122335 Multan
03000102034 Karachi
03211234567 Lahore
03013216547 lahore
03133214567 Islamabad

Marks 15

each of the following statements in the given table. Write


g table.

SQL Command
REATE TABLE Technician (
TechnicianID INT PRIMARY KEY,
Name VARCHAR(100) NOT NULL,
Email VARCHAR(100),
Phone VARCHAR(20),
DepartmentID INT,
FOREIGN KEY (DepartmentID) REFERENCES
epartment(DepartmentID)

NSERT INTO Customers (CustomerID, Name, Email, Phone,


ddress)
ALUES ('C001', 'John Doe', '[email protected]', '123-456-
890', '123 Elm Street, Springfield');

ELETE FROM Orders


WHERE OrderDate < '2020-01-01';

PDATE Customers
ET Email = '[email protected]'
WHERE CustomerID = 'C002';

ELECT Name, Price


ROM Gadgets
WHERE Price > 5000;
gnment, contact at [email protected]

res # 18 to 30.
ubmitted on or before the due date 24-June-2024.

OOD LUCK

You might also like