Hello,
I am writing a stored procedure that is supposed to get info out of a table.
E.g
TABLE FRUITS
Id Value1 Value2
1 Apple Banana
1 Apple null
1 grape null
2 Plum Melon
2 Plum null
3 berry null
As you see there are six items with three ids but different info.
If I select * From fruits WHere id =1 I get three rows.
1 Apple Banana
1 Apple null
1 grape null
But In this case I just want to return two rows, namely:
1 Apple Banana
1 grape null
Thankful for any suggestions, preferably in codeexamples.
Best Regards,
L