Introduction to SQL

Dates

Monday 24 – Tuesday 25 November 2025 (2 DAYS ONLINE)

Fee structure

Students
400 NZD

Everyone else
800 NZD

Enrol

We are not yet open for enrolments, but watch this space, and please email nzssncourses@auckland.ac.nz for more information on courses and to join our mailing list.

Course outline

This is a gentle, fast-paced introduction to SQL, aiming to build a strong foundation and intuition for SQL programming, with an emphasis on building and testing reliable SQL queries. The course is suitable for beginners.

We use Microsoft’s flavour of SQL (called Transact-SQL) but all of the fundamentals, which are core SQL standards, are transferrable to all others, such as MySQL, PostgreSQL, Oracle SQL, and so on. This course is accompanied by an extensive set of notes and exercises.

Day one
  • Introduction to database technologies
  • The basic structure of a database and the usefulness of the SQL relational database model
  • SQL tables, relationships between tables, and primary/foreign key pairs
  • Connecting to a remote SQL database in the Azure Data Studio development environment
  • Introducing SQL coding with easy examples and the most useful data manipulation queries
  • Fundamentals of SQL: search conditions, subqueries, and joining tables
  • Exercises for practice and revision.
Day two
  • Reading and interpreting Transact-SQL documentation
  • Syntax and intuition for filtering and aggregating on grouped data
  • Skills for iterative development, using the SQL data definition language to create test tables
  • Design our own databases, with which we can safely test complicated queries as we write them.

If you want any further advice on whether this course is right for you, please email nzssncourses@auckland.ac.nz and we will put you in touch with the instructor.

Instructor

Danny Fryer
Daniel Fryer is an award-winning Sessional Lecturer and Associate Fellow of the Higher Education Academy of La Trobe University in Melbourne. He is a Data Scientist at the Social Research Centre, technical sub-editor for the ANZ Journal of Statistics, and executive privacy officer for the Statistical Society of Australia, for which he also built the longitudinal member database.

Danny completed his PhD at the University of Queensland, applying coalitional game theory in machine learning.