php - Connect to table of a database -


how connect 2 tables of database, 1 column in common each other?

table1-> id        table-2 -> id    213                  213 123                  123 

mysql:

select    table1.*,   table2.*    table1    left join table2      on table2.id = table.id  

Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -