Using DPI statistics with example database queries