{"id":19574285,"url":"https://github.com/kxxwz/se305_dbst_project","last_synced_at":"2025-07-12T02:08:56.736Z","repository":{"id":113319944,"uuid":"160347341","full_name":"kxxwz/SE305_DBST_Project","owner":"kxxwz","description":"Course Project for SE305 Database System Techniques","archived":false,"fork":false,"pushed_at":"2018-12-08T12:46:53.000Z","size":22665,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-14T02:07:08.215Z","etag":null,"topics":["databse","mysql"],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kxxwz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-12-04T11:31:45.000Z","updated_at":"2020-05-17T09:25:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"1caf37be-1a1a-4f36-9810-b55cb8e4f19e","html_url":"https://github.com/kxxwz/SE305_DBST_Project","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kxxwz/SE305_DBST_Project","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kxxwz%2FSE305_DBST_Project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kxxwz%2FSE305_DBST_Project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kxxwz%2FSE305_DBST_Project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kxxwz%2FSE305_DBST_Project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kxxwz","download_url":"https://codeload.github.com/kxxwz/SE305_DBST_Project/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kxxwz%2FSE305_DBST_Project/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264923455,"owners_count":23683750,"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":["databse","mysql"],"created_at":"2024-11-11T06:39:31.563Z","updated_at":"2025-07-12T02:08:56.655Z","avatar_url":"https://github.com/kxxwz.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SE305 DBST Project\nCourse Project for SE305 Database System Techniques\n\n## Directory\n```bash\n.\n├── LICENSE\n├── Project-Description.pdf\n├── README.md\n├── arxived_report\n├── code\n│   ├── build_MySQL_database\n│   │   ├── create_table.py\n│   │   ├── delete_table.py\n│   │   └── insert_item.py\n│   ├── crawler\n│   │   ├── crawl_book_content.py\n│   │   └── crawl_book_info.py\n│   ├── interface\n│   │   ├── default.png\n│   │   └── interface.py\n│   └── process\n│       ├── download_picture.py\n│       ├── output\n│       └── process.py\n└── data_sample\n```\n\n## ER Model\n![](ER.jpg)\n\n## Relational Model\n- **Book** (**book\\_id**, author, title, book\\_url)\n- **Picture** (**picture\\_url**, description\\_words)\n- **belong\\_to** (**book\\_id**, **picture\\_url**, chapter\\_number)\n\n## Query\n\n```\n# Find the books according to the name, author.\ndef find_book(book_name, author):\n\tretun book_url\n\n# Given a book and chapter number, you can return some relative pictures.\ndef find_pic_by_name_chapter(book_name, chapter_num):\n\treturn [pic1_url, pic2_url]\n\n# Given some words, you can find the relative pictures according to the words.\ndef find_pic_by_words(book_name, words):\n\treturn [pic1_url, pic2_url]\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkxxwz%2Fse305_dbst_project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkxxwz%2Fse305_dbst_project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkxxwz%2Fse305_dbst_project/lists"}