Skip to content
Advertisement

Maybe simple – Change ID with real name from another table

I hope you can help a lost person in SQL 🙂

Making this SQL query:

Results: Results image

QUESTION: The ID 329 under “ClosedBy” – I would like to change that ID with real name from the table Person – Find ID 329 in Person table and get the colum “Signature” on row 329

Person table image

Advertisement

Answer

You need another join of OperationBase to Person, but this time make it a left join because I see that there are nulls in your query and instead of ob.ClosedBy select Signature:

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement