Version 1 (modified by 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*)
- Type(Type_Id, Make*, Model, Year*)
- Drive(Drive_Id, Destination Coordinates, Grade, Status, Km_travelled, Pick_up_address_Id*, Payment_Id)
- Pick_Up_Address(Pick_up_address_Id, City, Street, Number, Location Coordinates)
- Payment(Payment_Id, Sum_Payed*, Drive_Id*)
- Passenger(Passenger_Id, Name*, Surname*, Email*, Password*)
- Driver_Confirm_Drive(Driver_Id*, Drive_Id*)
- Passenger_Request_Drive(Passenger_Id*, Drive_Id*)
DDL скрипта за бришење на табелите и креирање на табелите
DML скрипта за полнење на табелите со податоци
Релациски дијаграм изваден од DBeaver
Attachments (3)
- polnenje.sql (3.7 KB ) - added by 2 years ago.
- kreiranje.sql (3.4 KB ) - added by 21 months ago.
- schema2.JPG (175.7 KB ) - added by 21 months ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.