A database is an organized collection of facts. In other words, it is a collection of information arranged and presented to serve an assigned purpose. An example of a database is dictionary where words are arranged alphabetically. Any organization be it a…