Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
You are not restricted by the column definitions in the database schema. You can join columns together so they're more human readable as one.
SQLite, PostgreSQL and Oracle
Use the concatenation operator ||
.
SELECT <value or column> || <value or column> || <value or column> FROM <table>;
MS SQL
Use the concatenation operator +
.
SELECT <value or column> + <value or column> + <value or column> FROM <table>;
MySQL, Postgres and MS SQL
Use the CONCAT()
function.
SELECT CONCAT(<value or column>, <value or column>, <value or column>) FROM <table>;
Cheat Sheets
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up