{"id":25411505,"url":"https://github.com/aboualine/sql-formation","last_synced_at":"2025-10-31T10:12:00.703Z","repository":{"id":276014969,"uuid":"927931264","full_name":"aboualine/SQL-formation","owner":"aboualine","description":"Library Management System Database: A MySQL project with tables, triggers, stored procedures, and views for managing books, members, and borrowings. Includes sample data for testing. Ideal for learning SQL or building a library app.","archived":false,"fork":false,"pushed_at":"2025-02-05T19:29:58.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-16T10:19:45.012Z","etag":null,"topics":["data","database","library-management-system","mysql","sql","system"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aboualine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-05T19:24:05.000Z","updated_at":"2025-02-05T19:34:27.000Z","dependencies_parsed_at":"2025-02-05T20:45:08.488Z","dependency_job_id":"0932de32-bc47-46ae-8263-99d9b9c3e55a","html_url":"https://github.com/aboualine/SQL-formation","commit_stats":null,"previous_names":["aboualine/sql-formation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboualine%2FSQL-formation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboualine%2FSQL-formation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboualine%2FSQL-formation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aboualine%2FSQL-formation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aboualine","download_url":"https://codeload.github.com/aboualine/SQL-formation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248845274,"owners_count":21170732,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data","database","library-management-system","mysql","sql","system"],"created_at":"2025-02-16T10:18:30.923Z","updated_at":"2025-10-31T10:11:55.656Z","avatar_url":"https://github.com/aboualine.png","language":null,"readme":"# Library Management System Database\n\nA fully functional MySQL database for managing a library. Includes advanced SQL features like triggers, transactions, stored procedures, and views.\n\n## Features\n- **Tables**: Books, members, borrowings, authors, and genres.\n- **Triggers**: Automatically update book availability.\n- **Stored Procedures**: Simplify borrowing and returning books.\n- **Views**: Easy access to available and borrowed books.\n- **Sample Data**: Pre-populated data for testing.\n\n---\n\n## How to Use\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/your-username/library-management-system.git\n2. Set up the database:\n   ```bash\n   mysql -u your_username -p \u003c library_management.sql\n3. Explore the database using MySQL queries.\n\n---\n\n# Student Management System\n\nA **Student Management System** built with **MySQL**. This system manages students, courses, enrollments, and grades. It includes **stored procedures**, **triggers**, and **views** for easy interaction with the database.\n\n## Features\n- Manage students, courses, and enrollments.\n- Add grades for students.\n- Prevent duplicate enrollments with a trigger.\n- View student enrollments and grades.\n\n## Setup\n1. Run the `student_management.sql` script in your MySQL server.\n2. Use the provided stored procedures and views to interact with the database.\n\n## Sample Queries\n- Get all students: `SELECT * FROM students;`\n- Enroll a student: `CALL enroll_student(1, 3);`\n- Add a grade: `CALL add_grade(5, 'B');`\n\n---\n\n## License\n\nThis projects is licensed under the **MIT License**.\n\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboualine%2Fsql-formation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faboualine%2Fsql-formation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faboualine%2Fsql-formation/lists"}