DBMS Project on Student Management System

Student Management System is purely developed by using DBMS queries. The main functions involved to develop this project is developing ER diagram, DDL/DML, SQL constraints,  Retrieving data using the select function, Restrictions, and sorting functions,  Aggregate, and grouping, Single row function, Joins, and finally Subquery.

ER DIAGRAM OF STUDENT MANAGEMENT SYSTEM

DDL AND DML

1) Create a table name student and attribute of s_id, first last and middle name, address, email, city, and state.

2) Display the datatype of all attributes in the student table?

3) Insert values into the table student?

4) Change the datatype of s_id in the student table?

5) Update the city of s_id=001 to bby?

SQL CONSTRAINTS

1) Create a table name student with an attribute s_id that is not null?

2) Create a table name student with an attribute s_id that is unique?

3) Create a table name student with an attribute s_id which is a primary key?

4) Create a table name teacher with an attribute s_id which is a foreign key and team name?

5) Create a table name student and with an attributes city which a default constraints “KOLKATA”?

RETRIEVING DATA USING SELECT

1) Display all the columns of the table name course?

2) Display the columns c_name aliases course name of table name course?

3) Display the columns c_fee and c_name using concatenation and aliases course details of table name course?

4) Display the course fee and increase in course fee by 3000 where the course duration is 45_hr?

5) Remove the duplicate value from course duration with a student ID from the table name course?

RESTRICTIONS AND SORTING

1) Display the student ID and the first name from the table name student whose state is westbengal?

2) Display all the data of the table course whose course ID is ‘11’.

3) Display all the data of the table course whose course fee range is less than 100000?

4) Display the Lastname and city of the table student where the student’s first name starts with ‘a’ and consists of 4 characters?

5) Display the course fee of the table name course which is between 10000 to 50000?

AGGREGATE AND GROUPING

1) Display the average course fee for all the courses in the given table?

2) Display the minimum and maximum course fees in the given table?

3) Display the count number of course names from the table name course?

4) Display the total course fee in the table name course?

5) Display the student ID and minimum course fee from the course table and group by student ID having a course fee less than 102000 and sort the minimum course fee in descending order?

SINGLE ROW FUNCTION

1) Display the student ID and student first name and state from the student table where convert student first name and state into uppercase?

2) Display the student ID and student first name and state from the student table where convert student first name and state into lowercase?

3) Display the student ID and student state from table student and change the first character of all states to uppercase?

4) Display the student ID and student first name middle name last name together from the table student use the character-manipulation function?

5) Display the student ID and the length of the first name and the last name from the table student using the character-manipulation function.

JOINS

1) Display the registration number for the user’s table and the student’s first name on the table student use inner join?

2) Display the registration number for the user’s table and the student’s first name on the table student use left join and order by the first name.

3) Display the registration number for the user’s table and the student’s first name and last name from the table student use the right join and order by registration number.

4) Select all teachers and all courses in the given table using full join and order by teacher ID.

5) Select all students’ first names and last names and city in the given table using self-join and order by the city?

SUBQUERY

1) Display the first middle and last name of the student where the course fee is minimum?

2) Display the teacher ID and first middle and last name of the teacher where the course name is DBMS?

3) Display the phone number of the student of who’s registration number is 20?

4) Display the registration number who live in Jaipur?

5) Display teacher ID first name and phone number whose qualification is b.tech?

Restaurant Database Management System Project using C# & MS Access

Title: Restaurant Database Management System.

Topic Research and Executive Summary:

The Restaurant database Management System is an Enterprise Database project which has a few advantages where restaurants can improve customer relationships; Restaurant owners can know when the customers arrive most of the time which can enhance productivity. By using a Restaurant database Management System owners can have effective use of Human Resources. Due to this database system, we can manage time we can reduce human efficiency and errors, and get accurate information.

Statement of Work

Project Description:

This database system is developed in such a way that restaurant can get accurate details of both offline and online ordering through mobile or web application so customer gets a notification if the order is ready for pickup and customer can track the order if he/she orders online for home delivery.

Due to this database management system, we can reduce the complexity between restaurant management and customers.

