How to represent a 2-D data matrix in a database

后端 未结 6 1710
萌比男神i
萌比男神i 2020-12-07 11:38

I have a data set which consists of an ID and a matrix (n x n) of data related to that ID.

Both the column names (A,B,C,D) and the Row names (1,2,3) are also importa

6条回答
  •  心在旅途
    2020-12-07 11:50

    Or even better what you can do is, create a logical array like structure. Say u want to store an m X n array.. Create m attributes in the table. In each attribute store n elements separated by delimiters ...

    while retrieving the data, simply do reverse parsing to easily get back the data..

提交回复
热议问题