warning note and display name in SQL query