# Netezza SQL Class Outline

Save this PDF as:

Size: px
Start display at page:

## Transcription

1 Netezza SQL Class Outline CoffingDW education has been customized for every customer for the past 20 years. Our classes can be taught either on site or remotely via the internet. Education Contact: John Nolan CoffingDW.com

2 Description: In this course, participants will learn Netezza SQL that they can use every day in their Netezza environment. Participants will learn a wide array of Netezza SQL ranging from simple commands to advanced procedures. Objectives: At the completion of this course, participants will have the knowledge to be able to use Netezza SQL in their Netezza environment. Topics: Basic SQL Functions The WHERE Clause Distinct Vs Group By Review Aggregation Function Join Functions Date Functions OLAP Functions Temporary Tables Sub-query Functions Substrings and Positioning Functions Interrogating the Data View Functions Set Operators Functions Data Manipulations Tables, DDL, and Data Types Statistical Aggregate Functions Stored Procedure Functions Nexus Query Chameleon

3 Audience: This course is designed for all users of Netezza. Prerequisites: None Duration: 1-2 Days Outline: Chapter 1 Basic SQL Functions Introduction SELECT * (All Columns) in a Table Fully Qualifying a Database, Schema and Table SELECT Specific Columns in a Table Commas in the Front or Back? Using Good Form Using the Best Form for Writing SQL Place your Commas in front for better Debugging Capabilities Sort the Data with the ORDER BY Keyword ORDER BY Defaults to Ascending Use the Name or the Number in your ORDER BY Statement Two Examples of ORDER BY using Different Techniques Changing the ORDER BY to Descending Order NULL Values sort First in Ascending Mode (Default) NULL Values sort Last in Descending Mode (DESC) Major Sort vs. Minor Sorts

4 Multiple Sort Keys using Names vs. Numbers Sorts are Alphabetical, NOT Logical Using A CASE Statement to Sort Logically How to ALIAS a Column Name A Missing Comma can by Mistake become an Alias Using Limit to bring back a Sample Comments using Double Dashes are Single Line Comments Comments for Multi-Lines Comments for Multi-Lines As Double Dashes Per Line A Great Technique for Comments to Look for SQL Errors Chapter 2 The WHERE Clause The WHERE Clause limits Returning Rows Using a Column ALIAS throughout the SQL Double Quoted Aliases are for Reserved Words and Spaces Character Data needs Single Quotes in the WHERE Clause Character Data needs Single Quotes, but Numbers Don't NULL means UNKNOWN DATA so Equal (=) won't Work Use IS NULL or IS NOT NULL when dealing with NULLs NULL is UNKNOWN DATA so NOT Equal won't Work Use IS NULL or IS NOT NULL when dealing with NULLs Using Greater Than Or Equal To (>=) AND in the WHERE Clause Troubleshooting AND OR in the WHERE Clause Troubleshooting OR OR must utilize the Column Name Each Time Troubleshooting Character Data

5 Using Different Columns in an AND Statement Quiz How many rows will return? Answer to Quiz How many rows will return? What is the Order of Precedence? Using Parentheses to change the Order of Precedence Using an IN List in place of OR The IN List is an Excellent Technique IN List vs. OR brings the same Results Using a NOT IN List A Technique for Handling Nulls with a NOT IN List A Better Technique for Handling Nulls with a NOT IN List BETWEEN is Inclusive BETWEEN Works for Character Data LIKE uses Wildcards Percent '%' and Underscore '_' LIKE command Underscore is Wildcard for one Character LIKE Command Works Differently on Char Vs Varchar Troubleshooting LIKE Command on Character Data Introducing the TRIM Command Quiz What Data is Left Justified and What is Right? Numbers are Right Justified and Character Data is Left Answer What Data is Left Justified and What is Right? An Example of Data with Left and Right Justification A Visual of CHARACTER Data vs. VARCHAR Data Use the TRIM command to remove spaces on CHAR Data TRIM Eliminates Leading and Trailing Spaces Escape Character in the LIKE Command changes Wildcards Escape Characters Turn off Wildcards in the LIKE Command Quiz Turn off that Wildcard

10 Conversion Function Templates Conversion Function Templates Continued Formatting A Date A Summary of Math Operations on Dates Using a Math Operation to find your Age in Years Find What Day of the week you were Born The ADD_MONTHS Command Using the ADD_MONTHS Command to Add 1-Year Using the ADD_MONTHS Command to Add 5-Years Date Related Functions The EXTRACT Command EXTRACT from DATES and TIME EXTRACT with DATE and TIME Literals EXTRACT of the Month on Aggregate Queries A Side Title example with Reserved Words as an Alias Implied Extract of Day, Month, and Year DATE_PART Function DATE_PART Function using an ALIAS DATE_TRUNC Function DATE_TRUNC Function using TIME MONTHS_BETWEEN Function MONTHS_BETWEEN Function in Action ANSI TIME ANSI TIMESTAMP Netezza TIMESTAMP Function Netezza TO_TIMESTAMP Function Netezza NOW() Function Netezza TIMEOFDAY Function

