GithubHelp home page GithubHelp logo

janus-tg / college-database Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 253 KB

SQL program for creating and querying a database in MySQL for any high school or college system.

Home Page: https://janus-tg.github.io/College-Database/

License: MIT License

sql relational-databases database query

college-database's Introduction

College Database

A database program created in MySQL that can function as a college database. It stores all the students' info in the student_info table which contains the firstname, lastname, student ID, major and their sex. The instructors' details with their IDs and names are in another related table. Another table contains the major names and their corresponding codes. Lastly, different tables have been created for each individual course being offered. These course tables contain the student ID of each student who has taken the course, name of professor who taught the course to the student, year and semester the course was taken in and the mark the student received in the course.

Running the program

  1. Create a database called first_db on MySQL
  2. Run the script main.sql

Note: This program has only been tested on MySQL. Performance on other database engines is not guaranteed.

Pictures of table

Student info, instructor info and majors' tables

Student information table

Instructor information table

Major information table

Table for different subjects

Click the links to see the images

Results of queries performed

Click the links to see the images

Contributing

Pull requests are welcome for adding more courses and populating the database or fixing exisiting issues.

License

MIT

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.