Thank you for the quick reply... I am sure my lack of Pi / SQLite knowledge is at issue here.
I pasted:
echo "select datetime(dateTime,'unixepoch','localtime'),dateTime,rain,rainRate from archive order by rowid desc limit 20;" | sqlite3 weewx.sdb
into the terminal as the user Pi
(pi@raspberrypi:)
and get back:
bash: sqlite3: command not found.
Adding the preface sudo did not change the response.
If more explicit instructions would help, please advise.
Den