In Ballerina, table is a data type that organizes information in rows and columns. This is similar to…