wiki:RelationalDesign

Version 3 (modified by 181085, 2 years 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*, Share_sum_payed, Drive_Id*, Passenger_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

Attachments (3)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.