wiki:SQL & DDL

Релациска шема

Customer

Employee

Product

  • ProductID (PK)
  • PrcurementID (FK -> Prcurement)
  • Model
  • Price
  • LicensePlate
  • Status

Truck

  • ProductID (PK, FK → Product)
  • HP

Trailer

  • ProductID (PK, FK → Product)
  • Capacity

Procurement

  • TransactionID (PK)
  • EmployeeID (FK → Employee)
  • ProcurementDate
  • Quantity
  • Status
  • Notified
  • GroupID

T_Type

CustomerFeedback

  • FeedbackID (PK)
  • CustomerID (FK)
  • Rating (1-5)
  • Comment
  • FeedbackDate

Maintenance

Views

  • CustomerID (PK, FK → Customer)
  • ProductID (PK, FK → Product)
  • Wallet

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

Truck Simulator DDL Final

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

DML Final

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


Last modified 10 months ago Last modified on 09/30/25 20:27:40

Attachments (14)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.