Guest User

Untitled

a guest
Jun 23rd, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. CREATE OR REPLACE VIEW Customer_View AS
  2. SELECT c.customer_id, CONCAT(First_Name, ' ', Last_Name) AS 'Full_Name',
  3. Address_1, Address_2, Phone, Email, City, State, Zip, Country,
  4. FROM address AS a
  5. JOIN customer AS c
  6. ON a.customer_id = c.customer_id
  7. JOIN address_type AS aty
  8. ON a.address_type_id = atp.address_type_id
Advertisement
Add Comment
Please, Sign In to add comment