Table A associates with table B and obtains the data of table B. Now I want to output the multiple names obtained in table B as "1,2,3"
As shown in the figure
Get multiple "patient_name" of table B through the fields of table A. How should I change the code so that the result output is of the type "1,2,3"
大瓶可乐@php.cn2023-10-07 23:38:35
Then don’t you join the tables? Directly use the data in table A to look up the data in table B