Example of what I want to do but it does not return any value to me:
select select CONCAT('1','-22',valor,'-12')concatenado
from t1,t2
where concatenado=registro
Well my database manages two tables, projects and accounts, where projects have the fields of departure, January-December and total, while accounts have the fields account, account_name and debtor. Now what I need is to make a concatenation with other data defined plus the heading of the table projects, which should be similar to the account field of the table accounts and so be able to compare them and if they are equal then you should throw me the debtor field as result of such consultation.