SyntaxFix
Write A Post
Hire A Developer
Questions
At least in Postgres you can use the following statement:
SELECT EntityID, EntityName, EntityProfile IS NOT NULL AS HasProfile FROM Entity