Introduction to SQL (classroom)
Course
In Manchester and London
Description
-
Type
Workshop
-
Level
Beginner
-
Location
-
Class hours
12h
-
Duration
2 Days
-
Start date
Different dates available
You may have a fantastic database, but unless you can extract useful information from it, it may as well not exist! This two-day course shows you how to mine your database, from getting a mailing list of people meeting certain criteria through to compiling summary information for the board. Note that the SQL language varies slightly between different database providers; this course teaches the T-SQL or Transact-SQL language using SQL Server 2005 (although you can elect to use SQL Server 2008 if you prefer; the differences are small). Suitable for: This Writing SQL course is aimed primarily at businesses and public sector organisations
Important information
Documents
- Intro SQL course outline.pdf
Facilities
Location
Start date
Start date
Start date
About this course
You will get more out of the course if you are already familiar with at least one relational database, whether built in Access or SQL Server.
Reviews
Subjects
- Using SQL Server
- Creating databases - overview
- Working with tables
- Database diagrams
- Simple Queries
- Setting criteria using WHERE
- Outputting to Excel
- Calculations
- Calculations using dates
- Basic joins
- More exotic joins
- Aggregation and grouping
- Views
Teachers and trainers (5)
Andrew Gould
Senior Trainer
Andy Brown
Microsoft Trainer & Programmer
David Wakefield
Director / Programmer / Trainer
Sam Lowrie
Trainer
Shaun Wantling
Trainer
Course programme
- Using Object Explorer
- Hiding system objects
- Designing databases
- Primary keys
- Indexing fields
- Creating tables
- Allowing nulls or not
- Identity fields
- Creating database diagrams
- Joining tables with relationships
- Creating queries
- Comments
- Indentation and case
- Wildcards (% and _)
- Setting criteria for dates
- Coping with nulls
- Results, text and grid options
- Copying and pasting column headings
- Exporting using SQL
- Exporting using the menu
- Calculated columns
- Using aliases
- String functions and concatenation
- GetDate
- Converting dates
- Useful date functions
- Inner joins
- Table aliases
- Left and right outer joins
- Cross joins
- Full outer joins
- Self joins
- SUM, AVG, MIN, MAX
- Various ways to count
- Grouping by fields
- Using HAVING to filter results
- The view designer
- Limitations of the designer
- Scripting views
If time
Subqueries- The concept of a subquery
- Using ALL, ANY and IN
- Using EXISTS
- Correlated subqueries
If time
Derived tables and CTEs- Using derived tables
- Common Table Expressions (CTEs)
- Multiple CTEs in a single query
Additional information
Introduction to SQL (classroom)