The data types you choose when designing a table affect storage size, query performance, and data integrity. Choosing VARCHAR(255) for every column wastes space. Choosing INT for a phone number loses leading zeros. This lesson teaches you the right type for every situation and how constraints enforce data rules automatically.
1-A 2-B 3-A 4-B | 5 DATE 6 NOT 7 = INT, VARCHAR(100), DECIMAL(10,2), DATETIME/DATE 8 = FLOAT rounds; DECIMAL is exact 9 = email VARCHAR(255) NOT NULL UNIQUE | 10 = The insert fails with an error