About this course
This course is the foundation for the Microsoft Certificate 70-461: "Querying Microsoft SQL Server 2012".
In Sessions 1 and 2, we learned all about dates, strings and number data types and DML statements. In sessions 3 and 4, we created views, procedures, triggers, constraints and combining datasets.
We'll will now be creating aggregate queries, working through objective 9 of the exam 70-461. We'll be reviewing the ranking functions ROW_NUMBER, RANK, DENSE_RANK and NTILE. We'll look at the 8 analytic functions news to SQL Server 2012, such as LAG, LEAD, FIRST_VALUE and LAST_VALUE.
We'll look at alternative ways of grouping and adding totals, using ROLLUP, CUBE, GROUPING SETS and GROUPING_ID. We'll also look at the geometry and geography data types, plotting locations on a grid, together with functions and aggregates.
No prior knowledge other than what we covered in Sessions 1 to 4 is required. This course builds on the knowledge previously gained in those previous sessions.
There are regular quizzes to help you remember the information.
Once finished, you will know what how to write ranking functions, analytic functions, grouping sets and spatial aggregates, and we'll have expanded on our current knowledge of T-SQL.
What are the requirements?
- You need to know about data types and functions, DML and DDL statements, creating views, triggers, constraints and procedures, and use UNION.
- If you don't, then you should take my earlier Sessions first.
- There is a 30-day money back guarantee of this Udemy course.
- Why not have a look at the curriculum below and see what you can learn?
What am I going to get from this course?
- Over 26 lectures and 3.5 hours of content!
- Apply the ranking functions ROW_NUMBER, RANK, DENSE_RANK and NTILE
- Use the analytic functions new to SQL Server 2012, such as LAG, LEAD, FIRST_VALUE and LAST_VALUE
- Use different ways to group, such as ROLLUP, CUBE, GROUPING SETS, and related functions such as GROUPING_ID.
- Understand the geography and geometry data types, add points, line, polygons and circles, query these tables, find where lines and shapes intersect, and aggregate them.
What is the target audience?
- This course is for you if want a refresher course in SQL, or are learning SQL for the first time.
- This course is for you if you are working towards the requirements for exam 70-461, or if you just want to expand your knowledge of T-SQL.
- If you are starting from the beginning, then you should look at my sessions 1 to 4 courses before taking this session 5.
- If you want more advanced topics, then please look at my later sessions.