Skip to content

Commit ff8b528

Browse files
authored
Create CWPC_Company database and employees table
Added SQL script to create a database and employees table.
1 parent 8e9132a commit ff8b528

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

‎Dummy_DataBase/employees_10000.sql‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,17 @@
1-
-- 10,000 Employee Records
1+
create database CWPC_Company;
2+
use CWPC_Company;
3+
4+
create table employees(
5+
employee_id int primary key,
6+
name varchar(50),
7+
department varchar(50),
8+
salary decimal(10,2),
9+
city varchar(50),
10+
joining_date Date,
11+
manager_id int
12+
);
13+
14+
215
-- Generated for SQL practice
316

417
INSERT INTO employees

0 commit comments

Comments
 (0)