Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The Database assignment consist on a project of supporting the tourism in Albania. This project will provide an online Transportation Management System Database Design. The

The Database assignment consist on a project of supporting the tourism in Albania. This project will provide an online Transportation Management System Database Design. The idea of the project starts with the online reservation/payment of the client, picking up the client/tourist at the airport/point of entrance in Albania, transporting to the destination residence and vice versa.This is supposed to be a Pilot project for Gjirokastra City. Objective:Design and implement a relational database for an online transportation management system to facilitate the booking, tracking, and management of transportation services.Requirements:Entity-Relationship Diagram (ERD):Create a comprehensive ERD for the online transportation system.Identify entities such as User, Driver, Vehicle, Trip, Booking, and Payment. Define attributes and relationships between entities.Normalization:Apply normalization techniques to ensure the database is in at least 3rd Normal Form (3NF).Explain the normalization process and justify the choices made in the context of transportation data.Tables Creation:Implement the database tables based on the ERD and normalization results.Include primary keys, foreign keys, and appropriate data types for each attribute.Data Population:Populate the tables with sample data to demonstrate the functionality of the database.Include scenarios like multiple trips per user, driver availability, and various payment methods.Queries:Develop SQL queries to perform the following operations:Retrieve a list of all trips for a specific user.Display details of a particular trip, including the driver, vehicle, and payment information.Find the total earnings for a specific driver within a given time period.Update the status of a trip (e.g., from booked to completed).Identify drivers available in a specific location.Views and Indexing:Create at least two views to simplify common queries, such as a view showing all active bookings. Explain why these views are useful.Implement appropriate indexing to optimize the performance of certain queries.Triggers:Implement a trigger to update the status of a driver (e.g., from available to busy) when they accept a trip.Security:Implement basic security measures, such as user roles and permissions, to control access to sensitive information.Documentation:Provide documentation that includes a description of the database schema, relationships, and the purpose of each table. Include instructions on how to set up the database.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intranet And Web Databases For Dummies

Authors: Paul Litwin

1st Edition

0764502212, 9780764502217

More Books

Students also viewed these Databases questions

Question

What are nominal scales used for?

Answered: 1 week ago

Question

Assess three steps in the selection process.

Answered: 1 week ago

Question

Identify the steps in job analysis.

Answered: 1 week ago