So I am getting an
"Unknown Column"
error in this code:
SELECT 
 cus_id,
 cus_name, 
 cus_phone 
FROM database.cus_info 
WHERE cus_updated=1 IN ('database.cus_address') # AND cus_id = (database.cus_info.cus_id)
basically I need it to look in a different table (cus_address) and under column (cus_updated) and need it to only grab (cus_name and cus_phone) if (cus_updated) = 1.
Any ideas would be greatly appreciated. Thank you in advance
 
    