How to get data from a SQLite DataBase?

How to get data from a SQLite DataBase?

Hi! As the title say I'm trying to connect to a SQLite DB where I already have some data using Logic Studio. But I'm not gettig how to make it work and also it gives me an error I don't know how to fix.

I'm trying to use the following blocks:


The code is something like this:


But I'm getting this error:

What am I doing wrong?