How to create a query when i give the month name same as product record display in amount otherwise not match product are not display in record?
EXAMPLE :-
Product Name Month Amount
ABCD 5 20000
XYZ 5 10000
Kapchi 5 4500
RETI 5 65000
Jab Tak Hai Jaan 5 30000
Jab Tak Hai Jaan 6 30000
ABCD 6 20000
XYZ 6 10000
Kapchi 7 1000
RETI 7 45000
ABCD 8 20000
XYZ 8 10000
RETI 8 45000
Jab Tak Hai Jaan 8 30000
Kapchi 9 1000
GIVE OUTPUT :-
Product Name Month Amount
Kapchi 5 4500
RETI 5 65000
Kapchi 7 1000
RETI 7 45000
RETI 8 45000
Kapchi 9 1000


Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Nov 24, 2013, 7:32 PM EST
Hardik Bhavsar141 reputationPosted Nov 24, 2013, 7:37 PM EST
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Nov 24, 2013, 8:44 PM EST
Hardik Bhavsar141 reputationPosted Nov 24, 2013, 8:55 PM EST
Jignesh TrivediRank #16 · 50.3K reputationPosted Nov 24, 2013, 9:14 PM EST
From the out put we can not conclude any thing can you please business scenarios?
also above query is also not help us to problem which you are facing...
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Nov 24, 2013, 9:27 PM EST
It is answered here
Hardik Bhavsar141 reputationPosted Nov 25, 2013, 12:32 AM EST
same top 5 highest amount wist productid find the record for different months.
but i want to Give the output is-->
Thanking You,
Hardik Bhavsar