Professional Documents
Culture Documents
MANAGEMENT
SYSTEM
1.
Index
Topics Page No.
Hardware & Software 5
specification
Objective 6
Creation of Records 7
Insertion Of Records 8
Connectivity Program 9
Insertion Of new record 10-11
Updation Of record 12-13
Deletion of record 14-15
Conclusion 16
Bibliography 17
Thank You 18
HARDWARE AND
SOFTWARE
SPECIFICATIONS
1. Windows 10
Processor: Intel(R) Core(TM)i3-
7130U
CPU @2.70GHz 2.71GHz
RAM:8.00GB
System Type: 64-bit Operating
System,
x64-based processor
2. Python 3.7
3. MySQL
4. MS-Word
5. Deskjet printer
S.
OBJECTIVE
the quick update and view of data. All the works are
comparatively error-free.
5.
CREATION OF RECORDS
I. Create a table in MYSQL with the ficlds mentioned.
Jnput&Output
7.
2. Show at least S records through MYSQL.
ysql
8.
CONNECTIVITY PROGRAM
3. Write a connectivity program to display
the record.
information.
Type "help", "copyright", "credits" or "license()" for more
> #Connectivity Program
mport nysql.connector as c
db=c.connect (host='localhost',user='root',passwa='nda2021tabase="'ipproject')
>nc=db.cursor ()
mc.execute( "select from Employee')
> for i in mc:
print (i)
9
INSERTION OF NEW
RECORD
4. Insert records
through python program.
Input&0utput
try 1.pyCAsers/Dell/Desktop/try1py(3.85)
FileEdit Format Run Options Window Help
import mysql.connector
con=mysql.connector.connect (host="localhost ",
password="nda2021",
user="root",
database="ipproject")
Cur=con.cursor ()
n=inpus("enter Empl ID:")
c(input ("enter EmplName: "))
r=(input ( "enter Department: ") )
aint (input ("enter EmplSal: "))
ag=input ("enter Hire_Date: ")
query"insert into employee values (' {}','0''O" ,'O)')". format (n, c, r,a,ag)
cur.execute (query)
con.commit ()
print ("rows inserted successfully")
Python 3.8.5Shel
File Edit Shell Debug Options Window Help
20 2020, 15:43:08) [MSC v. 1926 32 bit (Intel) ]
Python 3.8.5 (tags/v3.8.5:580fbb0, Jul
"credits" o r "license () for more information.
"
enter EmplID:227F
enter Emp1Name Ritu
enter Department : Sales
enter EmplSal:500000
>>>
10.
OUTPUT IN MYSQL
PYSql
11
OUTPUT IN MYSQL
ysql> select * from employee;
--t----.
EmplID| Emp IName | Department| Enplsal | HireDate
221A Rekha Sales 99999| 2014-06-09
222B Karan HR 249999 2016-04-10
223C | Neha Finance 349999 2021-02-19
224D Kirti Sales 249999 2018-08-111
22SE Aakash Production 99999 2021-05-06
226F Sam HR 399999| 2016-10-10
227F Ritu Sales 499999| 2019-02-11
13.
DELETION OF NEW RECORD
6. Delete a record and display atter updation through python.
cur-yab.cursor{)
SDELETE irom employee KHERE EmpISal=3904
Cur.execute (s)
yab.commi t()
14.
OUTPUT IN MYSQL
--
Emp1D EmpIName| Department I Emplsal | Hire Date
| 221A Rekha Sales 99998 2014-06-09
222B Karan HR 249998 1 2016-04-10
223C Neha Finance 349998| 2021-02-19
| 224D Kirti Sales 249998 2018-08-11 |
225E Aakash Production 99998 2021-05-06
227F Ritu Sales 499998| 2019-02-11
ysql>
mvsol -1-
15.
Conclusion
This project is built
keeping
in mind that it is to be
used by only one user that is the admin. It is built for
use in small scale
organization where the number of
employees is limited. According to the requested
requirement the admin can add, manipulate, update
and delete all employee data in his organization. The
admin can add new departments and delete them.
The admin can also add predefined pay grades for
the employees. The required records can be be
easilyviewed by the admin anytime time he wants in
an instant. The payment of the employee is based
onmonthly basis.
Numerous validations implemented would enable the
admin to enter accurate data. The main objective of this
framework is to save time, make the system cost
effective and management records efficiently.
16
Bibliography
1.dev.mysql.com
2.Information practices -
SumitaArora
3.WwW.python.org
4.Slideshare. net
17.