I have field that it's not a key (it's text) and I want to insert row into table but only if there is no such field.
Is the way to do this on one query without need to call select first to check if there is row with this filed in table?
two variants: