Image description

ProGrad Lab | ProGrad Pro Kabbadi League

ProGrad Pro Kabbadi League is gonna begin in a month from now. Our ProGrad organizers are pretty excited to see the champions. We have nearly 20 teams participating in the league. So, there's a lot of data like players, scores etc that need to be collected and stored to decide the winners at each level.

One of our Database specialist has done half the job by creating an ER diagram to visualise the database structure. That's when we thought we could take your help to take this project to completion as you have just started working with databases.

Can you give it a try?

What Should You Do

Go to Oracle SQL Developer and connect to SYSTEM schema or hr schema.
Start writing your queries in the query builder.
Save the .sql file and upload it in github.
Practice Oracle SQL - DDL Statements.

How To Submit

Upon completion, run the following commands:

git add .
git commit -m "ProGrad ID"
git push origin master

And finally, create a pull request so your ProGrad Mentor (PM) can review your work.

Instructions

  1. Do not erase the existing queries.
  2. Use the same file to write all your queries.
  3. Select the entire query and run it to see the output.
  4. Save the file as your_file_name.sql and upload it to github.
  5. You can use dml-pkl.sql as a reference.

Requirements

Oracle 11g Express edition and Oracle SQL Developer

ER Diagram

Image description

Image description

PROGRESSION 1:

  1. Insert into city
  2. Insert into referee
  3. Insert into innings
  4. Insert into extra_type
  5. Insert into skill
  6. Insert into team
  7. Insert into player
  8. Insert into venue
  9. Insert into event
  10. Insert into extra_event
  11. Insert into outcome
  12. Insert into game
  13. Update player table
  14. Update player table
  15. Update player table
  16. Update player table
  17. Delete from extra_type
  18. Delete from referee
  19. Delete from player
  20. Delete from outcome

Happy Coding ❤️