why is it (10,2) in particular ?
why in decimal he but a 10,2
1 answers ( 0 marked as helpful)
Hi Tasneem!
Thanks for reaching out.
DECIMAL(10,2)
means you can have a decimal number with a maximal total precision of 10 digits. Two (2) of them after the decimal point and eight (8) before. It is not so important why this is used. It is important to know how it works. The idea is to have option for bigger salaries.
Hope this helps.
Best,
Tsvetelin
Submit an answer
related questions
15. sql subquires--Can you please help to find out why in the video you are using the dept_emp table