Skip to main content

Aggregate Functions

BeginnerOpen SQL⏱ 10 min

Task

Count the total number of records in database table MARA using an aggregate function.

Write Your ABAP Code

ABAP Editor
Loading...
📥 Sample Input & Output
MARA contains 100 records

Output:
Total Count = 100
💡 Hint

Use COUNT( * ) in your SELECT statement.

✅ View Reference Solution
SELECT COUNT( * )
  FROM mara
  INTO lv_count.