Jump to content

how can i conect 2 tables in mysql?


alin19

Recommended Posts

i wish to make some conexion, when inserting in a table some values, some of them to be also inserted in the second one, the same with the update,

 

 

can you explain to me how can i pull the the data when i have the 2 tables linked?

 

 

table 1                            table2

 

 

id      nume                      id  prenume

 

with:

 

select * from 'table 1'   

 

i will get nume and prenume?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.