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

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -