View vs Stored Procedure
Views and stored procedures are two types of database objects. Views are kind of stored queries, which gather data from one or more tables. Here, is the syntax to create a view
create or replace view viewname
as
select_statement;
A stored procedure is a pre compiled SQL command set, which...