I have 2 tables, A and B. A and B are have three columns.
Here is the structure of A:
id,name,phone
Here is the structure of B:
id,Aid,name
The "Aid
" is related to "id
" of table A. you know, foreign key.
The "id" of table A is auto_inc
, but I want to reindex it and change "Aid
" of table B at the same time.
How can I do?