wiki:SQL & DDL

Version 26 (modified by 213231, 2 days ago) ( diff )

--

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

Customer

Employee

Product

Truck

  • ProductID (PK, FK → Product)
  • HP

Trailer

  • ProductID (PK, FK → Product)
  • Capacity

Procurement

  • TransactionID (PK)
  • EmployeeID (FK → Employee)
  • CustomerID (FK → Customer)
  • ProductID (FK → Product)
  • ProcurementDate
  • Quantity
  • Status
  • Notified
  • GroupID

T_Type

CustomerFeedback

  • FeedbackID (PK)
  • TransactionID (FK)
  • CustomerID (FK)
  • ProductID (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

Final

Attachments (10)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.