Conditional insert

Hi,
Is there a way to do an insert only if the result of an exists statement is true ?

I would like to do it in one query instead of having to check with another query before the insert.

Thanks
Was this page helpful?