How to query internal dataset?

I hope somebody already solved that problem :slight_smile:
I have a dataset memory tag which i would like to use to query but I don’t know how.
As i understand system.db.query(SQLQuery) is only for external tables - is it right?

You are in luck! Long ago, I needed this and created a module that includes it. The “SQL” is more of a pythonic pseudo-SQL, but looks an awful lot like regular SQL for most cases:

Simulation Aids

Use the view() expression function.

Don’t let “Buy this module” discourage you – it is free.

1 Like

thanks again Phil you are very helpful