article
arthur

Austin Ofor

Posted on Feb 23, 2022

Query to get record where a column is greater than 2 decimal place

To return a list of all records where the decimal place is greater than 2, use the code below. You can replace the 2 to any number of the desired decimal place.

SELECT * FROM TABLE_A
WHERE COL_A != ROUND (COL_A, 2);

A forum to write, learn and earn.

Made with love and Next.js with a touch of tailwind.

Built by @kwadoskii

TSB © 2021 - 2026