I believe they are just normal queries on the table. Below is the sql that I am using.
SELECT PUBLIC_RMF008.RM08CS, PUBLIC_RMF008.RM08LT, PUBLIC_RMF008.RM08TY, PUBLIC_RMF008.RM08DT, PUBLIC_RMF008.RM08RF, Count(PUBLIC_RMF008.RM08SQ) AS CountOfRM08SQ, PUBLIC_RMF008.RM08CM, PUBLIC_RMF008.RM08NC...