79701012

Date: 2025-07-14 14:17:55
Score: 0.5
Natty:
Report link
CREATE TABLE abc1 AS
SELECT *
FROM abc
WHERE TRY_CAST(col2 AS INT) IS NOT NULL; --- only integers


CREATE TABLE abc1 AS
SELECT *
FROM abc
WHERE TRY_CAST(col2 AS FLOAT) IS NOT NULL; --- int and float
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: sprethepa