Merge two excel tables with the same item?

The

A table has both id,B and id. But the id of B table is only a part of A table, how to merge the name of B table into A table through id, for example, the id of B table is 10, and the id of A table is 10, then name should be added to the row with id 10. If table A has id. If there is no table B, it is empty

.
Php
Mar.25,2021

two excel are two arrays, which can be processed by looping through the array.

so, what does the landlord want to ask?

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c1e8-2c2ff.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c1e8-2c2ff.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?