Not exactly. The pgAdmin tool just allows you to find the fields in the tables you want to use.
You could try the following:
select count(*) as active_sessions from radius_acct where (username = '%{Authentication:Username}') AND end_time is null AND termination_cause is null;
Add active_sessions as the 'Name' and set the Data Type to integer. You can use whatever AliasName you want and that is then the field you refer to in your policies.
This will be a count of all active sessions based on the authenticating username.
Is this what you want?