Giter VIP home page Giter VIP logo

sql_classwork's Introduction

sql_Example

Phase 1 project

Project Description

Design an ERD representing the database for a car Doctor who needs it to supports its operations in its three locations in central Illinois.(see problem)

Car Doctor ERD

click to see ERD CarDoc db

Phase 2 project

Project Description this is a continuation of Phase 1 project (see problem)

  1. Relational Schema
click to see the schema
2. Normal Form
click to see explanation
Checking for 1st normal form (1NF):
  • This is a relation with no multivalued attributes and each row is unique, hence it is in 1NF .
Checking for 2nd normal form (2NF):
  • Even though they are bridge entities with composite keys for PARTUSED and INVENTORY however there is no Partial dependency because in these two entities the values of the non-key attributes for each entity is determine by the respective composite key , hence functional dependencies.
Checking for 3rd normal form (3NF):
  • There is no transitive dependency in any of the table. Since the table is in 1NF ,2NF and no transitive dependency, we conclude that the table is in 3NF. (It is also important to see that the License plate number does not identify the license state rather it will be the plate number only that is why no transitivity here.)
3. The DDL, DQL and DML For the rest of the problem
click

qestion 3, 5, 6, 7 refer to Phase 2 querry.sql

Phase 3 poject

Problem description (see problem)

  • Querry solutions are in phase 3 querry.sql

Final Project

Problem description (see problem)

  • Querry for all problems in above link are in the Joins Asg8.sql file

sql_classwork's People

Contributors

kuta-ndze 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.