mapping:person:sources:-access:http://localhost/exampletype:mysqlcredentials:username:rootpassword:rootqueryFormulation:sql2008query:|
SELECT DEPTNO, DNAME, LOC,
(SELECT COUNT(*) FROM EMP WHERE EMP.DEPTNO=DEPT.DEPTNO) AS STAFF
FROM DEPT;
referenceFormulation:csv