I have a clients table containing CLIENT_ID, CLIENT_NAME, and another table containing CLIENT_APROVED.
The approval table is populated with SOME clients of the clients table but only the NAMES of the clients. I wanted to replace the name with the client id. Or create a customer_id column in the table of approval. I wanted to do this in php. How can I mount this sql query?