Advertisement
Guest User

Untitled

a guest
May 20th, 2019
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. CREATE VIEW `v_employees_job_title` AS SELECT concat_ws(' ', `first_name`, IF (`middle_name` IS NULL,'', `middle_name`), `last_name`) AS 'full_name', `job_title`
  2. FROM `employees`;
  3. SELECT * FROM `v_employees_job_title`;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement