+ 11
Can we insert data into two different tables using mysql/sql ?
6 ответов
+ 6
make two queries 😉
+ 3
no
0
yes you can using MySQLi not the legacy MySQL
0
yes u can
0
Do you mean it needs in one transaction?
0
I would run the insert for one table and then use search and replace on the table name using ctrl+h as long as the columns are the same name otherwise you have to do a search and replace on the column names too.
once you have completed the search and replace rerun the query