JavaScript seems to be disabled in your browser.
You must have JavaScript enabled in your browser to utilize the functionality of this website.

- Thai Trade Hub -
- ศูนย์กลางการค้าไทย -

SELECT SQL_CALC_FOUND_ROWS customers.id, customers.member_type, customers.sub_type, customers.company_logo, customers.company_name
              , customers.slug, customers.first_name, customers.last_name, customers.phone, customers.mobile, customers.email
              , customers.designation, customers.ntn, customers.website, customers.dob, customers.photo
              , customers.city, customers.state, customers.country, customers.status, customers.package_id, customers.package_status
              , customers.short_name, customers.falcon_profile_url, customers.profile_photo
              , is_completed, profile_access
              , (
        (customers.company_name = 'lash princess false lash effect mascara waterproof') * 100
        + (customers.company_name LIKE 'lash princess false lash effect mascara waterproof%') * 50
        + (customers.company_name LIKE '%lash princess false lash effect mascara waterproof%') * 20
        + (search.keyword LIKE '%lash princess false lash effect mascara waterproof%') * 5
        + (search.keyword LIKE '%lash%') * 2
        + (search.keyword LIKE '%princess%') * 2
        + (search.keyword LIKE '%false%') * 2
        + (search.keyword LIKE '%lash%') * 2
        + (search.keyword LIKE '%effect%') * 2
        + (search.keyword LIKE '%mascara%') * 2
        + (search.keyword LIKE '%waterproof%') * 2
    ) AS relevance
                FROM customers
            LEFT JOIN customer_own_products ON (customer_own_products.created_by=customers.id)
LEFT JOIN customer_products ON (customers.id = customer_products.customer_id) 
LEFT JOIN products ON (products.id = customer_products.product_id)
LEFT JOIN search ON (customers.id = search.member_id) 
 WHERE 1  AND customers.status='Active' 
 AND customers.member_type IN('Basic', 'Standard', 'Premium', 'Premium Plus') 
 AND customers.parent_id = 0 
 AND ((products.title LIKE '%lash%' OR products.keywords LIKE '%lash%' OR customer_own_products.title LIKE '%lash%' OR customer_own_products.keywords LIKE '%lash%') AND (products.title LIKE '%princess%' OR products.keywords LIKE '%princess%' OR customer_own_products.title LIKE '%princess%' OR customer_own_products.keywords LIKE '%princess%') AND (products.title LIKE '%false%' OR products.keywords LIKE '%false%' OR customer_own_products.title LIKE '%false%' OR customer_own_products.keywords LIKE '%false%') AND (products.title LIKE '%lash%' OR products.keywords LIKE '%lash%' OR customer_own_products.title LIKE '%lash%' OR customer_own_products.keywords LIKE '%lash%') AND (products.title LIKE '%effect%' OR products.keywords LIKE '%effect%' OR customer_own_products.title LIKE '%effect%' OR customer_own_products.keywords LIKE '%effect%') AND (products.title LIKE '%mascara%' OR products.keywords LIKE '%mascara%' OR customer_own_products.title LIKE '%mascara%' OR customer_own_products.keywords LIKE '%mascara%') AND (products.title LIKE '%waterproof%' OR products.keywords LIKE '%waterproof%' OR customer_own_products.title LIKE '%waterproof%' OR customer_own_products.keywords LIKE '%waterproof%')) 
 GROUP BY customers.id 
 ORDER BY FIELD(customers.member_type,'Premium Plus','Premium','Standard','Basic'), relevance DESC, customers.ordering ASC 
 LIMIT 0,20 
Business directory

Search results

Companies matching “lash princess false lash effect mascara waterproof”