Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 4729

Combine two row in sql

$
0
0

Hello Guys,

Is it possible to create this kinda output.

Input:

Table1

Column1

Column

1

A

2

B

3

C

4

D


Table2

A

B

C

D

0

1

0

0

1

0

1

0

0

1

1

1

0

1

0

1


Output:

B

AC

BCD

BD

 

Actually i want to Combine two different table column deepen where 1 .

thanks


Viewing all articles
Browse latest Browse all 4729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>