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 -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

java - How to implement an entity bound odata action in olingo v4.3 -