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

Hardik BhavsarPosted Nov 25, 2013, 5:32 AM
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
Jaganathan BantheswaranPosted Nov 25, 2013, 2:27 AM
It is answered here
Jignesh TrivediPosted Nov 25, 2013, 2:14 AM
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...
Hardik BhavsarPosted Nov 25, 2013, 1:55 AM
Jaganathan BantheswaranPosted Nov 25, 2013, 1:44 AM
Hardik BhavsarPosted Nov 25, 2013, 12:37 AM
Jaganathan BantheswaranPosted Nov 25, 2013, 12:32 AM