知识点
- 创建视图的代码为CREATE VIEW <视图名> AS <SELECT语句>
代码
create view actor_name_view as
select first_name as first_name_v, last_name as last_name_v
from actor
create view actor_name_view as
select first_name as first_name_v, last_name as last_name_v
from actor