franekfrk Posted October 4, 2017 Share Posted October 4, 2017 Howto show only those customers who have added VAT ID in SQL? Link to comment Share on other sites More sharing options...
tuk66 Posted October 24, 2017 Share Posted October 24, 2017 Try this query in the SQL Manager SELECT DISTINCT c.* FROM ps_address a INNER JOIN ps_customer c ON (a.id_customer = c.id_customer) WHERE vat_number IS NOT NULL Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now