Thank you phdr for your reply.
adding additional data.
date - time - code - NG1 - NG2 - NG3 - NG4 - NG5 … NG200
7/1/2017 - 10:00am - C123 - 0.12 - 12.01 - 1 - 12 - 3 … 55
7/2/2017 - 11:00am - C122 - 0.32 - 14.06 - 6 - 72 - 6 … 44
.
this can reach up to 2k row average every unit and there are 9 unit. That is 18k row a day.
Data table can have up to 3 million rows a day. Trying to save bytes that is why I made a new table for NG’s
NG1, NG2, up to NG200 are only alias. the real name are sample as follows. “New Sample”, “Old Sample”, “X7120-M”, “EXP1069-7-M”
My additional question. Currently there is no requirement of editing the the data table. If I removed the PRIMARY KEY on the data table and we required to edit the data table. How can I edit it without the PK?
simple command I use to edit a row.
UPDATE data_table SET row1=“a value” WHERE id=5
What will I use on WHERE statement if id(PK) is removed? Thanks in advance