Question: what is the difference between stored procedure and view?
Answer: View is simple showcasing data stored in the database tables whereas a stored procedure is a group of statements that can be executed. A view is faster as it displays data from the tables referenced whereas a store procedure executes sql statements. A view is a simple way to save a complex SELECT in the database.