wiki:SQL & DDL

Version 7 (modified by 213231, 3 weeks ago) ( diff )

--

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

Customer

Employee

Product

Truck / Trailer

  • Truck: ProductID (FK), HP
  • Trailer: ProductID (FK), Capacity

Procurement

  • TransactionID (PK)
  • EmployeeID (FK)
  • CustomerID (FK)
  • ProductID (FK)
  • ProcurementDate

Quantity

T_Type

CustomerFeedback

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

FeedbackDate

  • Maintenance
  • MainID (PK)
    • EmployeeID (FK)
  • ProductID (FK)
  • MainDate

Views

  • CustomerID (PK, FK)
  • ProductID (PK, FK)

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

V1__init_db.txt

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

[ V1init_db.txt]

Attachments (7)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.