Use the SQRT() function. If the number is negative, NULL will be returned

SELECT SQRT(16); -> 4
SELECT SQRT(-3); -> NULL