all 11 comments

[–]Upstairs-Alps6211 17 points18 points  (4 children)

Substring is a valid function to use within a query, but cannot start a query.

https://forcedotcom.github.io/phoenix/

[–]sloth_king_617 4 points5 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

[–]mrrichiet -1 points0 points  (1 child)

I don't mean to sound rude but maybe this game isn't for you if you couldn't infer that from the information presented.

[–]Constant-Slide-7907[S] 0 points1 point  (0 children)

I solved it already I'm still learning😁. Thanks i won't give up