11 Netezza AGE Function Time Zones Setting Time Zones Using Time Zones Intervals for Date, Time, and Timestamp Using Intervals Troubleshooting The Basics of a Simple Interval Interval Arithmetic Results A Date Interval Example A Time Interval Example A - DATE Interval Example A Complex Time Interval Example using CAST A Complex Time Interval Example using CAST The OVERLAPS Command An OVERLAPS Example that Returns No Rows The OVERLAPS Command using TIME The OVERLAPS Command using a NULL Value Chapter 8 OLAP Functions How ANSI Moving SUM Handles the Sort Quiz How is that Total Calculated? Answer to Quiz How is that Total Calculated? Moving SUM every 3-rows Vs a Continuous Average Partition By Resets an ANSI OLAP The ANSI Moving Window is Current Row and Preceding How ANSI Moving Average Handles the Sort Quiz How is that Total Calculated? Answer to Quiz How is that Total Calculated?

12 Quiz How is that 4th Row Calculated? Answer to Quiz How is that 4th Row Calculated? Moving Average every 3-rows Vs a Continuous Average Partition By Resets an ANSI OLAP Moving Difference using ANSI Syntax Moving Difference using ANSI Syntax with Partition By RANK using ANSI Syntax Defaults to Ascending Order Getting RANK using ANSI Syntax to Sort in DESC Order RANK() OVER and PARTITION BY RANK() OVER And LIMIT PERCENT_RANK() OVER PERCENT_RANK() OVER with 14 rows in Calculation PERCENT_RANK() OVER with 21 rows in Calculation Quiz What Causes the Product_ID to Reset? Answer to Quiz What Cause the Product_ID to Reset? COUNT OVER for a Sequential Number Troubleshooting COUNT OVER Quiz What caused the COUNT OVER to Reset? Answer to Quiz What caused the COUNT OVER to Reset? The MAX OVER Command MAX OVER with PARTITION BY Reset Troubleshooting MAX OVER The MIN OVER Command Troubleshooting MIN OVER Quiz Fill in the Blank Answer to Quiz Fill in the Blank The Row_Number Command Quiz How did the Row_Number Reset?

13 Quiz How did the Row_Number Reset? Standard Deviation Functions Using STDDEV / OVER Standard Deviation Functions and STDDEV / OVER Syntax STDDEV / OVER Example Variance Functions Using VARIANCE / OVER VARIANCE / OVER Syntax Using VARIANCE with PARTITION BY Example Using FIRST_VALUE and LAST_VALUE Using FIRST_VALUE Using LAST_VALUE Using LAG and LEAD Using LEAD Using LEAD With and Offset of 2 Using LAG Using LAG With an Offset of 2 Chapter 9 Temporary Tables There are Three Types of Temporary Tables CREATING A Derived Table Naming the Derived Table Aliasing the Column Names in The Derived Table Multiple Ways to Alias the Columns in a Derived Table CREATING A Derived Table using the WITH Command Naming the Derived Table Columns using WITH The Same Derived Query shown Three Different Ways Most Derived Tables Are Used To Join To Other Tables Our Join Example With A Different Column Aliasing Style Column Aliasing Can Default For Normal Columns

14 Our Join Example With The WITH Syntax Quiz - Answer the Questions Answer to Quiz - Answer the Questions Clever Tricks on Aliasing Columns in a Derived Table An Example of Two Derived Tables in a Single Query Syntax For Creating A Temporary Table Creating and Populating a Temporary Table A Temporary Table in Action A Temporary Table Can Be Used Again and Again Alternative CREATE TEMPORARY TABLE Option A CTAS Temp Table to Improve Zone Map Selectivity Creating a Temp Table as a Cluster Based Table (CBT) What Are External Tables? External Tables Data Loading Formats External Table Log Files External Table Syntax Exporting Data Off of Netezza into an External Table Importing Data Into Netezza Using an External Table What is the Problem Here? Chapter 10 Sub-query Functions An IN List is much like a Subquery An IN List Never has Duplicates Just like a Subquery An IN List Ignores Duplicates The Subquery How a Basic Subquery Works The Final Answer Set from the Subquery Quiz- Answer the Difficult Question

16 Answer to Quiz- Write the Subquery with Two Parameters How the Double Parameter Subquery Works More on how the Double Parameter Subquery Works Quiz Write the Triple Subquery Answer to Quiz Write the Triple Subquery Quiz How many rows return on a NOT IN with a NULL? Answer How many rows return on a NOT IN with a NULL? How to handle a NOT IN with Potential NULL Values IN is equivalent to =ANY Using a Correlated Exists How a Correlated Exists matches up The Correlated NOT Exists The Correlated NOT Exists Answer Set Quiz How many rows come back from this NOT Exists? Answer How many rows come back from this NOT Exists? Chapter 11 - Substrings and Positioning Functions The LOWER Function The UPPER Function CHARACTER_LENGTH OCTET_LENGTH TRIM for Troubleshooting the CHARACTERS Command The TRIM Command trims both Leading and Trailing Spaces Trim and Trailing is Case Sensitive Trim and Trailing works if Case right Trim Combined with the CHARACTERS Command How to TRIM only the Trailing Spaces How to TRIM Trailing Letters

17 How to TRIM Trailing Letters and use CHARACTER_Length LTRIM Function RTRIM Function BTRIM Function The SUBSTRING Command How SUBSTRING Works with NO ENDING POSITION Using SUBSTRING to move Backwards How SUBSTRING Works with a Starting Position of -1 How SUBSTRING Works with an Ending Position of 0 An Example using SUBSTRING, TRIM, and CHAR Together SUBSTRING and SUBSTR are equal, but use different syntax The POSITION Command finds a Letters Position STRPOS Function The POSITION And STRPOS Do The Same Thing SUBSTRING and POSITION Used Together In An UPDATE The POSITION Command is brilliant with SUBSTRING Quiz Name that SUBSTRING Starting and For Length Answer to Quiz Name that Starting and For Length Using the SUBSTRING to Find the Second Word On Quiz Why Did only one Row Return Answer to Quiz Why Did only one Row Return Concatenation Concatenation and SUBSTRING Four Concatenations Together Troubleshooting Concatenation Miscellaneous Character Functions - ASCII Miscellaneous Character Functions - CHR Miscellaneous Character Functions - INITCAP

