Steve...thank you, should have wired up the whole flow prior to asking the question...my bad. Thanks to you both for such and elegant and code-light solution. So much better than any of the other dozens that I have bee working through! Everything works great now.
In hopes that others may benefit from this solution I am posting the flow which includes a formatting function to output the data to a line graph that displays all 5 data points from the DB.
[{"id":"6e3ea82b.1fc4d8","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"654d9a77.d5c3b4","type":"mysql","z":"6e3ea82b.1fc4d8","mydb":"d580992f.308f18","name":"MYSQL","x":580,"y":200,"wires":[["ee5dfd0f.14164","a5ba77b2.19fbd8"]]},{"id":"ee5dfd0f.14164","type":"debug","z":"6e3ea82b.1fc4d8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":770,"y":240,"wires":[]},{"id":"5ba7df0d.a25","type":"ui_form","z":"6e3ea82b.1fc4d8","name":"","label":"","group":"2fdee068.4551f8","order":1,"width":16,"height":5,"options":[{"label":"Start Date","value":"startDate","type":"date","required":true,"rows":null},{"label":"Start Time","value":"startTime","type":"text","required":true,"rows":null},{"label":"End Date","value":"endDate","type":"date","required":true,"rows":null},{"label":"End Time","value":"endTime","type":"text","required":true,"rows":null}],"formValue":{"startDate":"","startTime":"","endDate":"","endTime":""},"payload":"","submit":"submit","cancel":"cancel","topic":"","x":150,"y":200,"wires":[["765cb185.0c279"]]},{"id":"efba769a.c10528","type":"debug","z":"6e3ea82b.1fc4d8","name":"to DB","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":370,"y":260,"wires":[]},{"id":"765cb185.0c279","type":"function","z":"6e3ea82b.1fc4d8","name":"","func":"let startDateTime = msg.payload.startDate.slice(0, 10) + \" \" + msg.payload.startTime\nlet endDateTime = msg.payload.endDate.slice(0, 10) + \" \" + msg.payload.endTime\n\n// SELECT * FROM exterior_climate WHERE Timestamp BETWEEN '2020-12-01 11:08:13' AND '2020-12-01 16:05:13'\nmsg.topic = `SELECT * FROM exterior_climate WHERE Timestamp BETWEEN '${startDateTime}' AND '${endDateTime}'`\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":350,"y":200,"wires":[["efba769a.c10528","654d9a77.d5c3b4"]]},{"id":"a5ba77b2.19fbd8","type":"function","z":"6e3ea82b.1fc4d8","name":"DB Data to Chart data","func":"var series = [];\nvar data = msg.payload;\nif (!data || !Array.isArray(data) || !data.length) {\n node.warn(\"expected an array of data with at least 1 element\");\n return null;\n //alternatively return the msg with a null payload to clear graph\n}\n\nconst tsField = \"Timestamp\";\nvar _f = Object.keys(data[0]);\nvar fields = [];\nvar fi = 0;\n_f.forEach(function(elem) {\n if (elem != tsField) {\n fields.push(elem);\n series[fi++] = [];\n }\n});\n\n//loop each row and build an array in the required format\nfor (let index = 0; index < msg.payload.length; index++) {\n const row = msg.payload[index];\n var t = new Date(row[tsField]).valueOf()\n var i = 0;\n for (let f = 0; f < fields.length; f++ ) {\n let field = fields[f];\n series[f].push({ \"x\": t, \"y\": row[field] })\n }\n}\n\nmsg.payload = [\n {\n \"series\": fields,\n \"data\": series,\n \"labels\": [\"\"]\n }\n];\n\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":780,"y":140,"wires":[["a01128b7.739a08","5e22f744.5c1148"]]},{"id":"5e22f744.5c1148","type":"ui_chart","z":"6e3ea82b.1fc4d8","name":"Historical","group":"2fdee068.4551f8","order":7,"width":"13","height":"10","label":"","chartType":"line","legend":"true","xformat":"dd-D","interpolate":"linear","nodata":"No Data yet...","dot":false,"ymin":"","ymax":"","removeOlder":"7","removeOlderPoints":"20160","removeOlderUnit":"86400","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#ff0000","#00b31e","#2777b4","#ffe666","#2777b4","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":1020,"y":140,"wires":[[]]},{"id":"a01128b7.739a08","type":"debug","z":"6e3ea82b.1fc4d8","name":"DB Chart","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":780,"y":180,"wires":[]},{"id":"d580992f.308f18","type":"MySQLdatabase","name":"","host":"127.0.0.1","port":"3306","db":"mqtt_data","tz":"","charset":"UTF8"},{"id":"2fdee068.4551f8","type":"ui_group","name":"Select Date time range","tab":"b724c3ac.56f638","order":1,"disp":true,"width":"16","collapse":false},{"id":"b724c3ac.56f638","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]