Answer the question
In order to leave comments, you need to log in
How to convert data?
Good evening! In the database, in the column "Organization" is the ID of the organization, for example 13 - Employment Center, how to make the Conclusion to the site not the number 13 itself, but so that it has already converted the number 13 to the employment center?
Thanks for the answer,
I will curse good for the answer :3
Answer the question
In order to leave comments, you need to log in
SELECT t1.*, t2.name FROM table1 as t1 LEFT JOIN organization as t2 ON t1.organization_id = t2.id
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question