Pid price
1 1001 1501 100
Output :
Pid price1 2001 150
ie i want to add the price where pid and price are same .
Use the following query,
Code SnippetSelect Pid, Price * count(*) as Price from YourTable Group BY Pid,Price
Code Snippet
No comments:
Post a Comment