Home > Backend Development > PHP Tutorial > mysql - How to process and integrate the contents of two tables into a third table in php

mysql - How to process and integrate the contents of two tables into a third table in php

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-08-04 09:22:21
Original
960 people have browsed it

The database has three tables A B C. There are millions of data in table A and there are fields keys in them. This field is used for replacement. Tables B and C also have keys fields. Now I want to randomly select three keys from the two tables B and C and combine them one by one to replace them. I want to ask an expert to give me some advice on removing the keys field in table A. It would be great if there is some ready-made code that I can learn from. Thank you

Reply content:

The database has three tables A B C. There are millions of data in table A and there are fields keys in them. This field is used for replacement. Tables B and C also have keys fields. Now I want to randomly select three keys from the two tables B and C and combine them one by one to replace them. I want to ask an expert to give me some advice on removing the keys field in table A. It would be great if there is some ready-made code that I can learn from. Thank you

You already know the processing logic, you just need to turn it into code.
The most you can do is add some if else logical judgments. So quickly write a php to implement it yourself

Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template