SQL Queries from the Resource Summary page