Added sample SQL query function to use

Added sample SQL query for use in developing the system.