Selecting data from two different tables without using joins

You can do like this..

select table1.name, table1.description, 
table2.name, table2.description 
from table1 inner join Table2 on  table2.id=table1.id and table2.`type`=22

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)