wiki:RelationalDesign

Version 10 (modified by 181085, 19 months ago) ( diff )

--

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

  • Admin(Admin_Id, Name, Surname, Email, Password)
  • Driver(Driver_Id, Name, Surname, Email, Password, Profile_Picture, Price_per_km, Status, is_Approved, Level,Rewards_Id*, Admin_Id*, Car_Id*)
  • Rewards(Rewards_Id, Grade, Num_grades)
  • Car(Car_Id, License_plate, Type_Id*)
  • Car_Type(Type_Id, Make, Model, Year)
  • Drive(Drive_Id, Status, Allow_Others, Driver_Id*, Head_Passenger_Id*, Car_Id*)
  • Payment(Payment_Id, Total_Sum_Payed, Drive_Id*)
  • Passenger(Passenger_Id, Name, Surname, Email, Password)
  • Passenger_Request_Drive(Passenger_Id*, Drive_Id*, Destination_coordinates, Grade, Km_travelled, Start_time, End_time, Pick_up_address_Id*)
  • Pick_Up_Address(Pick_up_address_Id, City, Street, Number, Location Coordinates)

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

Скриптата со која може да се креираат сите табели и релации, воедно и избришат.

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

Скриптата со која може да се пополнат сите табели и релации

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

No image "schema.JPG" attached to RelationalDesign

Attachments (3)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.