How can I check whether devID already exists and then do the insertion for the following query, if devID does not exist already:
INSERT into profiles (devID,alert) VALUES ("ff",1) ;
PS: I have already seen this solution in SO, but not sure how to modify the query I have based on that solution.
Any help is appreciated.
1 Answer