18 Miscellaneous Character Functions - REPEAT Miscellaneous Character Functions - TRANSLATE Character Padding Functions - LPAD Function Character Padding Functions - RPAD Function Chapter 12 Interrogating the Data NVL Syntax NVL Example NVL Is Often Used With Calculations Comparisons of NVL A Real-World NVL Example NVL2 Syntax NVL2 Example NVL2 Syntax A Real-World NVL2 Example DECODE Syntax DECODE Example A Real-World DECODE Example Quiz Fill in the Answers for the NULLIF Command Quiz Fill in the Answers for the NULLIF Command The COALESCE Command The COALESCE Answer Set The Coalesce Quiz Answer The Coalesce Quiz The Basics of CAST (Convert And STore) Some Great CAST (Convert And Store) Examples Some Great CAST (Convert And Store) Examples Some Great CAST (Convert And Store) Examples

19 Round Function Round Function Continued The Basics of the CASE Statements The Basics of the CASE Statement shown Visually Valued Case Vs. A Searched Case Quiz - Valued Case Statement Answer - Valued Case Statement Quiz - Searched Case Statement Answer - Searched Case Statement Quiz - When NO ELSE is present in CASE Statement Answer - When NO ELSE is present in CASE Statement When an ELSE is present in CASE Statement When NO ELSE is present in CASE Statement When an Alias is NOT used in a CASE Statement When an Alias is NOT used in a CASE Statement Combining Searched Case and Valued Case A Trick for getting a Horizontal Case Nested Case Put a CASE in the ORDER BY Chapter 13 View Functions Creating a Simple View Basic Rules for Views Views sometimes CREATED for Formatting or Row Security Another Way to Alias Columns in a View CREATE Resolving Aliasing Problems in a View CREATE Resolving Aliasing Problems in a View CREATE Resolving Aliasing Problems in a View CREATE

20 CREATING Views for Complex SQL such as Joins WHY certain columns need Aliasing in a View Using a WHERE Clause When Selecting From a View Altering A Table Altering A Table After a View has been Created A View that Errors After An ALTER Troubleshooting a View Chapter 14 Set Operators Functions Rules of Set Operators INTERSECT Explained Logically INTERSECT Explained Logically UNION Explained Logically UNION Explained Logically UNION ALL Explained Logically UNION Explained Logically EXCEPT Explained Logically EXCEPT Explained Logically Minus Explained Logically Minus Explained Logically Testing Your Knowledge Testing Your Knowledge An Equal Amount of Columns in both SELECT List Columns in the SELECT list should be from the same Domain The Top Query handles all Aliases The Bottom Query does the ORDER BY (a Number) Great Trick: Place your Set Operator in a Derived Table UNION Vs UNION ALL

21 Using UNION ALL and Literals A Great Example of how EXCEPT works USING Multiple SET Operators in a Single Request Changing the Order of Precedence with Parentheses Using UNION to be same as GROUP BY GROUPING SETS Using UNION to be same as GROUP BY ROLLUP Using UNION to be the same as GROUP BY Cube Using UNION to be same as GROUP BY Cube Chapter 15 Data Manipulations Netezza Transactions BEGIN Command COMMIT Command What Happens on a Transaction Error? Can I See My Uncommitted Changes? Until the Commit Others Can't See Your Changes? ROLLBACK Command ROLLBACK Command in ACTION INSERT Command INSERT With Keyword Null A Different Syntax for the INSERT Statements These Three Statements are the Same A Third Way of Doing an INSERT Netezza Has Implemented the Default Values Clause INSERT/SELECT INSERT/SELECT Examples Another Syntax for the INSERT/SELECT INSERT/SELECT Used To CREATE A Data Mart

22 UPDATE An UPDATE In Action An UPDATE With Multiple WHERE and AND Clauses An UPDATE With Multiple WHERE and AND Clauses UPDATE Using A Subquery UPDATE Using A Subquery UPDATE Using A Subquery UPDATE Using A Join DELETE Two DELETE Examples DELETE Through a Subquery or Join DELETE Through a Subquery And A Join Examples Multi-Statement Example How to Undo A Delete A Delete Example Query How to Undo a Delete How to Undo a Delete In Action Chapter 16 Tables, DDL, and Data Types CREATE TABLE Syntax Viewing the DDL Netezza Tables - Distribution Key or Random Distribution Table CREATE Examples with 4 different Distribution Keys The Worst Mistake You Can Make For A Distribution Key Good things to know about Table and Object Names Netezza Data Types Netezza Data Types in More Detail Netezza Data Type Extensions

23 Reserved Names Within A Table How To Query and See Non-Active Rows Column Attributes Constraints Constraints Column Level Constraint Example Defining Constraints at the Table Level Utilizing Default Values for a Table CTAS (Create Table AS) CTAS Facts Using the CTAS (Create Table AS) Table For Co-Location Altering a CTAS Table to Rename It FPGA Card and Zone Maps The Netezza Secret Weapon How A CTAS with ORDER BY Improves Queries A CTAS Major Sort Benefits over the Minor Sort Altering A Table Altering a Table Examples Drop Table, Truncate, and Delete Compared Creating and Dropping a Netezza Database How to Determine the Database you are in? Netezza Users Altering a Netezza User Reserved Words to find out about a User Chapter 17 Statistical Aggregate Functions The Stats Table The STDDEV_POP Function A STDDEV_POP Example

