Dear all,

If I have a database on STATA with multiple rows for each patient (due to multiple outpatient visits over time) how can I select just only the first row for each patient? I will past below an example of this database:

ID Patient sex age

101 0 65
101 0 65
101 0 65
102 1 59
102 1 59
102 1 59