Project Challenge:

  1. Collecting the information from the Restaurant owner visa by reading articles or interviewing the store manager of the company.
  2. Learning C# to create an application to connect with Microsoft access. C# is a programming language that is simple, and modern. The language and its implementations provide strong support to software engineering principles. C# is familiar to C and C++
  1. Microsoft Access is a database management system from Microsoft that combines the relational Microsoft jet database engine with a Graphical user interface and software tools.
  1. Must learn to design a logical relational database                                                              
  1. Create ER diagram

Project Description and Milestones:

Stage1: Analysis: The main objective of the database is to manage the details of the staff of the restaurant, the customer who visits the restaurant to order and take away behavior that the customers who order online, and manage the delivery system where the restaurant can assign delivery boys to deliver the food the customer.

Stage2: logical design: The Database consists of 5 data tables which are

Restaurants in different locations.

The store manager who takes care of the restaurant manages the staff and the daily supplies like food items

The staff are of different types such as cashier, waiter, receptionist, cleaner

Customers who order online, who visit the store and have dine-in, and others who take away

Delivery guy who takes the orders and delivers the food to the customer

Stage3: physical design:

The Restaurant is located in different locations so it has a restaurant id and restaurant address.

The manager data table has the manager id, manager name, manager age and management experience, and manager address.

The Staff has staff id, staff age, staff assigned work, staff address, and staff experience.

Data table for a delivery system where it has details of delivery boy, location of the delivery, order details

The customer data table has customer order details and customer names.

The customer ordered online then the data table has the customer’s address, customer name, order details, and delivery boy id.

Stage 4: Implementation: Create the application interface using C# programming language, and create a database using Microsoft access.

Stage5: Modification and Maintenance:

Modification and maintenance of the database are done in the Microsoft database.

Methodology and implementation plan:

This database management system has 4 phases, design, coding, testing, and maintenance. By use of RAD methodology, these stages are implemented.

Step 1: Need to create a design a database with five data tables.

Step 2: By using C# programming we need to create a user application interface, Using Microsoft access we need to create a Database and interlink the application interface and database.

Step 3: Need to test the database system and check for the error the clear the errors.

Step 4: Need to check the database on a regular basis because things to be needed to be upgraded.

Expected results: The Deliverables

By creating a working application for the restaurant so they can access it easily. The Restaurant owners can view the details of the store manager, the number of staff working on a daily basis, and the financial details.

The Store manager can use the database system to view the no of people working in the store and can view the accurate details of the orders

Customers can easily order the food through the online menu

Supporting Facilities:

Database: Designed in Microsoft ACCESS

Application program language: C# programming

Other application: Microsoft Visual Studio (Programming IDE)

Broadband Billing System Database Design SQL Project

Database design of Broadband Billing System application with the help of stored procedures and triggers in SQL Server.

ER Diagram for Broadband Billing System:

Data Model Diagram for Broadband Billing System:

Create Data Base:

For this purpose, created a Database Named “BBS” on the server.

  • Right Click on Database in Object Explorer of SSMS
  • Click on New
  • And Provide the name and hit the ok button
created a Database Named “BBS” in the server

Create Objects specified in Data Model & Add data to the “Subscription” table

Run the BBS_CreateTables script that will create the below data model in SQL.

Creation of SQL Procedures:

SP#1

Create a procedure that gets the customer’s name, customer mobile number, id proof, type, city, area, and password as inputs and registers the customer for choosing any suitable plan of broadband as per his locality.

Run the BBS_RegisterNewCustomer_prc Script to create Register New Customer

Testing Script:

USE BBS

go

— Register New Customer

Exec BBS_RegisterNewCustomer_prc

  @CustomerName='Suresh Kumar'

, @CustomerMobile ='80043781'

, @CustomerIDProof ='ARC5296P'

, @CustomerType ='Regular'

, @City ='HYDERABAD'

, @Area ='HYDERABAD'

, @Password ='iSuraj'

SP#2

Create a procedure that gets the customer’s name, customer mobile number, id proof, type, city, area, and password as inputs and registers the customer for choosing any suitable plan of broadband as per his locality.

Run the BBS_ShowCurrentSubscriptionPlans_prc script:

Testing Script:

use BBS

 go

 — Check Current Subscription Plans

 Exec BBS_ShowCurrentSubscriptionPlans_prc @USerID=2 , @Password ='iSuraj'

SP#3