24 The STDDEV_SAMP Function A STDDEV_SAMP Example The VAR_POP Function A VAR_POP Example The VAR_SAMP Function A VAR_SAMP Example Using GROUP BY A Great Query Example Chapter 18 Stored Procedure Functions Netezza Stored Procedures Creating and Executing a Stored Procedure Creating a Stored Procedure Netezza Provides Multiple Ways to Run the Stored Procedure You Can Have Multiple BEGIN and END statements How to Declare and Set a Variable Declaring a Variable With A Value Input Parameters Input Parameters Using Character Data Calling a Procedure With Multiple Input Parameters CREATE OR REPLACE Procedure IF THEN ELSE IF Techniques An Easier Way for IF THEN ELSE is ELSIF or ELSEIF Using Loops in Stored Procedures Using Loops with Different EXIT strategies Looping With The WHILE Statement Stored Procedure Workshop Stored Procedure Workshop

25 Using FOR to Loop Chapter 19 Nexus Query Chameleon The Old Nexus Logo The New Nexus Logo Watch the Video on the new Nexus Super Join Builder How to Customize your System Tree View Introducing the new Nexus Super Join Builder Define your Joins and tell Nexus to "Add and Remember Me" Nexus knows what Tables Join together Nexus Presents Tables and their columns in Color Nexus Builds your SQL Automagically Nexus can Cube a Table and Join to Everything Possible Nexus can Cube a Table and Join to Everything Possible The Cube SQL created Automagically Manipulate the Columns with the Columns Tab Single Click and ORDER BY using the Sort Tab Using the Joins Tab of Nexus The SQL Tab reflects the changes we make in all other Tabs WHERE Tab shows Tables Indexes The Answer Set Tab shows the Results The Answer Set Tab shows the Results The Answer Set Tab shows the Results The Answer Set Tab shows the Results The Metadata Tab shows Metadata Nexus Makes a View look like a Table Nexus Joins Views to other Views in seconds Nexus can Cube a View and Join to all other related Views

Teradata SQL Class Outline CoffingDW education has been customized for every customer for the past 20 years. Our classes can be taught either on site or remotely via the internet. Education Contact: John

### Oracle SQL. Course Summary. Duration. Objectives

Oracle SQL Course Summary Identify the major structural components of the Oracle Database 11g Create reports of aggregated data Write SELECT statements that include queries Retrieve row and column data

### Oracle Database: SQL and PL/SQL Fundamentals

Oracle University Contact Us: 1.800.529.0165 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This course is designed to deliver the fundamentals of SQL and PL/SQL along

### Database Design and Programming with SQL: Part 2 Learning Objectives

Database Design and Programming with SQL: Part 2 Learning Objectives This is the second portion of the Database Design and Programming with SQL course. In this portion, students implement their database

### Oracle Database: SQL and PL/SQL Fundamentals

Oracle University Contact Us: +966 12 739 894 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training is designed to

### SQL Development Using Oracle

SQL Development Using Oracle Course Summary Identify the major structural components of the Oracle Database 11g Create reports of aggregated data Write SELECT statements that include queries Retrieve row

### Oracle Database: SQL and PL/SQL Fundamentals NEW

Oracle University Contact Us: + 38516306373 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training delivers the

### Programming with SQL

Unit 43: Programming with SQL Learning Outcomes A candidate following a programme of learning leading to this unit will be able to: Create queries to retrieve information from relational databases using

### Oracle Database 12c: Introduction to SQL Ed 1.1

Oracle University Contact Us: 1.800.529.0165 Oracle Database 12c: Introduction to SQL Ed 1.1 Duration: 5 Days What you will learn This Oracle Database: Introduction to SQL training helps you write subqueries,

Teradata Utilities Class Outline CoffingDW education has been customized for every customer for the past 20 years. Our classes can be taught either on site or remotely via the internet. Education Contact:

### Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff

D80198GC10 Oracle Database 12c SQL and Fundamentals Summary Duration Vendor Audience 5 Days Oracle End Users, Developers, Technical Consultants and Support Staff Level Professional Delivery Method Instructor-led

### Oracle Database 10g: Introduction to SQL

Oracle University Contact Us: 1.800.529.0165 Oracle Database 10g: Introduction to SQL Duration: 5 Days What you will learn This course offers students an introduction to Oracle Database 10g database technology.

### Netezza Basics Class Outline

Netezza Basics Class Outline CoffingDW education has been customized for every customer for the past 20 years. Our classes can be taught either on site or remotely via the internet. Education Contact:

### Oracle Database: Introduction to SQL

Oracle University Contact Us: +381 11 2016811 Oracle Database: Introduction to SQL Duration: 5 Days What you will learn Understanding the basic concepts of relational databases ensure refined code by developers.

### MOC 20461C: Querying Microsoft SQL Server. Course Overview

MOC 20461C: Querying Microsoft SQL Server Course Overview This course provides students with the knowledge and skills to query Microsoft SQL Server. Students will learn about T-SQL querying, SQL Server

### Oracle Database: SQL and PL/SQL Fundamentals NEW

Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-97 Oracle Database: SQL and PL/SQL Fundamentals NEW Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals

### Oracle Database 11g SQL

