Add sql query templates for popular actions.