seeing SQL in client-side applications gives me war flashbacks. then I remember about sqlite and I'm like "oh, okay. that's fine."
I once worked on an app that did SQL from the client to the server. The company's main server just exposed the mysql port and the client program just did SQL over the internet