Create a procedure that gives the customer all the plans available and the customer can choose anyone plans out of them as per his need and locality by taking subscription id, customer id, and month as input.

Run the BBS_ShowAllPlansToCustomers_prc Script:

Testing Script:

Use BBS

go

 — Show all plans to customers

 Exec [BBS_ShowAllPlansToCustomers_prc] @SubscriptionID =1 , @CustomerID =100001 , @Month ='JUNE'

SP#4

Create a procedure that will generate the bill for the customer’s chosen subscription plan by taking subscription id, month, and customer id as inputs.

Run the BBS_GenerageBillForCustomer_prc script:

Testing Script:

use BBS

 go

 — Generate Bill for Customer

 Exec [BBS_GenerageBillForCustomer_prc] @SubscriptionID =2 , @CustomerID =100001 , @Month ='JUNE'

SP#5

Create a procedure to make a transaction for payment for the chosen transaction and will show the transaction details of the customer’s payment status.

Run the BBS_ShowPendingTranactions_prc script :

Run the script:

use BBS

 GO

 — Show Pending Transactions

 exec BBS_ShowPendingTranactions_prc  @CustomerID =100001

Trigger:

Create a trigger that gets triggered when there is any update on the bill table after the successful transaction of payment and this trigger has to change the status of the bill payment from pending to paid.

Run the below Scripts:

BBS_Transaction_Details_Update_tr Script

BBS_MakeTranactionsForPayment_prc Script

Testing Script:

 use BBS

 GO

 — Show Pending Transactions

 exec BBS_ShowPendingTranactions_prc  @CustomerID =100001

 — Make Transactions for payment

  exec [BBS_MakeTranactionsForPayment_prc] @TransactionID=2 ,   @PaidAmount =700, @PayMethod ='CC'

Run the 1st SP first to get the transaction details and amount

Pass those in 2nd sp and execute it.

Then if you run the query you will see the status updated to Paid

Select * From Bills b where billno=2

 End

Download the Broadband Billing System application Stored Procedure Scripts Here.

School Case Study Database Design Queries and Answers

database design:

  1. Create a DATABASE: SCHOOL 

TABLES

Create the following three tables with the same names and data types as provided below:

CourseMaster

Column Name

Data Type

Remarks

CID

Integer

Primary Key

course name

Varchar(40)

NOT NULL

Category

Char(1)

NULL, Basic/Medium/Advanced

Fee

Small money

NOT NULL; Fee can’t be negative

StudentMaster

Column Name

Data Type

Remarks

SID

TinyInt

Primary Key

StudentName

Varchar(40)

NOT NULL

Origin

Char(1)

NOT NULL, Local/Foreign

Type

Char(1)

NOT NULL, Undergraduate/Graduate

 EnrollmentMaster

Column Name

Data Type

Remarks

CID

Integer

NOT NULL Foreign Key

SID

Tinyint

NOT NULL Foreign Key

DOE

DateTime

NOT NULL

FWF (Fee Waiver Flag)

Bit

NOT NULL

Grade

Char(1)

O/A/B/C

 Using the above table layouts as schema, write T-SQL Statements for the following requirements:

  1. List the course-wise total no. of Students enrolled. Provide the information only for students of foreign origin and only if the total exceeds 10.
  2. List the names of the Students who have not enrolled in the Java course.
  3. List the name of the advanced course where the enrollment by foreign students is the highest.
  4. List the names of the students who have enrolled for at least one basic course in the current month.
  5. List the names of the Undergraduate, local students who have got a “C” grade in any basic course.
  6. List the names of the courses for which no student has enrolled in the month of May 2020.
  7. List name, Number of Enrollments, and Popularity for all Courses. Popularity has to be displayed as “High” if the number of enrollments is higher than 50, “Medium” if greater than or equal to 20 and less than 50, and “Low” if the no.  Is less than 20.
  8. List the most recent enrollment details with information on Student Name, Course name, and age of enrollment in days.
  9. List the names of the Local students who have enrolled for exactly 3 basic courses.
  10. List the names of the Courses enrolled by all (every) students.
  11. For those enrollments for which fees have been waived, provide the names of students who have got ‘O’’ grades.
  12. List the names of the foreign, undergraduate students who have got a grade of ‘C’ in any basic course.
  13. List the course name and total no. of enrollments in the current month.

stored procedure

