开发者

2 mysql entries into different tables in one query?

I know how to enter information into one table, but how would I enter or take information from 2 different tables at the s开发者_开发技巧ame time. I have researched and it has something to do with JOIN, but I have tried to no avail!


It is not possible to insert into 2 tables in one query.

(Technically - you can create a trigger in table A, that inserts something to table B, but in this case you're not able to control what data to insert from the INSERT)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