0% found this document useful (0 votes)
22 views

Database

The document provides SQL queries to create an employee management database with tables for login credentials and employee details. It includes queries to create a database and use it, build a login table with an admin user, and construct an employee table to store information like name, salary, address, education and more. It also shares the creator's Instagram and Telegram usernames and YouTube channel for additional learning resources.

Uploaded by

Senior Gaming
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views

Database

The document provides SQL queries to create an employee management database with tables for login credentials and employee details. It includes queries to create a database and use it, build a login table with an admin user, and construct an employee table to store information like name, salary, address, education and more. It also shares the creator's Instagram and Telegram usernames and YouTube channel for additional learning resources.

Uploaded by

Senior Gaming
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

------------------

CODE FOR INTERVIEW


------------------

Do Subscribe our Youtube channel and Please like the video if you liked it
Channel: https://www.youtube.com/channel/UCo9P-eIdR00Fn1gA_ylaHdQ

---------------------------------------------------
Database Queries for EMPLOYEE MANAGEMENT SYSTEM Project
---------------------------------------------------

1 - Create database with in mysql

create database employeemanagementsystem;

2 - Use the database you just created

use employeemanagementsystem;

3 - create login table

create table login(username varchar(20), password varchar(20));

4 - Insert values in login table

insert into login values('admin', '12345');

5 - Create an employee table

create table employee(name varchar(20), fname varchar(20), dob varchar(30), salary


varchar(20), address varchar(100), phone varchar(20), email varchar(40), education
varchar(20), designation varchar(30), aadhar varchar(25), empId varchar(15));

Instagram
username: codeforinterview
https://www.instagram.com/codeforinterview

Telegram
username: codeforinterview
https://t.me/codeforinterview

Code For Interview


Channel: https://www.youtube.com/channel/UCo9P-eIdR00Fn1gA_ylaHdQ

You might also like