Using the above table layouts as schema, write a stored procedure for the following specifications:

Input Parameters:

Date From (Mandatory), Date To (optional, if not specified, take the current date), &Student ID (Mandatory) 

Requirements:

Course-wise,enrollment-wise in ascending order of course name to be printed. If no enrollment exists for a given course for the period specified, print the course name and the remarks ‘No enrollment for this period’

——————————————————————————————

Enrollment Details of<Student Name > from <FromDate> To <ToDate>

Origin :                                                          Type:

SL.No       Course Name    Date of Enrollment    Fee Waiver? Grade 

                                                                  (Yes/No)

  …             …               ……                              ……      ……

  …             …               ……                              ……      ……

                       Total No. of Courses Enrolled:

The Development of the above-Stored Procedure below using SQL Server:

–Create the database

create database School_DB

go

–To exchange the context

USE School_DB
go

–create CourseMaster table

create table CourseMaster
( CID int Primary Key,
CourseName varchar(40) NOT NULL,
Category char(1) NULL CHECK(Category='B' or Category='M' or Category='A'),
Fee smallmoney NOT NULL CHECK(Fee>0)
)
go

–To see schema of table

sp_help 'CourseMaster'
go

–To view the table

select * from CourseMaster
go

–Insert the values in CourseMaster table

insert into CourseMaster values(1,'SQL Server','M',10000)
insert into CourseMaster values(2,'MSBI','A',20000)
insert into CourseMaster values(3,'Python','B',5000)
insert into CourseMaster values(4,'Data Science using Python','M',90000)
insert into CourseMaster values(5,'C#.NET','B',15000)
insert into CourseMaster values(6,'Java','M',15000)
insert into CourseMaster values(7,'Power BI','A',30000)
insert into CourseMaster values(8,'Oracle','A',30000)
insert into CourseMaster values(9,'MySQL','B',15000)
insert into CourseMaster values(10,'Cobol','B',16000)
insert into CourseMaster values(11,'Cognos','M',40000)
GO

–Create Student table

create table StudentMaster
(
SID TinyInt Primary key,
StudName varchar(40) NOT NULL,
Origin char(1) NOT NULL CHECK(Origin='L' OR Origin='F'),
Type char(1) NOT NULL CHECK(Type='U' OR Type='G')
)
GO

–Insert the values in StudentMaster table

insert into StudentMaster values(100,'Arman','L','U')
insert into StudentMaster values(101,'Jhon','L','G')
insert into StudentMaster values(103,'David','F','G')
insert into StudentMaster values(104,'Rosy','L','U')
insert into StudentMaster values(105,'Mike','F','G')
insert into StudentMaster values(106,'Jessica','L','U')
insert into StudentMaster values(107,'Abhi','L','G')
insert into StudentMaster values(108,'Srinu','L','U')
insert into StudentMaster values(109,'Venkat','F','G')
insert into StudentMaster values(110,'Ram','L','U')
insert into StudentMaster values(111,'Khan','F','G')
insert into StudentMaster values(112,'Laya','F','U')
insert into StudentMaster values(113,'Naresh','F','G')
insert into StudentMaster values(114,'Naveen','F','G')
insert into StudentMaster values(115,'Rahman','F','U')
insert into StudentMaster values(116,'Abosode','F','G')
insert into StudentMaster values(117,'Manikanta','F','G')
insert into StudentMaster values(118,'Lalitha','F','U')
go

–create EnrollMaster

create table EnrollMaster
(
CID INT NOT NULL FOREIGN KEY REFERENCES CourseMaster(CID),
SID TinyInt NOT NULL FOREIGN KEY REFERENCES StudentMaster(SID),
DOE DateTime NOT NULL,
FWF Bit NOT NULL,
Grade char(1) NULL CHECK(Grade='O' OR Grade='A' OR Grade='B' OR Grade='C')
)

–USING THE ABOVE TABLE LAYOUTS AS SCHEMA, WRITE T-SQL STATEMENTS FOR THE FOLLOWING REQUIREMENTS:

