Displaying 1 result from an estimated 1 matches for "tp4637809p4637816".
2012 Jul 25
3
Select rows based on matching conditions and logical operators
Hi,
I have a dataset in which I would like to select rows based on matching
conditions and return the maximum value of a variable else return one row if
duplicate counts exist. My dataset looks like this:
PGID PTID Year Visit Count
6755 53121 2009 1 0
6755 53121 2009 2 0
6755 53121 2009 3 0
6755 53122 2008 1 0
6755 53122 2008 2 0
6755 53122 2008 3 1
6755 53122 2009 1 0
6755 53122 2009 2 1
6755