What is the Difference between view and index in sql?

Answer:

Both Views and Indexes are created on top of a table but each of them serve a specific purpose.

An Index is a data structure that is created to improve the performance of the data fetch operations on a table

A view is similar to a table but may contain data from one or more tables connected to one another through a business logic. A view can be created to implement business logic or to conceal the underlying table implementation from everyone

First answer by Anandvijayakumar. Last edit by Anandvijayakumar. Contributor trust: 783 [recommend contributor recommended]. Question popularity: 1 [recommend question].