AO3 - Version: 2 19 June 2016 Oracle Database 11g SQL Oracle Database 11g SQL AO3 - Version: 2 3 days Course Description: This course provides the essential SQL skills that allow developers to write queries

### Instant SQL Programming

Instant SQL Programming Joe Celko Wrox Press Ltd. INSTANT Table of Contents Introduction 1 What Can SQL Do for Me? 2 Who Should Use This Book? 2 How To Use This Book 3 What You Should Know 3 Conventions

### Oracle Database: Introduction to SQL

Oracle University Contact Us: 1.800.529.0165 Oracle Database: Introduction to SQL Duration: 5 Days What you will learn View a newer version of this course This Oracle Database: Introduction to SQL training

### Oracle Database: Introduction to SQL

Oracle University Contact Us: 1.800.529.0165 Oracle Database: Introduction to SQL Duration: 5 Days What you will learn View a newer version of this course It's important for developers to understand the

### Oracle Database: Introduction to SQL

Oracle University Contact Us: 1.800.529.0165 Oracle Database: Introduction to SQL Duration: 5 Days What you will learn This Oracle Database: Introduction to SQL training teaches you how to write subqueries,

### Guide to SQL Programming: SQL:1999 and Oracle Rdb V7.1

Guide to SQL Programming: SQL:1999 and Oracle Rdb V7.1 A feature of Oracle Rdb By Ian Smith Oracle Rdb Relational Technology Group Oracle Corporation 1 Oracle Rdb Journal SQL:1999 and Oracle Rdb V7.1 The

### Course 20461C: Querying Microsoft SQL Server Duration: 35 hours

Course 20461C: Querying Microsoft SQL Server Duration: 35 hours About this Course This course is the foundation for all SQL Server-related disciplines; namely, Database Administration, Database Development

### Course ID#: 1401-801-14-W 35 Hrs. Course Content

Course Content Course Description: This 5-day instructor led course provides students with the technical skills required to write basic Transact- SQL queries for Microsoft SQL Server 2014. This course

### Querying Microsoft SQL Server

Course 20461C: Querying Microsoft SQL Server Module 1: Introduction to Microsoft SQL Server 2014 This module introduces the SQL Server platform and major tools. It discusses editions, versions, tools used

### Querying Microsoft SQL Server 20461C; 5 days

Lincoln Land Community College Capital City Training Center 130 West Mason Springfield, IL 62702 217-782-7436 www.llcc.edu/cctc Querying Microsoft SQL Server 20461C; 5 days Course Description This 5-day

### Querying Microsoft SQL Server Course M20461 5 Day(s) 30:00 Hours

Área de formação Plataforma e Tecnologias de Informação Querying Microsoft SQL Introduction This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL

### SQL Boot Camp. End To End SQL Query Writing, Database Design & Development Training. SQL Boot Camp Training.

Page 1 of 7 SQL Boot Camp www.sqlbootcamp.com End To End SQL Query Writing, Database Design & Development Training Database Design Query Optimization SQL Boot Camp Training Database Development SQL Query

### Querying Microsoft SQL Server 2012

Course 10774A: Querying Microsoft SQL Server 2012 Length: 5 Days Language(s): English Audience(s): IT Professionals Level: 200 Technology: Microsoft SQL Server 2012 Type: Course Delivery Method: Instructor-led

### Course 10774A: Querying Microsoft SQL Server 2012

Course 10774A: Querying Microsoft SQL Server 2012 About this Course This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft

### Course 10774A: Querying Microsoft SQL Server 2012 Length: 5 Days Published: May 25, 2012 Language(s): English Audience(s): IT Professionals

Course 10774A: Querying Microsoft SQL Server 2012 Length: 5 Days Published: May 25, 2012 Language(s): English Audience(s): IT Professionals Overview About this Course Level: 200 Technology: Microsoft SQL

### Introducing Microsoft SQL Server 2012 Getting Started with SQL Server Management Studio

Querying Microsoft SQL Server 2012 Microsoft Course 10774 This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL Server

### COMP 5138 Relational Database Management Systems. Week 5 : Basic SQL. Today s Agenda. Overview. Basic SQL Queries. Joins Queries

COMP 5138 Relational Database Management Systems Week 5 : Basic COMP5138 "Relational Database Managment Systems" J. Davis 2006 5-1 Today s Agenda Overview Basic Queries Joins Queries Aggregate Functions

### MOC 20461 QUERYING MICROSOFT SQL SERVER

ONE STEP AHEAD. MOC 20461 QUERYING MICROSOFT SQL SERVER Length: 5 days Level: 300 Technology: Microsoft SQL Server Delivery Method: Instructor-led (classroom) COURSE OUTLINE Module 1: Introduction to Microsoft

### Introduction to Microsoft Jet SQL

Introduction to Microsoft Jet SQL Microsoft Jet SQL is a relational database language based on the SQL 1989 standard of the American Standards Institute (ANSI). Microsoft Jet SQL contains two kinds of

### DBMS / Business Intelligence, SQL Server

DBMS / Business Intelligence, SQL Server Orsys, with 30 years of experience, is providing high quality, independant State of the Art seminars and hands-on courses corresponding to the needs of IT professionals.

### AV-005: Administering and Implementing a Data Warehouse with SQL Server 2014

AV-005: Administering and Implementing a Data Warehouse with SQL Server 2014 Career Details Duration 105 hours Prerequisites This career requires that you meet the following prerequisites: Working knowledge

