Views
What is a View?
How to use Views
Difference between Postgres Views and Doltgres Views
Interaction with Doltgres Version Control
Example
create table salaries (name varchar(255), salary int, primary key(name));
insert into salaries values ('Jim', 120000), ('Bob', 240000), ('Sally', 360000);
create view monthly_salaries as select name, salary/12 as monthly_pay from salaries;
select * from monthly_salaries order by monthly_pay asc;
+-------+-------------+
| name | monthly_pay |
+-------+-------------+
| Jim | 10000 |
| Bob | 20000 |
| Sally | 30000 |
+-------+-------------+Using as of with Views
as of with ViewsLast updated
