Active Lost Items

0

0 total reported
Found Items In Custody

0

0 total recorded
Pending Claims

0

Awaiting verification
Items Returned

0

Successfully settled

Item Distribution by Category

Recent Campus Activity

Active Claims List

0 claims
Claim ID Item Details Claimant Student Claim Date Proof Provided Status Actions

Final Return Settlement Records

0 returns
Return ID Item Returned Received By (Student) Return Date Verified By Officer Remarks
Reg. Number Student Name Department Contact Email Phone Lost Reported Found Reported Claims Action
Ready

Query Execution Results

Execute a query above to see live database results.

Live Database Schema & Table Dictionary

Extracted live from RDBMS metadata
DBMS Lab Course Project • 50% Review

Campus Lost & Found System

A centralized relational database management system for recording, tracking, claiming, and returning lost articles inside the university campus.

SR
SRITOSH RATH

Registration No: 24BDS0001

B.Tech Data Science
JS
JAYANT SHARMA

Registration No: 24BAI0148

B.Tech Artificial Intelligence

Review 1 (50% Milestone) Progress Checklist

Complete Database Schema (DDL)

6 Relational tables created with PK, FK cascading rules, CHECK constraints, and indexes.

Normalization (1NF, 2NF, 3NF)

Formal justification ensuring 0 partial and 0 transitive functional dependencies.

DML & Realistic Sample Data

Populated with campus students, realistic item categories, claims, and returns.

CRUD & Core Operations REST API

Working endpoints for reporting lost/found items, searching, claiming, and return processing.

Interactive User Interface & SQL Lab

Live single-page application with real-time filters and custom SQL query runner.

Review 2 (Final 50% Scope)

Image uploads for items, email notification triggers, automated matching algorithms, and role-based student auth.

Entity-Relationship (ER) Architecture

STUDENT
PK: student_id name email (UQ) phone department
ITEM
PK: item_id item_name category description location
LOST_ITEM
PK: lost_id FK: student_id FK: item_id date_lost status
FOUND_ITEM
PK: found_id FK: student_id FK: item_id date_found status storage_location
CLAIM
PK: claim_id FK: student_id FK: item_id claim_date claim_status proof_description
RETURN_RECORD
PK: return_id FK: student_id FK: item_id return_date verified_by remarks

Normalization Analysis (1NF, 2NF, 3NF)

1. First Normal Form (1NF)

Rule: Each column contains atomic (indivisible) values, and each record is uniquely identifiable with a primary key.

Compliance: In our schema, student details (name, email, phone) and item attributes are stored as atomic fields. Repeating groups (such as multiple claims or lost items) are factored out into dedicated child tables.

2. Second Normal Form (2NF)

Rule: Table is in 1NF and contains no Partial Functional Dependencies (no non-prime attribute depends on a proper subset of a composite candidate key).

Compliance: Every table uses a single surrogate primary key (student_id, item_id, lost_id, found_id, claim_id, return_id). Since all primary keys are single-attribute keys, partial dependencies are mathematically impossible.

3. Third Normal Form (3NF)

Rule: Table is in 2NF and contains no Transitive Functional Dependencies (non-prime attributes depend ONLY on the primary key, i.e., $X \rightarrow Y$ implies $X$ is a superkey or $Y$ is a prime attribute).

Compliance: Student attributes (e.g. department, phone) are NOT duplicated in LOST_ITEM or CLAIM; only the foreign key student_id is referenced. Similarly, item attributes (e.g. category, location) exist only in ITEM and are accessed via relational joins.

Review 1 Viva Preparation (Key Questions & Answers)

Q1: Why did you separate ITEM from LOST_ITEM and FOUND_ITEM?
Answer: To prevent data redundancy and support 3NF normalization. The ITEM entity represents the physical article (name, category, description, physical location), while LOST_ITEM and FOUND_ITEM represent transactional events linking specific students with event timestamps and lifecycles.
Q2: How do you maintain referential integrity when a student or item is deleted?
Answer: We configured foreign key constraints with ON DELETE CASCADE for operational tables (LOST_ITEM, FOUND_ITEM, CLAIM) and ON DELETE RESTRICT for RETURN_RECORD so that legal handover audit logs cannot be accidentally erased.
Q3: What happens when an item claim is approved?
Answer: When an admin approves a claim, our system executes a transactional update: the claim's status is set to 'Approved', the found item's status transitions to 'Claimed', and any other pending claims for that same item are automatically marked as 'Rejected'.
Q4: What indexes did you create and why?
Answer: We created B-tree indexes on STUDENT(email) (unique lookups), ITEM(category), ITEM(location), and status fields (status, claim_status) to accelerate multi-condition search queries across large datasets.