SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
CREATE FUNCTION createCircle (radius INT) RETURNS FLOAT AS BEGIN DECLARE @circle_area FLOAT SET @circle_area = ROUND((PI() *= radius * radius), 6) RETURN @circle_area END

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear