I'm new to mySql and i have bought a hosting that has 1 database, and i entered a password for my DB and created a table inside this solo database.
the web application for that hosting doesn't allow me to go farther than that, i can't add raws to the table and stuff.
so is there a program or a way that will allow me to write sql commands to my DB?
Look around a bit more. Most hosting-companies provide access to "mySQLAdmin" in some form or another. This is a very complete web-based tool for managing these databases. If you can't find it with your host, I suggest you inquire.