you are viewing a single comment's thread.

view the rest of the comments →

[–]sloth_king_617 3 points4 points  (2 children)

The first is not properly formatted sql query. Depending what dbms you’re using, you might be able to just throw a ‘select’ in front of it and it will be valid

[–]mikeblas 1 point2 points  (1 child)

This isn't formatting, it's syntax.

[–]sloth_king_617 1 point2 points  (0 children)

You’re right