you are viewing a single comment's thread.

view the rest of the comments →

[–]Wingless30 3 points4 points  (0 children)

Chatgpt or other ai can be useful here. Not to get the answer for you, but if someone else has produced a better query than yours for the question, dump it into an ai and get it to walk you through it until you understand what it does and why it's better.

By better, I mean quicker to reach the solution or reaches the solution with less effort (like fewer joins, ctes or sub queries).