Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

How to write self join in sql?

$
0
0

Hi,

I have table named "table_upload", column "record_type" value "01,03,04....." and start_date,end_date and so on

And i will have value for  start_date,end_date only for record_type=01,rest of type these two columns will be null.

now i need to write query with self join, to include above concept. can any one please help me .

and my query look like follows,


Viewing all articles
Browse latest Browse all 8428

Trending Articles



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