easy5 pts · first answer countssqldata-types
Dividing two integers in SQL
In PostgreSQL, paid_orders = 7 and total_orders = 2 are both INTEGER columns. What does paid_orders / total_orders return?
SELECT paid_orders / total_orders FROM stats;
Discussion 0
Join free to post in the discussion.