What's wrong with this statement
update members set members.print_card='PR' from Members INNER JOIN
Sales ON Members.MemberID = Sales.MemberID
where (Members.print_batch = '9077') AND (Sales.Batch_Nu = '8906')
I want to update the print function to 'PR' in members where the field print_batch is 9077 in members and batch_nu in sales is 8906. The two tables have memberid as the related field. It keeps trying to do a cross join which is not what I want.