Pakistan Association of Automotive Parts & Accessories Manufacturers
پاکستان ایسوسی ایشن آف آٹو موٹیو پارٹس اینڈ اسیسریز مینوفیکچررز
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 = 'Automated Inspection Systems') * 100
+ (customers.company_name LIKE 'Automated Inspection Systems%') * 50
+ (customers.company_name LIKE '%Automated Inspection Systems%') * 20
+ (search.keyword LIKE '%Automated Inspection Systems%') * 5
+ (search.keyword LIKE '%Automated%') * 2
+ (search.keyword LIKE '%Inspection%') * 2
+ (search.keyword LIKE '%Systems%') * 2
) AS relevance
FROM customers
LEFT JOIN customer_own_technologies ON (customer_own_technologies.created_by=customers.id)
LEFT JOIN customer_technologies ON (customers.id = customer_technologies.customer_id)
LEFT JOIN technologies ON (technologies.id = customer_technologies.technology_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 ((technologies.title LIKE '%Automated%' OR technologies.keywords LIKE '%Automated%' OR customer_own_technologies.title LIKE '%Automated%' OR customer_own_technologies.keywords LIKE '%Automated%') AND (technologies.title LIKE '%Inspection%' OR technologies.keywords LIKE '%Inspection%' OR customer_own_technologies.title LIKE '%Inspection%' OR customer_own_technologies.keywords LIKE '%Inspection%') AND (technologies.title LIKE '%Systems%' OR technologies.keywords LIKE '%Systems%' OR customer_own_technologies.title LIKE '%Systems%' OR customer_own_technologies.keywords LIKE '%Systems%'))
GROUP BY customers.id
ORDER BY FIELD(customers.member_type,'Premium Plus','Premium','Standard','Basic'), relevance DESC, customers.ordering ASC
LIMIT 0,20
Companies matching “Automated Inspection Systems”
Try a shorter keyword, check the spelling, or use advanced search for more filters.
Open advanced search