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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -