Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Searching for Customers with multiple Contacts
I need to pull a list of all our Customers that have multiple contacts in key positions. As an example, if a company has more than one Accounting Contact listed I want them returned in the search. Can I use a formula to count the email contacts and return only the ones that have more than one? How?
Basically I need to translate this into a search:
select x.* from ( select users_id, count(user_id) as thecount FROM users group by user_id ) as x where x.thecount > 1
thanks.
0