evet aradığım şey bu, ancak hata alıyorum,

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IF NOT EXISTS (SELECT * FROM

birinin bu kodu derleme şansı var mı rica etsem.

IF NOT EXISTS (SELECT * FROM uyeler WHERE address = 'ahmet@mail.com') BEGIN INSERT INTO uyeler VALUES (2632,'2018-04-30 14:16:01','ahmet@mail.com',NULL,'solo',0,100000000 000) PRINT 'KAYIT EKLENDI' END ELSE BEGIN PRINT 'KAYIT ZATEN VAR' END;