SQL for Super Users Presented by: Adam Jacobson Red Three Consulting, Inc.

Slides:



Advertisements
Similar presentations
Database Management Using Microsoft Access Xinhua Chen, Ph.D. Chinese Association of Professionals in Science and Technology March 23, 2003.
Advertisements

Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Presented by Douglas Greer Creating and Maintaining Business Objects Universes.
What is a Database By: Cristian Dubon.
Microsoft SQL Server 2008 From the Program menu choose: Microsoft SQL Server 2008 R2  SQL Server Management Studio. You may see a window indicating the.
1Key – Report Creation with DB2. DB2 Databases Create Domain for DB2 Test Demo.
Brian Alderman | MCT, CEO / Founder of MicroTechPoint Pete Harris | Microsoft Senior Content Publisher.
Access Lecture 1 Database Overview and Creating Tables Create an Employee Table.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
 Pages made using data in a database  Use scripting languages  Use of RDMS  Look and feel by templates, CSS  High scaling  Admin pages as back end.
State of Connecticut Core-CT Project Query 4 hrs Updated 1/21/2011.
MS Access: Database Concepts Instructor: Vicki Weidler.
DAY 21: MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Akhila Kondai October 30, 2013.
Overview What is SQL Server? Creating databases Administration Security Backup.
1 Working with MS SQL Server. 2 Objectives You will be able to Use Visual Studio for GUI based interactive access to a Microsoft SQL Server database.
A Guide to SQL, Eighth Edition Chapter Three Creating Tables.
Data Mining Douglas C. Atkins, OCP FASTER Staff: 1998 – 2010.
How a little code can help with support.. Chris Barba – Developer at Cimarex Energy Blog:
Insert Presentation Title Heremm.dd.yy, City, ST SQL Reporting Services – Building the Report Kevin Ford Services Consaultant Accela, Inc.
DAY 14: ACCESS CHAPTER 1 Tazin Afrin October 03,
Learningcomputer.com SQL Server 2008 – Entity Relationships in a Database.
Windows Azure Tour Benjamin Day Benjamin Day Consulting, Inc.
Vidas Matelis, Toronto SQL Server User Group November 13, 2008.
1 Chapter 7 Query-By-Example by Monica Chan CS157B Professor Lee.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
1 Working with MS SQL Server Textbook Chapter 14.
Microsoft ® Office Access ® 2007 Training Build a database I: Design tables for a new Access database ICT Staff Development presents:
Using SAS® Information Map Studio
DAY 12: DATABASE CONCEPT Tazin Afrin September 26,
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
DAY 14: MICROSOFT ACCESS – CHAPTER 1 Madhuri Siddula October 1, 2015.
Access 2007 ® Use Databases How can Microsoft Access 2007 help you structure your database?
Intro to SQL Management Studio. Please Be Sure!! Make sure that your access is read only. If it isn’t, you have the potential to change data within your.
With Doug Atkins Getting Data Out of FASTER: Tips for the New & Experienced.
Course FAQ’s I do not have any knowledge on SQL concepts or Database Testing. Will this course helps me to get through all the concepts? What kind of.
Visual Programing SQL Overview Section 1.
John Ykema, Director of Sales & Marketing. Agenda  Understanding the NEW Tool  Table JOINS & Database Views  Building your first report  Charts and.
CS 111 – Nov. 8 Databases Database Management Systems (DBMS) Structured Query Language (SQL) Commitment –Please review sections 9.1 – 9.2.
Manipulating Data Lesson 3. Objectives Queries The SELECT query to retrieve or extract data from one table, how to retrieve or extract data by using.
CSCI 3327 Visual Basic Chapter 13: Databases and LINQ UTPA – Fall 2011.
SSMS SQL Server Management System. SQL Server Microsoft SQL Server is a Relational Database Management System (RDBMS) Relational Database Management System.
7 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel 7.6 Advanced Select Queries SQL provides useful functions that.
® Microsoft Access 2010 Tutorial 9 Using Action Queries and Advanced Table Relationships.
Database Overview What is a database? What types of databases are there? How are databases more powerful than spreadsheets?
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
 CONACT UC:  Magnific training   
