Views
What is a View?
How to use Views
Difference between MySQL Views and Dolt Views
Interaction with Dolt Version Control
Example
mysql> create table salaries (name varchar(255), salary int, primary key(name));
mysql> insert into salaries values ('Jim', 120000), ('Bob', 240000), ('Sally', 360000);
mysql> create view monthly_salaries as select name, salary/12 as monthly_pay from salaries;
mysql> 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
Was this helpful?