Jose,
  What platform are you targeting?  If you want to write a program for just Windows there is a lot of options!  If you want cross platform, the easiest is Java with the Hypersonic SQL DB.
Actually,  the easier way to stay free and cross platform would be a Java solution!  And if you know C, java is just a long weekend to learn for the most part!
Mike