Inventory DB
Inventory DB
Inventory DB
employee
INSERT INTO employee(emp_id, emp_fname, emp_lname, password, emp_type) VALUES (1532,
'Emerald', 'Llunar', 'postgres', 'JO');
INSERT INTO employee(emp_id, emp_fname, emp_lname, password, emp_type) VALUES (1533, 'Carlo',
'Torres', 'Ctorres', 'Permanent');
INSERT INTO employee(emp_id, emp_fname, emp_lname, password, emp_type) VALUES (1535, 'Anna',
'Casais', 'Acasais', 'Permanent');
INSERT INTO employee(emp_id, emp_fname, emp_lname, password, emp_type) VALUES (1536,
'Jessica', 'Morales', 'Jmorales', 'Faculty');
Equip_fund
INSERT INTO equip_fund(equip_fund_id,Equip_fund_detail) VALUES (104,'From Internal Funding');
INSERT INTO equip_fund(equip_fund_id,Equip_fund_detail) VALUES (106,'From External Funding');
Equip_status
INSERT INTO equip_status(equip_status_id,equip_status_detail) VALUES (1,'Condemned');
INSERT INTO equip_status(equip_status_id,equip_status_detail) VALUES (2,'Returned');
INSERT INTO equip_status(equip_status_id,equip_status_detail) VALUES (3,'Working');
Equip_type
INSERT INTO equip_type(equip_type_id,equip_type_detail) VALUES (1,'Consumable');
INSERT INTO equip_type(equip_type_id,equip_type_detail) VALUES (2,'Semi-Expendable');
INSERT INTO equip_type(equip_type_id,equip_type_detail) VALUES (3,'Expensive');
Emp_dept
equipment
INSERT INTO equipment(equip_id, equip_name, fund_id, type_id, stat_id) VALUES (1,'Printer L-
Series134',104,2,3);
INSERT INTO equipment(equip_id, equip_name, fund_id, type_id, stat_id) VALUES (3,'Copy Bond
Paper',104,1,3);
INSERT INTO equipment(equip_id, equip_name, fund_id, type_id, stat_id) VALUES (5,'Aoc Computer
Monitor',106,2,3);
DELETE FROM table_name WHERE condition;
NEW DATABASE (10/12/2021)
USER_TBL:
INSERT INTO user_tbl(user_password, user_emp_id) VALUES ('postgres','2021-001-387')
INSERT INTO user_tbl(user_password, user_emp_id) VALUES ('kaguero','2021-001-004')
FUND:
INSERT INTO item_fund(item_fund) VALUES ('101/ORS')
INSERT INTO item_fund(item_fund) VALUES ('164/BURS')
TYPE:
INSERT INTO item_type(item_type) VALUES('Supply')
INSERT INTO item_type(item_type) VALUES('IT Equipment')
ITEM:
INSERT INTO item(item_code,item_name, item_desc, item_qty, item_unt_of_msr, supplier,
item_fund_fk, item_type_fk)
VALUES ('P-001','Printer','L-Series134/ Black', 4, 'Per Piece', 'Denvers Computer Shoppe', 1, 1)
Inventory:
EMP_DEPT:
INSERT INTO emp_dept(department, dept_desc)
VALUES ('ICTO', 'Information and Computer Office');
Emp_desig
Emp_type:
Emp_details:
);
INSERT DATA:
Equip_inventory