This article is tagged with:
Sqlite check if row exists
and mysql
sqlite check if row exists
SELECT EXISTS(SELECT 1 FROM myTbl WHERE u_tag="tag");