### Querying Microsoft SQL Server 2012

Querying Microsoft SQL Server 2012 Duration: 5 Days Course Code: M10774 Overview: Deze cursus wordt vanaf 1 juli vervangen door cursus M20461 Querying Microsoft SQL Server. This course will be replaced

Database Administration with MySQL Suitable For: Database administrators and system administrators who need to manage MySQL based services. Prerequisites: Practical knowledge of SQL Some knowledge of relational

### ETL TESTING TRAINING

ETL TESTING TRAINING DURATION 35hrs AVAILABLE BATCHES WEEKDAYS (6.30AM TO 7.30AM) & WEEKENDS (6.30pm TO 8pm) MODE OF TRAINING AVAILABLE ONLINE INSTRUCTOR LED CLASSROOM TRAINING (MARATHAHALLI, BANGALORE)

### DATABASE DESIGN & PROGRAMMING WITH SQL COURSE CODE: 5324

DATABASE DESIGN & PROGRAMMING WITH SQL COURSE CODE: 5324 COURSE DESCRIPTION: This curriculum is geared to meet the learning needs of a variety of students, from those interested in gaining broad exposure

### A Comparison of Database Query Languages: SQL, SPARQL, CQL, DMX

ISSN: 2393-8528 Contents lists available at www.ijicse.in International Journal of Innovative Computer Science & Engineering Volume 3 Issue 2; March-April-2016; Page No. 09-13 A Comparison of Database

### Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification

Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification Copyright 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 5 Outline More Complex SQL Retrieval Queries

### MySQL for Beginners Ed 3

Oracle University Contact Us: 1.800.529.0165 MySQL for Beginners Ed 3 Duration: 4 Days What you will learn The MySQL for Beginners course helps you learn about the world's most popular open source database.

### SQL Server. 2012 for developers. murach's TRAINING & REFERENCE. Bryan Syverson. Mike Murach & Associates, Inc. Joel Murach

TRAINING & REFERENCE murach's SQL Server 2012 for developers Bryan Syverson Joel Murach Mike Murach & Associates, Inc. 4340 N. Knoll Ave. Fresno, CA 93722 www.murach.com murachbooks@murach.com Expanded

### Database Query 1: SQL Basics

Database Query 1: SQL Basics CIS 3730 Designing and Managing Data J.G. Zheng Fall 2010 1 Overview Using Structured Query Language (SQL) to get the data you want from relational databases Learning basic

Microsoft Certified Instructor led: Querying Microsoft SQL Server (Course 20461C) Date: October 19 23, 2015 Course Length: 5 day (8:30am 4:30pm) Course Cost: \$2400 + GST (Books included) About this Course

### 3.GETTING STARTED WITH ORACLE8i

Oracle For Beginners Page : 1 3.GETTING STARTED WITH ORACLE8i Creating a table Datatypes Displaying table definition using DESCRIBE Inserting rows into a table Selecting rows from a table Editing SQL buffer

### 2874CD1EssentialSQL.qxd 6/25/01 3:06 PM Page 1 Essential SQL Copyright 2001 SYBEX, Inc., Alameda, CA www.sybex.com

Essential SQL 2 Essential SQL This bonus chapter is provided with Mastering Delphi 6. It is a basic introduction to SQL to accompany Chapter 14, Client/Server Programming. RDBMS packages are generally

### Discovering SQL. Wiley Publishing, Inc. A HANDS-ON GUIDE FOR BEGINNERS. Alex Kriegel WILEY

Discovering SQL A HANDS-ON GUIDE FOR BEGINNERS Alex Kriegel WILEY Wiley Publishing, Inc. INTRODUCTION xxv CHAPTER 1: DROWNING IN DATA, DYING OF THIRST FOR KNOWLEDGE 1 Data Deluge and Informational Overload

### IT2305 Database Systems I (Compulsory)

Database Systems I (Compulsory) INTRODUCTION This is one of the 4 modules designed for Semester 2 of Bachelor of Information Technology Degree program. CREDITS: 04 LEARNING OUTCOMES On completion of this

Retrieving Data Using the SQL SELECT Statement Objectives After completing this lesson, you should be able to do the following: List the capabilities of SQL SELECT statements Execute a basic SELECT statement

### Advanced Query for Query Developers

for Developers This is a training guide to step you through the advanced functions of in NUFinancials. is an ad-hoc reporting tool that allows you to retrieve data that is stored in the NUFinancials application.

### SQL Databases Course. by Applied Technology Research Center. This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases.

SQL Databases Course by Applied Technology Research Center. 23 September 2015 This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases. Oracle Topics This Oracle Database: SQL

### SQL Query & Modification

CS145 Lecture Notes #7 SQL Query & Modification Introduction SQL Structured Query Language Pronounced S-Q-L or sequel The query language of every commercial RDBMS Evolution of SQL standard: SQL89 SQL92

### Access Queries (Office 2003)

Access Queries (Office 2003) Technical Support Services Office of Information Technology, West Virginia University OIT Help Desk 293-4444 x 1 oit.wvu.edu/support/training/classmat/db/ Instructor: Kathy

### Querying Microsoft SQL Server 2012. Querying Microsoft SQL Server 2014 20461D. Course 10774A: Course Det ails. Co urse Outline

Course 10774A: Querying Microsoft SQL Server 2012 20461D Querying Microsoft SQL Server 2014 Course Det ails Co urse Outline M o d ule 1: Intr o d uctio n to M icro so ft SQL Ser ver 2012 This module introduces

