You can use an aggregate to force a response that is easy to convert to a boolean SELECT count(*) FROM myTable WHERE company=SmartCo
You can use an aggregate to force a response that is easy to convert to a boolean SELECT count(*) FROM myTable WHERE company=SmartCo