Create a database for 5 departmental budget heads and allocate Rs.l lakh each for every head. Generate reports for the list of budget heads and the amount allocated
Creating a database for departmental budget heads and allocating funds can be achieved using a variety of database management systems (DBMS) such as MySQL, PostgreSQL, or Microsoft SQL Server. For the sake of this practical answer, let's design a simple solution using SQLite, which is lightweight and doesn't require a separate server process. SQLite databases are self-contained, meaning they are stored as a single file, making them easy to manage.
Step 1: Database Design
First, we need to design the structure of our database. In this case, we'll have two tables: one for budget heads and another for allocations.
```sql
CREATE TABLE budget_heads (
head_id INTEGER PRIMARY KEY,
head_name TEXT NOT NULL
);
CREATE TABLE allocations (
_______ ________ ________ _________ _____ ____ ____ ________ __________ _______ __________.
______ ___ __________ ________ _____.
________ _______ __________ _________ _____.
__________ ________ _________ ________ ________ __________ ______ ________ _____ ______.
_______ _________ ____ ____ _________ ___ _______ _________.
__________ _________ ______ __________ ____ _________.
____ ________ ________ _____ ____ ______ ____ ________ _______ ____ _______ __________.
_____ _____ _________ ________ _______ _____ ________.
_______ ___ _________ ________ __________ _____ ________ ______ _____ ______ _________.
___ _________ ____ ______ ______ __________ ________ _________ ________ _____ ________ ________.
_______ _____ ___ _____ ________ _____ __________ __________ ______ _____ __________.
__________ ________ __________ ___ _______ ____ _____ ____ _______ ___ __________ _________.
__________ ________ __________ ___ _____ _____ _________ ____ __________ ____ ______.
___ ________ ___ ___ ___ _______.
___ ___ _________ ______ _____ _______ ________ ______ ________ ___ ___ ___.
_______ ______ ________ ____ __________ ___ __________ _______ __________ ________.
______ _______ _______ ___ ______ _________.
_______ ___ ________ ______ ___ __________ ___ ____ ______ ____ ________.
______ _____ _____ _______ __________ _____ _____.
_______ ___ ____ ___ ____ ___.
_________ ____ _____ ______ ______ _______ _______.
__________ _________ _________ _____ _______ ____ __________ _______.
_______ __________ ____ ______ ___.
________ ___ _________ __________ __________ ______ ________ _____ ______ _______.
____ ___ __________ __________ ___ _______.
______ _____ ______ ______ ______ _______ ________ ______ _____.
_______ ___ __________ ________ ___ ______ ___ _____.
_______ __________ ____ __________ _______ ____ _______ _____ _______.
_______ ______ ______ _________ ______ _________ _____ ________.
_______ _______ _________ _______ __________ _________ ____ ________ _____ ________.
___ ________ __________ ____ __________ _____ _________ ____ ____ ______ _________.
____ _____ _________ _______ ________ ____ _______.
_________ __________ __________ _________ ________ _______ _____ __________ _______ ______ __________.
_________ _______ ________ ______ _________ _________ _____ ___ ____ ______.
_____ _______ ______ ______ _________ ________ ________ ____ ___ ___ ______.
____ ___ ______ ______ _______ _______ ______ _________.
_________ ________ ___ ___ ______.
________ ______ ___ _______ ____.
________ _____ ______ _____ _______ _____.
___ _____ ______ ___ ________ _______ ________ __________ __________ ______.
_________ __________ _______ _______ __________ ______ _____ _____ _________ ________ ________ __________.
_________ ________ _________ _______ _______ ______ _____ ______ ________ ______.
______ ____ ____ ____ ___ ________ __________ ________ ________ _______.
_______ _____ ________ _____ ______ ______ ___ ___ ___.
____ ________ _____ _____ ________ _________ ________.
_____ _____ ________ __________ _______ ____ ________ _________ _________.
_____ ___ _________ ____ ________.
_______ _______ ___ _______ ______ ______ _______ ______ __________ __________ ____.
__________ ______ ________ ________ _________ ____ ______ _________ ________ ____ _______ __________.
_______ ___ __________ ______ ___ ___ ___.
______ ______ _________ ________ ____ _______ _____ _______ _____ ____ ________ ___.
______ ________ __________ ___ _________.
_____ _____ _________ _____ _______ ____.
___ ______ __________ ______ _________.
_________ ____ ________ _______ ____ ____ ____ ________ ________ __________.
______ __________ ____ ____ ________ _______ _______ ________ ________ _________ _______ ________.
__________ ____ __________ ______ ________ _______ ______.
_______ ________ __________ _______ _________.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
✓ Unlock up to 60% of the answer
✓ No payment required