Why use DECIMAL instead of FLOAT for money?
You're designing a payments table. Explain how DECIMAL and FLOAT store numbers and why this difference matters when calculating monetary amounts. How would you choose a column's precision and scale to accommodate the required amounts without losing decimal places? Give an example of an error that could result from choosing the wrong type.
ExplainDDL, keys, and normalizationJuniorBackendData EngineerQA