Compare two columns in a table and alert/colorize if they're different

Is there a way to alert/color code based on differences in two columns of a table?

I’m comparing an installed version of a package to what version of the package SHOULD be installed, all data being pulled from a MySQL table.

so basically if column local is v2 and column ‘should be installed’ is v3, just make one of the columns red, and if they’re the same, then keep them green.

Our package versions are alpha-numeric, something like 20170814-73-6.6.0-9c61259-master.

Thanks a bunch in advance!

No this is currently not possible

Hey Torkel,

Problem- " Compare two columns in a table and alert/colorize if they’re different"

Is this problem solved in the latest versions of the release? Please let me know if not then, how can I handle this type of problem. Please suggest me alternative solutions too.

Thanks and regards,
Sachin mishra

1 Like