Introduction to Structured Query Language for Data Analytics (SF25SQL6172025) — Day 8

After running into errors with the original database server for this class last Wednesday and building a new server on a virtual machine running a 90-day Windows 11 Enterprise 25H2 image provided by Microsoft with SQL Server Express 2025 and SSMS 22. It was a slow installation (~3 hours), but we were back last night.

We covered how to CREATE, DROP and ALTER data objects.

Download the class notes for day 8.

Introduction to Structured Query Language for Data Analytics (SF25SQL6172025) — Day 2

We are getting data from a table.

  SELECT field1,
    field2,
    field3
  FROM table1;

We are getting data from tables.

  SELECT table1.common_field1, -- field/data on both tables
    table1.field2,
    table2.field3,
    table2.field4
  FROM table1 -- left table (main if `LEFT JOIN`)
  INNER|LEFT|RIGHT JOIN table2 -- right table (main if `RIGHT JOIN`)
    ON table1.common_field1 = table2.common_field1; -- relation between tables

Download the class notes for day 2.