Hello, Experts
I would like to add another table in the SQL and I don't know how to nest the join.
Here is the SQL
"SELECT Items.ImageID AS ImageID2,
Attribs.ImageID AS ImageID,
Priority,
Description,
Name
FROM Items LEFT JOIN Attribs ON Items.ImageID = Attribs.ImageID
WHERE ( Items.ImageID LIKE '%" + Replace(sidephoto_rs__MMCo
lParam, "'", "''") + "%'
OR Name LIKE '%" + Replace(sidephoto_rs__MMCo
lParam, "'", "''") + "%'
OR Description LIKE '%" + Replace(sidephoto_rs__MMCo
lParam, "'", "''") + "%' )
ORDER BY Priority, Items.ImageID ASC"
I would like to add this sentence in FROM clause
Attribs LEFT JOIN AttribList ON Attribs.Descriptor = AttribList.attribID
How do I do it?
Start Free Trial