Data Structure Again
Product Table
List - is an ordered collection of individual items. Each row in the Product Table can be seen as a list of values. These lists contain all the properties of a product.
Object - is a collection of key-value pairs where each key represents a property, and each value represents the corresponding value of that property. Each row of the Product Table can also be represented as an object, where each product has several properties.
List of Objects - is simply a collection where each element is an object, with multiple key-value pairs describing different items. The entire Product Table can be represented as a list of objects, where each product is an object.
Employee Table
List - each row in the Employee Table can be seen as a list of values, where each item in the list represents a property of the employee (such as ID, Name, etc.).
Object - each employee can also be represented as an object, where the properties of the employee are stored as key-value pairs.
List of Objects - the entire Employee Table can be represented as a list of objects, where each object represents an employee with multiple key-value pairs.
Books Table
List - each row in the Books Table can be represented as a list of values. The list includes properties such as ID, Title, Author, etc.
Object - each book can also be represented as an object, where the properties of the book are stored as key-value pairs.
List of Objects - the entire Books Table can be represented as a list of objects, where each object represents a book and its properties.
University Table
List - each row in the University Table can be represented as a list of values. The list includes properties such as ID, Name, Location, etc.
Object - each university can be represented as an object, where the properties of the university are stored as key-value pairs.
List of Objects - the entire University Table can be represented as a list of objects, where each object represents a university and its properties.
Restaurant Table
List - each row in the Restaurant Table can be represented as a list of values, where each element corresponds to a property of the restaurant (e.g., ID, Name, Location, etc.).
Object - each restaurant can also be represented as an object, where the properties of the restaurant are stored as key-value pairs.
List of Objects - the entire Restaurant Table can be represented as a list of objects, where each object represents a restaurant and its properties.