wiki:RelationalModel

Version 21 (modified by 153093, 5 weeks ago) ( diff )

--

Релациска шема (со мапирачка трансформација)

Ознаки

  • Примарните клучеви се означени со bold и underline
  • Надворешните клучеви се означени со *
  • Задолжителни атрибути, односно not null со bold

Табели

  • WineType (WineTypeId, WineTypeName, WineTypeDescription, WineTypeRegion)
  • Wine (WineId, !WineTypeID*(WineType), WineName, BasePrice, YearProduced)
  • CustomerType (CustomerTypeId, CustomerTypeName, CustomerTypeDescription)
  • Customer (CustomerId, CustomerTypeId*(CustomerType), AddressId*(Address), CustomerName, CustomerEmail)
  • VehicleType (VehicleTypeId, VehicleTypeName)
  • Vehicle (VehicleId, VehicleTypeId*(VehicleType), Make, Model, Registration, Capacity)
  • ExpenseType (ExpenseTypeId, ExpenseTypeName, ExpenseTypeDescription)
  • Employee (EmployeeId, EmployeeName, EmployeeSurname)
  • Warehouse (WarehouseId, AddressId*(Address), WarehouseName)
  • Address (AddressId, Street, City, PostCode, PhoneNumber, StreetNumber)
  • Shipment (ShipmentId, EmployeeId*(Employee), PaymentId*(Payment), VehicleId*(Vehicle), ShipmentDate)
  • Payment (PaymentId, PaymentStatus)
  • Load (LoadId, ShipmentId*(Shipment),CustomerId*(Customer), WineId*(Wine), Quantity, BasePrice, AgreedPrice)

DDL скрипта за бришење на табелите и креирање на табелите

во тек...

DML скрипта за полнење на табелите со податоци

во тек...

Релациски дијаграм изваден од DBeaver

во тек...

Attachments (6)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.