'How would you create a decimal sequence in postgresql?

What I'm trying to do is populate a table with data such as follows:

| thickness | length | width  |
|: 0.02 |:1:| 1:|
|: 0.02 |:1:| 2:|
|: 0.04|:1:|1:|
|: 0.06|:1:| 1:|

Essentially I have a column thickness that I need populated from 0 to 10 in increments of 0.02

My Width and Length columns similarly need to be populated from 1 to 144 in increments of 0.02

This is large number of rows and would like to populate it automaticly instead of typing this all out by hand. Unfortunately I could only get the sequence to work as integers, and I would like them to increment by decimals. THANK YOU!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source