Guest User

Untitled

a guest
Jun 22nd, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. --Table names has columns prefix, first, last & suffix.
  2. --Conctenate these column values an output it as title
  3.  
  4. SELECT concat_ws(' ', prefix,first,last,suffix) AS title FROM names;
  5.  
  6. select prefix || ' ' || first || ' '|| last || ' ' || suffix as title from names;
Add Comment
Please, Sign In to add comment