Introduction to Microsoft SQL Server can be found here LINK

The SQL server can be downloaded in an express version that can be used free of charge. It has some limits you must be aware of. You can download and read about license from this link LINK

I have a few pages with some simple scripts attached to this page:
Script – Logins per Second
Script – Using the Cursor