Please tell me how to write a query for this in nodejs

You are still missing information, like what format the *.db file is, what connector library you are using to access it, etc… etc…

1 Like