Thanks,
This is the flow:
[{"id":"3f299c68.6dfc14","type":"tab","label":"MySQL","disabled":false,"info":""},{"id":"caae444a.4055d8","type":"inject","z":"3f299c68.6dfc14","name":"","topic":"select concat(char(123),char(34),\"Total people\",char(34),char(58),\" \",CONVERT(Zone1+Zone2+Zone3+Zone4+Zone5+Zone6+Zone7+Zone8+Zone9+Zone10+Zone11+Zone12,CHAR),char(44),char(34),\"Remaining people to reach limit\",char(34),char(58),\" \",CONVERT(36-(Zone1+Zone2+Zone3+Zone4+Zone5+Zone6+Zone7+Zone8+Zone9+Zone10+Zone11+Zone12),CHAR),char(44),\" \",char(34),\"Timestamp\",char(34),char(58),\" \",char(34),date_format(now(),\"%d/%m/%Y, %H:%i\"),char(34),char(125)) from tfm40.t2020914 ORDER BY ID DESC LIMIT 1;","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":120,"y":100,"wires":[["7b078dc.6d28d74"]]},{"id":"7b078dc.6d28d74","type":"mysql","z":"3f299c68.6dfc14","mydb":"27b842b4.d3d94e","name":"TFM40","x":280,"y":100,"wires":[["a245e925.41c168"]]},{"id":"a245e925.41c168","type":"debug","z":"3f299c68.6dfc14","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":450,"y":100,"wires":[]},{"id":"27b842b4.d3d94e","type":"MySQLdatabase","z":"","name":"","host":"localhost","port":"3306","db":"TFM40","tz":""}]
The JSON which is being read from MySQL is:
"{"Total people": 34,"Remaining people to reach limit": 2, "Timestamp": "21/09/2020, 07:59"}"