The Unexpected SQL warning is issued in the following situations:

Edit your query and depending on your requirements, do one of the following: change the Output Structure of this query; or change the attributes being selected.

You should open your SQL query and check whether the Output Structure contains the necessary attributes to fetch the selected attributes, specified through the Inline parameters

You should open your SQL query and check whether the Output Structure contains the necessary attributes to fetch the selected attributes. To avoid this warning it is advisable that you use SELECT {Entity}.* instead.

You should change the order by which entities are selected to make it the same as the Output Structure.

Re-check the SQL associated with this query to be sure it is valid.

 

Clicking the symbol will launch the SQL editor where the warning was detected.

See Also

About SQL | About Warning Messages