/ Published in: SQL

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
UPDATE documents_logs, documents, documents_types SET documents_logs.document_company_id = documents_types.company_id WHERE documents.id = documents_logs.document_id AND documents_types.id = documents.documents_type_id
Comments
