CREATE TABLE #tab(col DECIMAL(10,2)); INSERT INTO #tab V...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Physics Meta

Q&A about the site for active researchers, academics and students of physics

CREATE TABLE #tab(col DECIMAL(10,2));

INSERT INTO #tab
VALUES (1.0),
(3.5),
(1.5),
(4.0);

SELECT *
FROM #tab
WHERE col % 1 = 0;

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results