Create view in SQL

1 answer

Answer

1026793

2026-08-08 05:20

+ Follow

create view vw_active_employee

as

select * from employee

where status = 'Active'

after creating the view, view can be used as a table to see active employee.

e.g. select * from vw_active_employee

Basically we save sql as a database object, so that we can use that in future as a virtual table.

ReportLike(0ShareFavorite

Related Questions

Copyright © 2026 eLLeNow.com All Rights Reserved.