Git Product home page Git Product logo

school_database-it004's Introduction

School_database-IT004

Đồ án 1

Hãy nghiên cứu Cổng dữ liệu quốc gia (Mục Danh sách các trường học tại TP. Hồ Chí Minh) được công bố tại https://open.data.gov.vn/dataset/danh-sach-tru-ng-h-c-t-nh-h-chi-minh và tải về các file EXCEL.

Phần 1:

a. Hãy xây dựng sơ đồ lược đồ CSDL TRUONGHOC (Trường học) mà bạn cho là hợp lý, gồm các lược đồ quan hệ, các khóa chính, các khóa ngoại (tương tự như Sơ đồ tại trang 11, chương 3 https://courses.uit.edu.vn/mod/resource/view.php?id=164032)

b. Hãy viết script file CreateSchema.sql, để khi thực hiện câu lệnh mysql –u root –p < CreateSchema.sql từ shell, có thể tạo ra CSDL tên TRUONGHOC với tất cả các table kèm theo các ràng buộc PRIMARY KEY, FOREIGN KEY, NOT NULL đã xác định ở Câu 1.

Phần 2.

Hãy viết chương trình bằng ngôn ngữ C++, Python hoặc Java:

  • Input: Đường dẫn đến folder Data chứa các file excel đã tải về.
  • Output: các file có cùng tên trong Data, nhưng tên mở rộng là .sql: mỗi file .sql gồm các câu lệnh INSERT, khi chạy sẽ cho phép chuyển dữ liệu từ file excel vào table tương ứng trong database TRUONGHOC đã tạo ở Phần 1b.

school_database-it004's People

Contributors

tvdat20004 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.