FORUM-681 | [Forum] Write SQL statement to make easy building SQL query - apply for FORUM