® ® Adam Jacobson, Red Three Consulting
The power of Power Pivot Cristian Nicola DynamicsBIGuide.com.
OM. Platinum Level Sponsors Gold Level Sponsors Pre Conference Sponsor Venue Sponsor Key Note Sponsor.
Business Intelligence Environment Integration with Dynamics NAV Rogers Family Company Matthew McGinley Devraj Ghosh Dominic Miller.
® ® Adam Jacobson, Red Three Consulting
Copyright © 2014 Pearson Canada Inc. Ext. 5b-1 Copyright © 2014 Pearson Canada Inc. Application Extension 5b Using Microsoft Access Part 2: Using Information.
Agenda for Today  DATABASE Definition What is DBMS? Types Of Database Most Popular Primary Database  SQL Definition What is SQL Server? Versions Of SQL.
#GPUGSummit | #INreno15 #GPUGSummit DATA TO YOUR PEOPLE: USING SSRS WITH DYNAMICS GP Adam Jacobson, Red Three Consulting.
SQL - Training Rajesh Charles. Agenda (Complete Course) Introduction Testing Methodologies Manual Testing Practical Workshop Automation Testing Practical.
DBMS Programs MS SQL Server & MySQL
Database Fundamentals – Part 2
Visual Studio Database Tools (aka SQL Server Data Tools)
Dynamics GP SmartList and SmartList Designer
© 2016, Mike Murach & Associates, Inc.
Do You Want To Pass In First Attempt?
Database Management  .
Databases and Information Management
Using SQL to Prepare Data for Analysis
Marcos Freccia Stop everything! Top T-SQL tricks to a developer
MongoDB for the SQL DBA.
Visual Studio Database Tools (aka SQL Server Data Tools)
Databases and Information Management
Navigating Your GP Data
Databases Continued 10/18/05.
Presentation transcript:

SQL for Super Users Presented by: Adam Jacobson Red Three Consulting, Inc.

20 second advertisement Experience: Career started on STS Retail for my family’s chain of clothing stores. (Data General - Show Me reporting tool) 12 years ERP implementation(Lawson/Oracle) Last 8 years Focused on BI and Data Integration with Microsoft Tools. Experience with GP, NAV and (a small amount) with AX. Retail was my last direct to consumer experience so not really a CRM guy. Management Consulting for IT and Finance – People, Technology, Process (and accounting)

Agenda For Today Why do you want to do this? What’s your background? The software we will use Terminology you will learn The SQL will review Off to the live demo How did it go?

Why do you want to do this? To learn how to read other queries. To modify queries built by visual tools. To write your own queries from scratch. To get a job in IT. You idolize Zubin Gidwani.

Poll: What’s your background? 1.Manipulated data (changed report formatting, dumped to Excel) 2.Created your own reports using “user friendly tools” to craft the query. (Crystal, Access, Excel) 3.Read the SQL that drives your reports 4.Have written some of your own SQL 5.SQL Expert – looking for ways to train my staff 6.Other

The Software we are going to use SQL Server- You can get a free version called express cloud/products/sql-server-editions/sql-server- express.aspx cloud/products/sql-server-editions/sql-server- express.aspx SQL Server Management Studio (comes with SQL Server) us/library/mt aspx?f=255&MSPPError= https://msdn.microsoft.com/en- us/library/mt aspx?f=255&MSPPError= Northwind Database - us/download/details.aspx?id=23654https:// us/download/details.aspx?id=23654

Using your sample database GP – TWO NAV – Cronos AX – Contoso A basic laptop can run SQL Server fine. If queries don’t work well at the basic level, it’s most likely your mistake. (GP has been run a Surface 1. Why I’m not sure – but it has).

The SQL We’ll Review Basic Table and Query Adding Tables – Joins Aggregation – Summing it all up.

Key terms you should know after today Table Column Row Primary key Foreign key SELECT FROM JOIN/LEFT OUTER JOIN WHERE GROUP HAVING ORDER

Let’s run some queries Switch to SQL Scripts here

Back to the key terms Table Column Row Primary key Foreign key SELECT FROM JOIN/LEFT OUTER JOIN WHERE GROUP HAVING ORDER

Poll: Do you understand the key terms? 1.Yes 2.Somewhat 3.No 4.I got distracted

Hints to remember 1)Don’t select all the records. 2)Always specify columns. 3)Know the correct join to use – Build your query one table at a time. Join all columns. 4)Use table aliases meaningfully and consistently. 5)All columns must be in the group statement or handled by an aggregate function. 6)Remember the distinction between date and date time.

Contact Information Adam Jacobson President Red Three Consulting