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

RIVERA DMF111 Database Structure

THIS IS ALL ABOUT DATABASE STRUCTURE LECTURES

Uploaded by

zyrivera69
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

RIVERA DMF111 Database Structure

THIS IS ALL ABOUT DATABASE STRUCTURE LECTURES

Uploaded by

zyrivera69
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Database Structure

Define the function of each field

1. Products Table

This table keeps track of all the items you sell.

- Product ID: A unique number for each product.

- Product Name: The name of the product (e.g., "Coke 500ml").

- Category: Type of product (e.g., drinks, snacks).

- Price: How much you sell the product for.

- Quantity in Stock: How many you have left in your store.

2. Sales Table

This table records every sale you make.

- Sale ID: A unique number for each sale.

- Product ID: The ID of the product sold (connects to the Products table).

- Sale Date: When the sale happened.

- Quantity Sold: How many of that product were sold.

- Total Price: The total amount paid for the items sold.

3. Suppliers Table

This table contains information about the people or companies you buy products from.

- Supplier ID: A unique number for each supplier.

- Supplier Name: The name of the supplier.

- Contact Info: How to reach the supplier (phone number, email, etc.).
4. Inventory Transactions Table

This table tracks any changes in your inventory.

- Transaction ID: A unique number for each transaction.

- Product ID: The ID of the product involved.

- Transaction Type: What kind of change happened (e.g., restock, sale).

- Quantity: How much the inventory changed by.

- Transaction Date: When the change happened.

5. Users Table

This table keeps track of people who can use your inventory system.

- User ID: A unique number for each person who uses the system.

- Username: Their login name.

- Password: Their login password (stored securely).

- Role: Their role in the system (e.g., admin, cashier).

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy