Mysql
 sql >> Database >  >> RDS >> Mysql

Unire 2 tabelle in SELECT(MYSQL/PHP)

Questo dovrebbe restituire le righe desiderate, in base al num colonna:

SELECT Name, lastName, address, people.conID, postNum, region 
FROM people 
JOIN countries 
ON people.conID = countries.conID 
WHERE num=1