Added a sql projection