Differences between a file and database:
• A file is a collection of similar records, but in database is a collection of related data.
• The file is a single entity by users and applications and may be referenced by name. The database is the relationships among the elements of data.
• Files have unique names and these can be created and deleted. It is a shared system; users and programs are granted or denied access to entire files. A database may contain all of the information relates to an organization. There is a separate database management system that is independent of the operating system, that system makes use of some file management programs.