anders2002
MIS
Can anyone help me with this query:
SELECT company.companyName, myaccounts.activelead FROM company,myaccounts where (company.companyName like "%cousins%" or (myaccounts.accountName like "%cousins%"
ORDER BY company.companyName Asc
There will always be a companyName stored in I would like it to return from the LIKE query, but not always one in the activelead table.
At the moment, if there is no entry like "cousins" in the myaccounts table, i get no returned results even though there are matching entries in companyName.
Can anyone help me?
SELECT company.companyName, myaccounts.activelead FROM company,myaccounts where (company.companyName like "%cousins%" or (myaccounts.accountName like "%cousins%"
ORDER BY company.companyName Asc
There will always be a companyName stored in I would like it to return from the LIKE query, but not always one in the activelead table.
At the moment, if there is no entry like "cousins" in the myaccounts table, i get no returned results even though there are matching entries in companyName.
Can anyone help me?