I don't know much about MySql but can you do this?
<cfquery name="emailList">
Select S.EmailAddress from staff S
</cfquery>
<cfquery name="whatever">
Select CAL.EmailAddress
from classroom_access_list CAL
where CAL.EmailAddress
not in ('#ValueList(emailList.EmailAddress, ',')#')
</cfquery>
Phillip b.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:184600
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54