In one table, there are two foreign key from another table.
First table is documents and another table is common.
My current code,
SELECT a.* FROM documents AS a INNER JOIN common AS c ON a.docId = c.id INNER JOIN common as cc ON a.statusId = cc.id
what's the best way to join for the better performance?
Thanks.