Professional Documents
Culture Documents
MIS-401
Database Management System
Submitted to:
Dr.M.Helal Uddin Ahmed
Professor
Department of MIS
University of Dhaka
Submitted by:
Asmaul Husna Tamanna
ID-029-12-117
Section A
Department of MIS
University of Dhaka
Inventory
Inventory is the term for the goods available for sale and raw materials used to produce goods
available for sale. Inventory represents one of the most important assets of a business because
the turnover of inventory represents one of the primary sources of revenue generation and
subsequent earnings for the company's shareholders.
It is the array of finished goods or goods used in production held by a company. Inventory is
classified as a current asset on a company's balance sheet, and it serves as a buffer
between manufacturing and order fulfillment. When an inventory item is sold, its carrying cost
transfers to the cost of goods sold (COGS) category on the income statement.
The meaning of inventory mainly revolves around following three items:
Inventory management
Inventory management is a step in the supply chain where inventory and stock quantities are
tracked in and out of your warehouse.
The goal of inventory management systems is to know where your inventory is at any given
time and how much of it you have in order to manage inventory levels correctly. Inventory
management is the fundamental building block to longevity and operational efficiency.
It forecasts and strategies, such as a just-in-time (JIT) inventory system (with back flush costing),
can help minimize inventory costs because goods are created or received only when needed.
In a broader context, inventory management also provides insights into your financial standing,
customer behaviors and preferences, product and business opportunities, future trends, and
more.
A system for identifying every inventory item and its associated information, such as
barcode labels or asset tags. Inventory management system.
Hardware tools for reading barcode labels, such as handheld barcode scanners or
smartphones with barcode scanning apps.
Processes and policies for labeling, documentation, and reporting. This should include
an inventory management technique such as Just in Time, ABC Analysis, First-In First-
Out (FIFO), Stock Review, or another proven methodology.
Customer Product
CUSTOMER_ID
FIRST_NAME PRODUCT_ID
LAST_NAME EMAIL_ID PRODUCT_NAME
ADDRESS PRODUCT_PRICE
PHN_NUMBER
Invoice Orders
ORDER_NO
ORDER_NO PRODUCT_ID
CUSTOMER_ID ORDER_DATE,
DELIVERY_DATE QUANTITY
TOTAL TOTAL
Coding
Table: customer
create table customer
(CUSTOMER_ID number (5) primary key,
FIRST_NAME varchar2 (15),
LAST_NAME varchar2 (15),
EMAIL_ID varchar2 (30),
ADDRESS varchar2 (30),
PHN_NUMBER number (15));
Input
Insert into customer values
(0001,’antora’,’sharmin’,’antorasharmin@gmail.com’,’rangpur’,01712345678);
Table: product
Input
insert into product values(001,’rich dad poor dad’,150.00);
Table: Orders
create table orders
(ORDER_NO number (10) primary key,
CUSTOMER_ID number(5)
PRODUCT_ID number (10),
ORDER_DATE date,
QUANTITY number (5),
TOTAL number (10, 2),
foreign key (CUSTOMER_ID)
references customer (CUSTOMER_ID));
Input
Insert into orders values (01, 001,'Apr-8-2020', 150.00);
Table: Invoice
Create table invoice
(ORDER_NO number (10),
CUSTOMER_ID number (5),
DELIVERY_DATE date,
TOTAL number (10, 2),
foreign key (ORDER_NO) references orders (ORDER_NO),
foreign key (CUSTOMER_ID) references customer (CUSTOMER_ID));
Input
Insert into invoice values (01, 0001,'Apr-10-2020', 150.00);
Selecting tables
Select invoice.ORDER_NO, invoice.CUSTOMER_ID, invoice.DELIVERY_DATE, invoice.TOTAL,
orders. QUANTITY FROM orders JOIN invoice on (invoice. TOTAL= orders. TOTAL);
Results