The following example returns the number of U.S. customers from a Customer table using the SQL SELECT command and stores the to _TALLY automatically. The ? command displays the value stored in _TALLY.
SELECT * FROM customer ;
WHERE country = 'USA' ;
INTO CURSOR temp
? _TALLY
For more information, see ? | ?? Command.