1. List the course wise total no. of Students enrolled. Provide the information only for students of foreign origin and only if the total exceeds 10.
2. List the names of the Students who have not enrolled for Java course.
3. List the name of the advanced course where the enrollment by foreign students is the highest.
4. List the names of the students who have enrolled for at least one basic course in the current month.
5. List the names of the Undergraduate, local students who have got a “C” grade in any basic course.
6. List the names of the courses for which no student has enrolled in the month of May 2020.
7. List name, Number of Enrollments and Popularity for all Courses. Popularity has to be displayed as “High” if number of enrollments is higher than 50, “Medium” if greater than or equal to 20 and less than 50, and “Low” if the no. Is less than 20.
8. List the most recent enrollment details with information on Student Name, Course name and age of enrollment in days.
9. List the names of the Local students who have enrolled for exactly 3 basic courses.
10. List the names of the Courses enrolled by all (every) students.

–11. For those enrollments for which fee have been waived, provide the names of students who have got ‘O’ grade.

select StuName,grade
from StudentMaster SM
inner join EnrollMaster EM on SM.sid=EM.sid
where EM.Grade='O' and FWF = 1

–12. List the names of the foreign, undergraduate students who have got grade ‘C’ in any basic course.

select StudName,Origin,Type,Grade,Category
from CourseMaster as CM
inner join EnrollMaster as EM ON CM.CID=EM.CID
inner join StudentMaster as SM ON SM.SID=EM.SID
where SM.Origin='F' and SM.Type='U' and EM.Grade='C' and
CM.Category='B'

–13. List the course name, total no. of enrollments in the current month.

select CourseName,count(*) as Total_No_of_Enroll
from CourseMaster as cm
inner join EnrollMaster as em on cm.cid=em.cid
where datediff(mm,DOE,getdate())=0
group by cm.CourseName

Online Medical Shop DBMS Python Mini Project

This project is based and innovated on an Online medical shop, wherein we store all the details about the customers, the stock of the medicines, orders, and payments and also the project will include a page wherein the user will indicate the symptoms and will get a probable disease and the prescribed medicine.

The project is aimed to modernize and support existing small business owners. In the age of technology where online medicine is dominated by e-commerce giants such as 1mg, net meds, etc. We wanted to develop a solution for small business owners as well.

The existing Medicinal systems have the provision for any user to book a request for a particular medicine through e-commerce. And further, the traditional methods to visit the medicinal centers for mere inquiry are time-consuming and monotonous and the non-availability is disappointing.

The data relevant to the processing of the request may or may not be manually stored or be captivated in a file system that is prone to manual errors, inconsistency, redundancy, and difficulty in retrieval. With our system, the availability can be shown so, even if a customer wants a pickup of his/her medicine. they can do so without any problems. Our model also has an integrated web scraper, which is an innovation we have come up with. This scraper can scrape medicines off the net for data warehousing.

This system maintains the storage details of all the customers and medicines that are stored in the shop. The system will keep track of the orders made and the payment details. NoSQL will be used to store future suggestions and customer reviews.

The main part of the project will be a part where the customer will be able to select his/her symptoms and medicine will be referred to them. Along with the expected disease. We also would integrate Web Scraping of all the medicines related to a particular disease entered by the user to store it in our database.

Software Requirements

• Language support required: Python 3.5 or later, HTML5, JS, CSS3
• NoSQL database required: MongoDB
• Relational Database required: MySQL
• Windows 7 or 10 /Mac OS X 10.11 or higher, 64-bit /Linux: RHEL 6/7, 64-bit (almost all libraries also work in Ubuntu)
• Heroku and pip are preferred for deployment and installation of packages (such as Django,asgerif, mongoose, etc) specified in requirements.txt
• A web browser support is needed.

If using the software through deployment, no language support in your machine is required.

Conclusion & Future Enhancement

This project was successfully built and completed. The project is an online medical shop with two categories of users (admin and customer) who can update inventory and place orders respectively. We have also added a web scraper as an innovation to this project. However, there are a lot of changes and addition of functionalities that can be done, which we intend to do after peer and faculty review.

Some of the enhancements are :

  • Listing of products linked with images to generate a more shop-relevant UI
  • Remove some programming language constraints
  • Online Deployment
  • And changes that our faculty and peers suggest.

In the end, we would once again thank our college, examiners, faculty guides, and teachers to help us finish the project within the speculated timeline.

Development of Medical Store Management System Java Project

Project Aim:

