Are you sure the SQL query returns results? This would be the first thing I would test, preferably in your database tool ,not Qlik.
It may not make a difference but I would change "SELECT" to be "SQL SELECT".
One error I see is that you have two columns aliased to "COD_PROYECTO". You need to make the names unique within a table. Qlik will load the query output by column's name, not order. So at the moment I don't see how Qlik would know which column to use.