Using wrapper functions for SQL queries.

Change-Id: I0a3acec0bc8ff62686ac3ec30e8055a384a0b1ea