The Markhor Motor Car Showroom Database is designed to manage and store information related to car inventory, sales, customers, and employees. This database facilitates the efficient handling of showroom operations, enabling streamlined processes and better decision-making.
User name "sajid" Password "123"
The database comprises several tables, each dedicated to storing specific types of information. Below is an overview of the main tables:
- Table Name:
cars
- Description: Stores detailed information about each car available in the showroom.
- Columns:
car_id
: Unique identifier for each car (Primary Key)make
: The manufacturer of the car (e.g., Toyota, Honda)model
: The model of the car (e.g., Corolla, Civic)year
: The manufacturing year of the carcolor
: The color of the carprice
: The price of the carengine_type
: The type of engine (e.g., Petrol, Diesel, Electric)mileage
: The mileage of the caravailability_status
: Whether the car is available for sale or sold
- Table Name:
customers
- Description: Contains information about customers who have made purchases or inquiries.
- Columns:
customer_id
: Unique identifier for each customer (Primary Key)first_name
: Customer's first namelast_name
: Customer's last nameemail
: Customer's email addressphone_number
: Customer's contact numberaddress
: Customer's residential addresspurchase_history
: Details of cars purchased by the customer (Foreign Key)
- Table Name:
sales
- Description: Records all transactions made in the showroom.
- Columns:
sale_id
: Unique identifier for each sale (Primary Key)car_id
: Reference to the car sold (Foreign Key)customer_id
: Reference to the customer who made the purchase (Foreign Key)sale_date
: Date of the saleamount
: Total amount of the sale
- Table Name:
employees
- Description: Manages employee information for showroom staff.
- Columns:
employee_id
: Unique identifier for each employee (Primary Key)first_name
: Employee's first namelast_name
: Employee's last nameposition
: Job title or role (e.g., Sales Manager, Technician)hire_date
: Date of hiringsalary
: Employee's salarycontact_number
: Employee's contact number
To set up the Markhor Motor Car Showroom Database:
- Database Software: Ensure that you have MS OFFICE install on your system
It have user interface that help the user to navigate and learn how to use it
Use SQL INSERT
statements or a user interface provided by your application to add data to the tables. Ensure that data is entered accurately to maintain database integrity.
You can perform various queries to retrieve data from the database, such as:
- Listing all available cars
- Viewing customer purchase history
- Checking employee details
Use SQL UPDATE
statements to modify existing records in the database, such as updating car prices or customer contact details.
Use SQL DELETE
statements to remove records from the database if necessary. Be cautious when deleting data to avoid unintentional loss of important information.
If you wish to contribute to the development or improvement of this database, please fork the repository and submit a pull request with your changes. Ensure that your contributions are well-documented and tested.
This project is licensed under the UOC Project License.
For any inquiries or support, please contact "[email protected]".