@11427qvolaf wrote:
The dataset Contacts is comprised of several entries for each subject (unique identifier is patient_number). You are asked to create a new dataset containing one row per patient with the number of contacts per month. What sample SAS or SQL code would be used to complete this request.
Look at documentation for Procs Means, Summary, Freq, Report, Tabulate and SQL. All of these can create such a summary. The preferred choice might come with additional requirements.
Or tasks to COUNT.