A MySQL database system for freelancers to manage clients, projects, and payments efficiently.
This project models a real-world scenario where freelancers need to track:
- Client details
- Project assignments, deadlines, and budgets
- Payment records and methods
View scenario_description.txt for detailed scenario info!
- Clients: Stores client contact and company info
- Projects: Linked to clients, with optional descriptions, deadlines, and budget info
- Payments: Tracks amount, date, and payment method per project
- Import
freelancer_db.sqlinto your MySQL environment to create and populate the database. - Run the sample queries to interact with the data.
SELECT title, deadline FROM Projects WHERE deadline > CURDATE();SELECT c.name, COUNT(p.project_id) FROM Clients c LEFT JOIN Projects p ON c.client_id = p.client_id GROUP BY c.client_id;SELECT method, SUM(amount) FROM Payments GROUP BY method;