我需要创建一个视图:employee_view
CREATE VIEW employee_view (Name_of_employee, Name_of_PL, Name_of_manager)
AS
(
Need help here!
)
Raj is an employe
Vijay is a PL
Kumar is a manager
视图列的数据来自表的单个列,但具有不同的 where 条件。我需要创建一个视图。请帮忙,下面提到了表格。
表名:员工
compid secid rowid fieldname
22 1 6 Raj
22 2 7 Vijay
22 3 8 Kumar