Hassan, you did not provide much information about the problem you are
trying to solve.
I don't think Maxima itself has any interfaces for databases but
perhaps the XMaxima client
can help you. XMaxima is a Tcl application and therefore you can load
Tcl extensions for
database interfaces such as Oratcl or TclODBC. These extensions are easy to use,
especially if you know Tcl. Importing and exporting to a spreadsheet
is also easy if you
use a standard file format such as CSV or DIF, which most spreadsheet
programs support.
You would need to write Lisp functions to read and write the files or
Tcl scripts in XMaxima.