Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

LEFT JOIN

$
0
0

Hi all,

        sometimes my mind thinks lot of things and misses small logics.. simple but not able to concentrate help is appreciated..

Create table #sample
(
text varchar(10)
,id int
)

insert into #sample values('phani',1)
insert into #sample values('murali',1)

Select * from #sample

Result looking for:

ID    TEXT1        TEXT2
1      PHANI        MURALI

Thanks in advance..


- please mark correct answers


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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