The main goal of the development of this project on the Medical Store Management System is to manage the details of Medical Shop, Medicines and its stocks and price, Supplier details. This project manages all the info about Medical shops, Sells, Products, and Inventory. It tracks all the details about the Suppliers, Medicines, Sales, and Stocks. This is a Java web application that used database management concepts.

Project Scope:

It helps in current all works relative to Medical Store Management System. The first subsystem is a Supplier which has all the details of all the suppliers of a particular Medical Shop. The second subsystem is Medicines. The third subsystem is Reports which generates reports for all suppliers and the pharmacists. This Medical Store Java project aims at Business process automation, i.e. I have tried to computerize the various process of the Medical Store Management System.

IMPLEMENTATION

This Medical Store project implementation is done in java language which consists of several classes as mentioned below to perform several operations.

Medical Store Management System Home Screen

CLASSES:

Login

Allows the administrator to login into the Medical Store Management System software with a valid user id and password

Main Menu

Allows the administrator to add a new supplier and medicine, update or search or delete the suppliers, view the supplier’s list, view the stock of medicines, view supplier-wise medicine report, to view the daily purchase report.

Add New Supplier

Allows the administrator to add a new supplier

Add New Medicines

Allows the administrator to add the new medicines

Search Supplier

Allows the administrator to search the suppliers with the supplier id or supplier name

Search Medicine

Allows the administrator to search the medicines with the Medicine batch number or Medicine name

Delete Supplier

Allows the administrator to delete the record of the existing supplier

Delete Medicine

Allows the administrator to delete the record of the existing medicines

Update Supplier

Allows the administrator to update the record of the existing suppliers

Update Medicines

Allows the administrator to update the record of the existing medicines

Supplier List

Allows the administrator to view the records of the existing suppliers

Medicine List

Allows the administrator to view the records of the medicines

Supplier Wise Medicine List

Allows the administrator to view the records of the Medicines by entering the Supplier name

Daily Purchase Report

Allows the administrator to view the records of the medicines by entering the Medicine Purchase Date

About

Allows the administrator to view the details of the Medical Store Management System

Download the Complete project code, Project Report, and Paper Presentation on Medical Store Management System on Github

Related projects on Medical Store Management System Projects

Medical Store Management Project Windows Application using C#.Net
Online Medical Store or Pharmacy Shop Java Project with code
Online Ayurvedic Medical Store System Project
Online Medical Booking Store Project Source Code In Java
Medical Emergency Caller Android App Project
Medical Image Compression Algorithm CSE Project Abstract
Virtual Medical Home Project Report
Medical Diagnostic System Java Project Report and Source Code
A Project on Medical Shop Management
Medical Billing System Project Abstract
Online Medicine Search Web Application .Net Project
Emergency Alarm And Health Care Management System

Interactive Hostel Management System Java and MySQL Project

Objective

The main objective of this Java and MySQL-based project is to create an interactive Hostel management GUI application that helps in the management of Hostel records about registration of students and employees, and fee and salary management. Through this application, the admin can register & manage students & employees of the hostel.

MODULES IN HOSTEL MANAGEMENT SYSTEM:

Admin:

Admin can log in to the software using the Username and password provided by the developers. After login, he can register students and employees. He has to update the data of all the participants of the system i.e., Students and employees. He can Insert, update and as well as delete records from the system.

Student:

This module is about the residents of the hostel. It holds the data of the students residing in the hostel eg. Names, addresses, USN, RoomNo & Phone. The complete information about a particular student can be obtained by referring to this module.

Fee Payment (Insert):

This module is necessary to hold the information related to the Fees of the residents of the hostel. It has fields for Name, total fees, the amount paid, mode of payment, and balance amount remaining to be paid by every individual student. The individual student details can be accessed by providing a unique USN.

Employee:

This module is related to the employees of the hostel. It holds the data of the employees like Name, Age, Eid, Designation & Salary. The complete information of a particular employee can be obtained by the unique employee ID.

Salary Payment (Insert & Update):

This module is necessary to hold the information related to the salary of the employees of the hostel. It has fields for Name, Eid, total salary, the amount paid, and balance amount remaining to be paid for every individual employee. The individual employee details can be accessed by providing a unique Eid.

Features page of the Hostel Management project

