CREATE VIEW ActiveCustomers AS SELECT CustomerID, CustomerName, City FROM Customers WHERE Active = 1;
Click Run to execute this code.