Guide for writing scripts and querries

Guide for writing scripts and querries

Dear,

Is there a guide for writing custom scripts and querries? I am looking to create some, though haven't found any guides.

Sincerely,

                  New to ADSelfService Plus?