Giter Club home page Giter Club logo

dbms-assignments's Introduction

DBMS-Assignments

Assignment submission for DBMS course

Assignment 1

Topic: Company Database ER Diagram

Requirements:

  1. There should be minimum 3 Tables in the Design
  2. As far as possible keep the design simple
  3. Every table should have a Primary Key
  4. There should be at least one Foreign Key constraint
  5. You should represent at least one Relationship (i.e 1:1, 1:n, n:1,n:m)
  6. The Table names and attribute names should make sense and should be relevant to the given problem

Assignment 2

Requirements:

  1. Showcase one Many-Many relation.
  2. Represent Composite key and Weak Entity in your Database
  3. Show Violation of Primary Key, Unique Not Null and default key constraints through insertion.
  4. One Derived attribute should be added to the Database design
  5. Insert tuples into the table and see how foreign key constraint works if you try to insert into dependent table first.

Assignment 3

Requirements:

  1. Show how to Create and Drop Database
  2. Show all the Databases are in the system
  3. Create Table for your Database
  4. Show how select can be used for Creating table
  5. Drop table
  6. Show how to check the schema of the tables
  7. Show all the tables from the database (This is not done in class, I want you to explore. This is a very simple query and I think you should be able to do to it.)
  8. Insert 5 to 10 rows in each of the tables of your Database
  9. Show usage of Simple Select Statement
  10. Select Statement using Relational and Logical operators.
  11. One simple Subquery using select

Assignment 4

Requirements:
Illustration of the following using Select Query

  1. Order by Clause
  2. Group by and having
  3. Aggregate functions
  4. Logical operators especially with LIKE
  5. At least 4 Nested queries specific to your Database, out of which at least 2 should have multiple subquery.

Assignment 5

Requirements:
Illustration of different types of Joins. Make use of all the tables in the Database. Don’t get stuck on to one or two table. The Queries should cover all the tables.

  1. INNER JOIN - 3 queries
  2. LEFT OUTER JOIN – 3 Queries
  3. RIGHT OUTER JOINS – 3 QUERIES
  4. Make use of different types of operators and clauses within all the queries.

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.