Added a warning to solve dangerous sql call with no parameters