I have a table that has a NAME value. I have another table that has a related NAME value. I want to count the number of rows from Table1 that have NAME: John Doe, and insert that Count into Table2, under count where that name matches.
我如何在MYSQL中写这句话?