Question about of query

The Answer is: Nothing. These two snippets SHOULD return the same posts.

However, there are a lot of things, that can change a query before it is executed: plugins, your own theme by a pre_get_posts Filter. So to check if it is an error in this code or some other code, you can disable all plugins, switch to a standard theme, and THEN test your snippet again.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)