Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE OR REPLACE VIEW Customer_View AS
- SELECT c.customer_id, CONCAT(First_Name, ' ', Last_Name) AS 'Full_Name',
- Address_1, Address_2, Phone, Email, City, State, Zip, Country,
- FROM address AS a
- JOIN customer AS c
- ON a.customer_id = c.customer_id
- JOIN address_type AS aty
- ON a.address_type_id = atp.address_type_id
Advertisement
Add Comment
Please, Sign In to add comment