MySQL error: Unknown column 'advertisingnetwork' in 'where clause'