Gonese Data Base
Gonese Data Base
Partial dependencies:
- InvoiceNo → SaleDate, VendorCode, VendorName
- ProductNo → ProductDescription, ProductPrice
Based on the current tables obtained from 2NF, we can identify the
transitive dependencies.
Transitive dependency:
- VendorCode → VendorName
[PK] denotes the primary key, and [FK] denotes the foreign key.
NUMBER 2
b...
tblTruckBookings
tblTrucks
CREATE TABLE tblTrucks ( SellerID INT, BuyerID INT, Truck
VARCHAR(50));
C. …..a query that retrieves the Last Names and the Addresses of
all owners whose last names start with “M” or owners who live in
Shamva
SELECT OwnerLastName, AddressFROM tblTruckOwnersWHERE OwnerLastName