Interfaccia sql.

Change-Id: Ib3abe0853bb2bd9b887d4d6b6ab3fd19ed694f60
Signed-off-by: Marco Casella <marco.casella+git@gmail.com>