### Chapter 4: SQL. Basic Structure

Chapter 4: SQL Basic Structure Set Operations Aggregate Functions Null Values Nested Subqueries Derived Relations Views Modification of the Database Joined Relations Data Definition Language Embedded SQL

### 2071B Querying Microsoft SQL Server 2000 with Transact-SQL

Course: 2071B Querying Microsoft SQL Server 2000 with Transact-SQL Description: The goal of this course is to provide students with the technical skills required to write basic Transact-SQL queries for

### T-SQL STANDARD ELEMENTS

T-SQL STANDARD ELEMENTS SLIDE Overview Types of commands and statement elements Basic SELECT statements Categories of T-SQL statements Data Manipulation Language (DML*) Statements for querying and modifying

### IT2304: Database Systems 1 (DBS 1)

: Database Systems 1 (DBS 1) (Compulsory) 1. OUTLINE OF SYLLABUS Topic Minimum number of hours Introduction to DBMS 07 Relational Data Model 03 Data manipulation using Relational Algebra 06 Data manipulation

### Oracle 10g PL/SQL Training

Oracle 10g PL/SQL Training Course Number: ORCL PS01 Length: 3 Day(s) Certification Exam This course will help you prepare for the following exams: 1Z0 042 1Z0 043 Course Overview PL/SQL is Oracle's Procedural

### SQL Server Database Coding Standards and Guidelines

SQL Server Database Coding Standards and Guidelines http://www.sqlauthority.com Naming Tables: Stored Procs: Triggers: Indexes: Primary Keys: Foreign Keys: Defaults: Columns: General Rules: Rules: Pascal

### Information Systems SQL. Nikolaj Popov

Information Systems SQL Nikolaj Popov Research Institute for Symbolic Computation Johannes Kepler University of Linz, Austria popov@risc.uni-linz.ac.at Outline SQL Table Creation Populating and Modifying

### Microsoft Access 3: Understanding and Creating Queries

Microsoft Access 3: Understanding and Creating Queries In Access Level 2, we learned how to perform basic data retrievals by using Search & Replace functions and Sort & Filter functions. For more complex

### SAS Clinical Training

Course Outline for SAS Clinical Training SAS Clinical Training SAS Clinical Introduction History of SAS SAS comes in ERP sector or not? Why? Role of Statistical Analysis in Clinical Research Study and

### Oracle Academy Introduction to Database Programming with PL/SQL Instructor Resource Guide

Oracle Academy Introduction to Database Programming with Instructor Resource Guide INSTRUCTOR NOTES FOR SLIDES SECTION 1 LESSON 1 Introduction to Slide 1: Introduction to Slide 2: What Will I Learn? Slide

### Querying Microsoft SQL Server (20461) H8N61S

HP Education Services course data sheet Querying Microsoft SQL Server (20461) H8N61S Course Overview In this course, you will learn the technical skills required to write basic Transact-SQL (T-SQL) queries

### Introduction to Querying & Reporting with SQL Server

1800 ULEARN (853 276) www.ddls.com.au Introduction to Querying & Reporting with SQL Server Length 5 days Price \$4169.00 (inc GST) Overview This five-day instructor led course provides students with the

### Guide to the Superbase. ODBC Driver. By Superbase Developers plc

Guide to the Superbase ODBC Driver By Superbase Developers plc This manual was produced using Doc-To-Help, by WexTech Systems, Inc. WexTech Systems, Inc. 310 Madison Avenue, Suite 905 New York, NY 10017

### Information and Computer Science Department ICS 324 Database Systems Lab#11 SQL-Basic Query

Information and Computer Science Department ICS 324 Database Systems Lab#11 SQL-Basic Query Objectives The objective of this lab is to learn the query language of SQL. Outcomes After completing this Lab,

SQL SERVER 2008 R2 /2012 (TSQL/SSIS/ SSRS/ SSAS BI Developer TRAINING) Module: I T-SQL Programming and Database Design An Overview of SQL Server 2008 R2 / 2012 Available Features and Tools New Capabilities

### Data Tool Platform SQL Development Tools

Data Tool Platform SQL Development Tools ekapner Contents Setting SQL Development Preferences...5 Execution Plan View Options Preferences...5 General Preferences...5 Label Decorations Preferences...6

### Choosing a Data Model for Your Database

In This Chapter This chapter describes several issues that a database administrator (DBA) must understand to effectively plan for a database. It discusses the following topics: Choosing a data model for

### SQL Server 2008 Core Skills. Gary Young 2011

SQL Server 2008 Core Skills Gary Young 2011 Confucius I hear and I forget I see and I remember I do and I understand Core Skills Syllabus Theory of relational databases SQL Server tools Getting help Data

### Consulting. Personal Attention, Expert Assistance

Consulting Personal Attention, Expert Assistance 1 Writing Better SQL Making your scripts more: Readable, Portable, & Easily Changed 2006 Alpha-G Consulting, LLC All rights reserved. 2 Before Spending

### PeopleSoft Query Training

PeopleSoft Query Training Overview Guide Tanya Harris & Alfred Karam Publish Date - 3/16/2011 Chapter: Introduction Table of Contents Introduction... 4 Navigation of Queries... 4 Query Manager... 6 Query

### www.gr8ambitionz.com

Data Base Management Systems (DBMS) Study Material (Objective Type questions with Answers) Shared by Akhil Arora Powered by www. your A to Z competitive exam guide Database Objective type questions Q.1

### Tips and Tricks SAGE ACCPAC INTELLIGENCE