Output Pages will be below:

  • Login Page of the project
  • Features page of the project
  • Registration page for new Students
  • Employee registration page
  • Options for employee management
  • Fee update and fetch the page
  • Fetch fee details of individual students
  • Maintain student records of the system
  • Update fee details of a specific student

Download the complete Hostel Management System Project source code and Project report.

Vehicle Rental Service Management System Project

Problem Description:

Vehicle Rental Service Management System is a project that provides unique benefits to the customers to rent a vehicle as their heart desires and gives an opportunity for crowdsourcing to provide a vehicle for rent. Whether renting a vehicle for a vacation or business enterprise, Vehicle Rental Service has a wide range of sports, luxury, and hybrid vehicles to meet every vehicle rental need. Moto of the company is to provide hassle-free check-in and check-out time to satisfy the needs of the customer and make the ride delightful.

Vehicle Rental Service has a unique benefit of crowdsourcing the vehicles to rent; connecting people who want to rent a vehicle and people who provide a vehicle for rent. Vehicle Rental Service thrives on customer satisfaction and building a long-term relationship with the customer and guarantees the best price in the market by reducing the intermediaries. Relational database besides storing database also helps track customer reservations, date reserved, types of vehicles available, and the location of the vehicle.

Database Tables:

The database consists of 9 tables that are closely related to each other and contain crucial information for the business of the Vehicle Rental Service, all the tables provide easy to manage inventory and transaction details for Vehicle Rental Service. The integrated database enables the execution of the dynamic query and provides optimization.

Customer Table

Customers are central to the business and our business transactions. This table contains all important information about the customer such as customer name, contact details, and address information. The customer id consists of six alphanumeric codes. The first two digits will be the first two letters of the customer’s last name, the next two digits will be the month of the date of birth and the last two digits will be the first two digits of the license number.

vehicle Details

The vehicle details table beacons on the information and type of the vehicle. Each vehicle is given an identification number as Vehicle_ID which will be the primary key for the table. A key is a 4 number that is auto-generated. vehicle details provide a wide range of options for the customer to pick from.

Booking Details Table

As the name indicates, this table consists of booking details of the service and comprises all the important booking information such as vehicle identification number, the rate associated with the vehicle_id, and pick up time and return time mapped to a customer identification number.

Payments

One of the critical table involving financials, the payment table consist of a unique primary identification number as a transaction id and identifies each transaction. The attribute card type is used to determine which type of card the customer uses to make a payment.

Rates

Gives the tariffs for various options to rent a vehicle, Rates are aligned with business strategy to provide the best price for the customers and for the clients who provide their vehicle on rent, the rates are provided on the daily basis and prices are strategized to provide a competitive edge to the customers to rent a vehicle and at the same time help vehicle owners. 

Availability

This table gives available options for the customers to choose from while booking a vehicle. The availability table reflects the product line and product depth of Vehicle Rental Service, in general, the availability table gives information about the details of the vehicle and the time slot and duration as to how long a particular vehicle is available.

Feedback

A long-term relationship with the customer leads to the success of the firm, a feedback table is essential for the growth of the business and to provide impeccable service quality. The feedback table consists of a primary key which is a foreign key referencing from the booking table. This table helps capture all overall ratings of the service and facility to provide additional suggestions and comments for the customers.

vehicle Owners

The fundamental concept of the Vehicle Rental Service business model is to facilitate vehicle Owners to rent their vehicles and provide an opportunity to the customers who want to rent a vehicle. Vehicle Rental Service bridges the needs wants, and desires of the customers.

Location

The location table is an essential table to track the city and state details for all the transactions and payment details. 

Pharmacy Management System DBMS Project

Introduction

Pharmacies are an essential component of healthcare and handle the function of selling medicines. Even though the pharmacies do not seem different than any other shop, their functioning is very different due to various laws regarding medicines. For example, most of the medicines available in a pharmacy cannot be purchased without a prescription.

Even with a signed prescription, there is a limit on the quantity that can be purchased. Additionally, pharmacists can do a background check on customers’ medical history to ensure that they are not involved in medical abuse. In addition, there are other laws on the operations of pharmacies like a requirement for the safe disposal of expired medicine and the requirement of license for employees that mix/prepare the medicines.

Thus, preparing a Database Management System for a pharmacy not only requires a study of how things are handled from a customer or employee point of view but also the relevant rules and regulations.

