Accelrometer to system software

How can we store analog data from accelerometer to arduino and to sql database?

can anybody help?

(deleted)