Multiple choice technology programming languages

data check; set old; by id; if first.id and ^last.id; run; We can use the above code for finding the duplicate rows.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In SAS, the 'first.id' and 'not last.id' logic identifies the first occurrence of an ID that appears more than once in a sorted dataset, effectively flagging duplicate groups.