2016-01-23, 09:56 PM
2016-01-23, 10:40 PM
Depending on what exactly you mean:
http://dev.mysql.com/doc/refman/5.7/en/join.html - most often LEFT JOIN: http://www.tizag.com/mysqlTutorial/mysqlleftjoin.php
http://dev.mysql.com/doc/refman/5.7/en/subqueries.html
http://dev.mysql.com/doc/refman/5.7/en/union.html
Otherwise you can't.
http://dev.mysql.com/doc/refman/5.7/en/join.html - most often LEFT JOIN: http://www.tizag.com/mysqlTutorial/mysqlleftjoin.php
http://dev.mysql.com/doc/refman/5.7/en/subqueries.html
http://dev.mysql.com/doc/refman/5.7/en/union.html
Otherwise you can't.
2016-01-25, 10:02 AM
Join two tables if you want information from two different tables.