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

Join two tables with no matching records

$
0
0

Hi All,

I have two tables which have got data as below. Now I need to join those two tables but there are no matching rows or columns in those tables. I have used OUTER JOIN but query was taking more than 5 mnts to run. Whats the best way to join two tables where there are no matching records.

Table : Sections &Table : orders 



I am expecting the final output like I have mentioned below.

How can i write a JOIN. Note there are no matching records from both the tables.

Pls.This is a very urgent requirement.Regards

-pep


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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