9(a)Relational Databases Data ModellingMedium4 marks
A database table CAR_PARTS stores details of car parts that a business has in stock.
Complete the table by giving the most appropriate data types for each field.
Only the data types: text, character, Boolean, integer, real and date/time are available in this database.
| field | data type | description |
|---|---|---|
| PartID | unique code to identify the car part with letters and numbers | |
| PartName | name of the car part, for example windscreen wiper | |
| CarType | four-digit number code to represent the type of car | |
| Price | selling price to 2 decimal places | |
| Size | specifies the size if relevant, otherwise stores ‘one size’ | |
| Colour | single letter code for the colour of the car part | |
| NumberInStock | the quantity of car parts in stock | |
| InStock | whether or not the car part is in stock |