Is there any easy way to return single scalar or default value if query doesn\'t return any row?
At this moment I have something like this code example:
Try this `SELECT IFNULL(Name,'John Doe') FROM Users WHERE Id = @UserId)`