How to read database

I cant to connect with database. I try
tv:start/0
and see that all tables is empty.

How can i read and write data in database? For example, how i can realise a command of sql: "SELECT * FROM roster" ?
Thanks

Syndicate content