included doc on SQL query