Arithmetic
Prices are stored in cents as integers. Divide by 100.0 (a numeric) to get decimals; 100 would divide as integers.
task
Price in whole currency units with 2 decimals for each product. Return product_id and the price.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
Prices are stored in cents as integers. Divide by 100.0 (a numeric) to get decimals; 100 would divide as integers.
Price in whole currency units with 2 decimals for each product. Return product_id and the price.