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

SQL Query

$
0
0

Hello All,

Please help in below query,

I have a table structure like below,I need the out in below format show weight against each ItemID where there  is matching ItemID there value of that ItemID where there is no matching value there it should display the value of All Weight  

ItemIDScoreSalePrice
AA012234
AA023343
AA034254
AA046563
AA055562
AA067752             

ItemIDweight
All50
AA0215
AA0645

out put

ItemIDScoreSalePriceWeight
AA01223450
AA02334315
AA03425450
AA04656350
AA05556250
AA06775245


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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