On Thu, 12 Feb 2004, John Berman wrote:

Try adding some ()s:
 
> SELECT * FROM marriage  WHERE  (groom_surname like  ('"& globsurname & "') or
> bride_surname like  ('"& globsurname & "')) and community like ('"& community
> & "')
> 

-- 


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to