sql - Concatenate variables which appear in the GROUP BY statement -


in database have dimensions of item stored separate columns (i.e. height , width). want pull report grouping 2 size dimensions , possibly concatenate them in results.

for instance on result have in first column dimension showed "300x250".

i'm using sql server 2008 r2.

you want like:

select concat(width, 'x', height) dimensions table group width, height 

Comments

Popular posts from this blog

c# - OpenXML hanging while writing elements -

php - regexp cyrillic filename not matches -

sql - Select Query has unexpected multiple records (MS Access) -