Hello Naga,
I would recommend to have a look to the references guides for SAP HANA SQL and SQL Script. In both documents you will find the basics, extended things and many examples. Especially in the SQL Script document there is a chapter which describes what it is.
Best Regards,
Florian