With this Pharmacy Management System DBMS Project, we aimed to develop a comprehensive system that could deal with challenges faced in day to day operation of a modern pharmacy.

ER Modelling

The final ER diagram and UML diagram are shown below with explanations.

ER Diagram

UML Diagram:

1. A single customer can have multiple prescriptions. Thus, the relationship between them is one too many.
2. A prescription consists of multiple medicines, so the relation is one too many. In the case of refills, a prescription can generate multiple orders. So, this relation is one too many as well.
3. A single order can contain multiple medicines, thus the relationship is one too many. One order, however, can generate only one bill. Thus, the relation between bill and order is one-to-one.
4. A customer can make multiple purchases and hence, the relationship between the customer and the bill is one too many. This is because every bill has only one customer.
5. In the medicine table (stock), the medicine’s name and batch numbers can uniquely identify every medicine we have in inventory. The batch number is assumed to be unique among manufacturers.
6. Disposed medicines are weak entities and use foreign key medicine’s Name and Batch Number as their primary key.
7. One employee can receive multiple notifications and one notification can be sent to multiple employees, thus the relationship is many to many.
8. Multiple employees can dispose of the same medicines. Similarly, one employee can dispose of multiple medicines. Hence, the relationship is many to many.
9. One employee can prepare multiple orders. However, a specific order can only be prepared by one employee. Thus, the relationship is one too many. Relations and Normalization

Conclusion

The Pharmacy Management System DBMS Project was a good learning experience for implementing a real-world DBMS and helped us understand the nuances of full implementation. The most interesting part was the experience of starting from the real world and then translating the concepts into the terms of a DBMS. Paired with a capable application front end, it can handle day-to-day operations for a pharmacy.

Download the Complete Pharmacy Management System DBMS Project Code, Report, and deployment help for free.

Hospital Database Management System Project using PHP & MySQL

Description of Project:

Hospital Database Management System Project using PHP & MySQL developed under the Database Management System Course study, It is DBMS based application that can handle different workflows related to a hospital using MySQL and PHP. The main aim of developing this project is to develop an online web-based system that registers, stores, and alters the data related to the day-to-day hospital operations to have some meaningful conclusions.

System Requirement Specification:

We have used Netbeans IDE 8.2 software to configure PHP/HTML/CSS scripts on our localhost webserver. The operating system was Windows 10 / macOS Catalina. The web browser is Chrome with PhpMyAdmin as Front-end and Back-end Integration. We deployed our web server on localhost using Apache(built-in server) using MAMP/WAMP (MacOS/Windows Apache MySQL PHP. At Least 8MB of disk space is required. We can implement Hospital Database Management in modern browsers like IE7+, Firefox, Safari, Google Chrome, and Opera that support CSS and HTML frameworks.

Functionalities:

1) Managing Patients Information:

  • For deriving the age of a patient, given the DOB, we have created a function followed by a procedure 
  • To get an overview related to the blood groups of all the patients present in the database
  • To get the details of the patient who has the maximum number of appointments in this hospital
  • To display the patients who took appointments on the weekends
  • To get information about the patients who took an appointment during the current month
  • In our database, we have a table for all the patients in the hospital, and then a separate table for indoor patients. However, we do not have a table that shows the details of outdoor patients.
  • At last, we have generated a bill for a visit of a patient, which includes a patient’s visit charge, doctor charge, medicine charge, etc. And generates the total amount to be paid.

2) Managing Doctors’ Information:

  • To get information about the most famous doctor/s among the patients

3) Managing Appointment Related Information:

  • To get the trend of appointments for each weekday
  • To display patient-wise appointment details
  • To display year-wise appointment details

4) Managing Department wise HODs:

  • For identifying a HOD of a department

5) Managing Staff, Rooms, and Medicines related to Information:

6) Managing Admin/Login Details:

  • We have created a simple login and user registration system using authentication from Admin User Table.
  • There are some functionalities like creating a new administrator, logging out, and password change.
  • As a matter of Privacy Policy we don’t save ‘password’ directly but instead, store the HashCode corresponding to it

7) Managing other information:

  • If Contact no. is not a 10-digit number then a trigger will display an error message
  • For managing patient log details

Visit Here and Download the Complete PHP & MySQL Database Management System Project Code, Report on Hospital Database Management System