我有一个firstname
等于的记录\
。出于某种原因,它没有把记录还给我。
SELECT
firstname,lastname,middlename,
primary_emailaddress,alternate_emailaddress,personal_address_line1,
personal_address_line2,personal_address_city,facebook_username,
twitter_username,googleplus_username,linkedin_username,
personal_website_url,birthday_month,notes,personal_address_zipcode,
company_address_zipcode,home_phonenumber,company_phonenumber,
cell_phonenumber,birthday_day,birthday_year,hash
FROM contacts
WHERE (
MATCH( firstname,middlename,lastname,
primary_emailaddress,alternate_emailaddress,personal_address_line1,
personal_address_line2,personal_address_city,facebook_username,
twitter_username,googleplus_username,linkedin_username,
personal_website_url,birthday_month,notes ) AGAINST ('\\*' IN BOOLEAN MODE)
OR personal_address_zipcode REGEXP('(\\*)')
OR company_address_zipcode REGEXP('(\\*)')
OR home_phonenumber REGEXP('(\\*)')
OR company_phonenumber REGEXP('(\\*)')
OR cell_phonenumber REGEXP('(\\*)')
OR birthday_day REGEXP('(\\*)')
OR birthday_year REGEXP('(\\*)')
)
AND addressbook_id = 4