hi is there a way to do this? with glbasic?
not really. There's a project "SqLite" that tried to do that, but it's not finished.
For a webserver or for your game?
for a game :(
you can use "INIPUT" for a sort of mini-db. Otherwise, store data yourself. Sorry :(