ICT 110: IT for Business
We will move from the general concept of a DBMS to the specifics of how businesses organize and query data.
Organizes data in structured tables with predefined relationships, like linked spreadsheets.
Schema: Rigid, defined in advance.
Best for: Transactional systems, strict consistency (Banking, Inventory).
Examples: MySQL, Oracle, SQL Server
Flexible models for unstructured or rapid data.
Schema: Dynamic.
Best for: Big Data, real-time apps, content management (Social Media).
Examples: MongoDB, Cassandra
| Dept_ID (PK) π | Dept_Name |
|---|---|
| 101 | Finance |
| 102 | Operations |
| Emp_ID (PK) π | Name | Dept_ID (FK) π |
|---|---|---|
| E451 | Anjali Sharma | 101 |
| E452 | Bikram Thapa | 102 |
The `Dept_ID` connects the employee to their department, minimizing redundancy.
The four main actions (CRUD):
Scenario: A Sales Manager asks, "Show me the names and order amounts for all customers from Pokhara."
SELECT CustomerName, OrderAmount
FROM Customers
JOIN Orders ON Customers.CustomerID = Orders.CustomerID
WHERE Customers.City = 'Pokhara';
When data is too large, fast, or complex for standard SQL tables.
Size.
Terabytes of data (e.g., Ncell logs).
Speed.
Real-time streams (e.g., Pathao).
Types.
Images, video, text (e.g., Reviews).
Core: Relational (SQL)
Critical for processing millions of transactions with 100% accuracy and security (ACID compliance).
Hybrid: SQL + NoSQL
SQL for order processing; NoSQL for massive, flexible product catalogs and user reviews.
Enterprise: ERP Systems
Relational databases manage complex supply chains, from raw materials to distribution.
Big Data
Analyzing call records and usage patterns to optimize network coverage and plan pricing.
Protecting the corporate asset is non-negotiable.
Any questions about Databases or SQL?
Continue to:
Data Storage and Retrieval →