SyntaxFix
Write A Post
Hire A Developer
Questions
Considering only one row is returned, only one loop will be done in both cases. Though it will check for the loop entering condition twice on each.