Removed sql specific syntax from query
Removed sql syntax from dashboard view