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

Merging data from two tables

$
0
0

Hi,

I am extracting data of two fiscal years from two different tables and storing them in temporary tables.

@FY1516

SalesPersonIDSalesPersonName SalesPersonCity SalesFY1516

@FY1617

SalesPersonIDSalesPersonName SalesPersonCity SalesFY1617

I want to see results

SalesPersonIDSalesPersonName SalesPersonCity SalesFY1516 SalesFY1617

All Sales Person do not have sales in both fiscal years. 

Regards




Viewing all articles
Browse latest Browse all 4729

Trending Articles



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