Tips and Tricks SAGE ACCPAC INTELLIGENCE 1 Table of Contents Auto e-mailing reports... 4 Automatically Running Macros... 7 Creating new Macros from Excel... 8 Compact Metadata Functionality... 9 Copying,

### Database Programming with PL/SQL: Learning Objectives

Database Programming with PL/SQL: Learning Objectives This course covers PL/SQL, a procedural language extension to SQL. Through an innovative project-based approach, students learn procedural logic constructs

### Inquiry Formulas. student guide

Inquiry Formulas student guide NOTICE This documentation and the Axium software programs may only be used in accordance with the accompanying Ajera License Agreement. You may not use, copy, modify, or

### 10. What SQL command can be used to add columns to a table? a. MODIFY TABLE TableName ADD COLUMN ColumnName b. MODIFY TABLE TableName ADD ColumnName c

1. The first generation of DBMS is represented by systems a. Hierarchical and CODASYL systems. b. Relational model c. Network model 2. Which of the following SQL statements are helpful in database redesign?

### MAS 500 Intelligence Tips and Tricks Booklet Vol. 1

MAS 500 Intelligence Tips and Tricks Booklet Vol. 1 1 Contents Accessing the Sage MAS Intelligence Reports... 3 Copying, Pasting and Renaming Reports... 4 To create a new report from an existing report...

### SQL - QUICK GUIDE. Allows users to access data in relational database management systems.

http://www.tutorialspoint.com/sql/sql-quick-guide.htm SQL - QUICK GUIDE Copyright tutorialspoint.com What is SQL? SQL is Structured Query Language, which is a computer language for storing, manipulating

### C. Michael Eliasz, Sr. Oracle Data Architect

C. Michael Eliasz, Sr. Oracle Data Architect ORACLE SQL REFERENCE CARD Reserved Words Built-in Functions Common Clauses/Misc Cmds ALTER / DROP COMMANDS CREATE Commands ACCESS ABS allocate_extent_clause

### Kaseya 2. Quick Start Guide. for VSA 6.3

Kaseya 2 Custom Reports Quick Start Guide for VSA 6.3 December 9, 2013 Agreement The purchase and use of all Software and Services is subject to the Agreement as defined in Kaseya s Click-Accept EULA as

### RETAIN THIS DOCUMENT FOR FUTURE EDUCATIONAL\EMPLOYMENT USE

COURSE OUTLINE 1 COMP1215 Total Hours 100 Credits 7 Prerequisite(s) Corequisite(s) Course Description This course teaches students how to create and design, fully functional relational databases using

### Performing Queries Using PROC SQL (1)

SAS SQL Contents Performing queries using PROC SQL Performing advanced queries using PROC SQL Combining tables horizontally using PROC SQL Combining tables vertically using PROC SQL 2 Performing Queries

### Querying Microsoft SQL Server 2012

Querying Microsoft SQL Server 2012 MOC 10774 About this Course This 5-day instructor led course provides students with the technical skills required to write basic Transact-SQL queries for Microsoft SQL

### Relational Database: Additional Operations on Relations; SQL

Relational Database: Additional Operations on Relations; SQL Greg Plaxton Theory in Programming Practice, Fall 2005 Department of Computer Science University of Texas at Austin Overview The course packet

### D61830GC30. MySQL for Developers. Summary. Introduction. Prerequisites. At Course completion After completing this course, students will be able to:

D61830GC30 for Developers Summary Duration Vendor Audience 5 Days Oracle Database Administrators, Developers, Web Administrators Level Technology Professional Oracle 5.6 Delivery Method Instructor-led

### SAS Online Course - Smart Mind Online Training, Hyderabad. SAS Online Training Course Content

Faculty: Real time and certified SAS Online Training Course Content (Includes theoretical as well as practical sessions) BASICS BEFORE STARTING SAS: DATAWAREHOSING Concepts What is ETL ETL Concepts What

### History of SQL. Relational Database Languages. Tuple relational calculus ALPHA (Codd, 1970s) QUEL (based on ALPHA) Datalog (rule-based, like PROLOG)

Relational Database Languages Tuple relational calculus ALPHA (Codd, 1970s) QUEL (based on ALPHA) Datalog (rule-based, like PROLOG) Domain relational calculus QBE (used in Access) History of SQL Standards:

### More on SQL. Juliana Freire. Some slides adapted from J. Ullman, L. Delcambre, R. Ramakrishnan, G. Lindstrom and Silberschatz, Korth and Sudarshan

More on SQL Some slides adapted from J. Ullman, L. Delcambre, R. Ramakrishnan, G. Lindstrom and Silberschatz, Korth and Sudarshan SELECT A1, A2,, Am FROM R1, R2,, Rn WHERE C1, C2,, Ck Interpreting a Query

### SAP BO Course Details

SAP BO Course Details By Besant Technologies Course Name Category Venue SAP BO SAP Besant Technologies No.24, Nagendra Nagar, Velachery Main Road, Address Velachery, Chennai 600 042 Landmark Opposite to

### Click to create a query in Design View. and click the Query Design button in the Queries group to create a new table in Design View.

Microsoft Office Access 2010 Understanding Queries Queries are questions you ask of your database. They allow you to select certain fields out of a table, or pull together data from various related tables

### Migrating from Sybase to SQL Server

Migrating from to Table of Contents: Migrating from to Data Compatibility Mode Behavior Optimizer Hints Conclusion Migrating from to Projects involving database migration are common. In this article, we