Skip to content

Commit aca45b7

Browse files
Initial Commit
1 parent 8fb9781 commit aca45b7

File tree

5 files changed

+90
-0
lines changed

5 files changed

+90
-0
lines changed
Binary file not shown.

DB/CP_Assignment01.sql

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
use CP_Schema;
2+
3+
CREATE TABLE IF NOT EXISTS accounts (
4+
acc_id INT,
5+
acc_name TEXT,
6+
acc_balance DOUBLE
7+
) ;
8+
9+
CREATE TABLE IF NOT EXISTS departments (
10+
dept_id INT,
11+
dept_name TEXT
12+
) ;
13+
14+
15+
16+
select * from departments;
17+
18+
19+
select * from accounts;
20+
21+
22+
23+
24+
25+
26+
27+
28+

DB/accounts.csv

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
acc_id,acc_name,acc_balance
2+
1,,10000
3+
2,,10000
4+
3,,10000
5+
4,,10000
6+
5,,10000
7+
6,,10000
8+
7,,10000
9+
8,,10000
10+
9,,10000
11+
10,,10000
12+
11,,10000
13+
12,,10000
14+
13,,10000
15+
14,,10000
16+
15,,10000
17+
16,,10000
18+
17,,10000
19+
18,,10000
20+
19,,10000
21+
20,,10000
22+
21,,10000
23+
22,,10000
24+
23,,10000
25+
24,,10000
26+
25,,10000
27+
26,,10000
28+
27,,10000
29+
28,,10000
30+
29,,10000
31+
30,,10000
32+
31,,10000
33+
32,,10000
34+
33,,10000
35+
34,,10000
36+
35,,10000
37+
36,,10000
38+
37,,10000
39+
38,,10000
40+
39,,10000
41+
40,,10000
42+
41,,10000
43+
42,,10000
44+
43,,10000
45+
44,,10000
46+
45,,10000
47+
46,,10000
48+
47,,10000
49+
48,,10000
50+
49,,10000
51+
50,,10000

DB/departments.csv

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
dept_id,dept_name
2+
101,IT
3+
102,finance
4+
103,HR
5+
104,operations
6+
105,transport
7+
106,security
8+
107,inventory
9+
108,maintenance
10+
109,hospitality
11+
110,production
Binary file not shown.

0 commit comments

Comments
 (0)