Hello all,
I have a query that I have been using in Microsoft Access that doesn't work with mySQL. I was wondering if someone could help me convert this:
SELECT user.usrID, user.ctGiven, user.ctSurname,user.coName
FROM user
WHERE user.usrID NOT IN(
SELECT user.usrID
FROM user
INNER JOIN permissions on user.usrID = permissions.usrID
WHERE permissions.jobNumber = #attributes.jobNumber#)
AND user.permissions='user'
ORDER BY
user.ctSurname
into a mySQL compatible query.
I have a query that I have been using in Microsoft Access that doesn't work with mySQL. I was wondering if someone could help me convert this:
SELECT user.usrID, user.ctGiven, user.ctSurname,user.coName
FROM user
WHERE user.usrID NOT IN(
SELECT user.usrID
FROM user
INNER JOIN permissions on user.usrID = permissions.usrID
WHERE permissions.jobNumber = #attributes.jobNumber#)
AND user.permissions='user'
ORDER BY
user.ctSurname
into a mySQL compatible query.