netezza - SQL query to extract a number and its decimal variations -


i have column kinds of numbers, trying extract numbers have either

555 

or

555.xx 

or

555.x 

the output should this

555 555.1 555.5 555.9 555.58 555.22 . . 

ie need sql query return rows have number 555 decimal fraction column of arbitrary numbers.

you can try like statement

where col '555.%' or col = '555' 

Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -