SELECT Orders.OrderDate, Products.OrderID, Products.ProductSKU FROM Products INNER JOIN Orders ON Products.OrderID = Orders.OrderID ORDER.

Slides:



Advertisements
Similar presentations
Databases. A database program can be used to:  sort a file into a different order  Maintain contact with clients  search through the records for a.
Advertisements

Database management system (DBMS)  a DBMS allows users and other software to store and retrieve data in a structured way  controls the organization,
UI Application Logic Out of the box approach View ViewModel Model Model-View-ViewModel (MVVM)

® Microsoft Access 2010 Tutorial 5 Creating Advanced Queries and Enhancing Table Design.
Quick-and-dirty.  Commands end in a semi-colon ◦ If you forget, another prompt line shows up  Either continue the command or…  End it with a semi-colon.
Module 9: Implementing Stored Procedures. Introduction to Stored Procedures Creating Executing Modifying Dropping Using Parameters in Stored Procedures.
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Saturday May 02 PST 4 PM. Saturday May 02 PST 10:00 PM.
Connect with life Vinod Kumar M Technology Evangelist | Microsoft
Advanced SQL SMSU Computer Services Short Course.
Interactive Data Visualization with Power View
Enables self-service data discovery, query, transformation and mashup experiences in Excel Discovery and connectivity to a wide range of data sources,
DATA, DATABASES, AND QUERIES Managing Data in Relational Databases CS1100Microsoft Access - Introduction1.
Appointment Scheduler. Overview Create Appointment Types Create Administrator Availability Viewing/Booking Appointments as Administrator Viewing/Booking.
OLAP Data Mart Data Warehouse Client OLTP System(s)
1 Access Lesson 3 Creating Queries Microsoft Office 2010 Introductory Pasewark & Pasewark.
Learningcomputer.com SQL Server 2008 – Introduction to Transact SQL.
Microsoft Access 2010 Building and Using Queries.
T-SQL Transact-SQL is microsoft implementation of SQL. It contains additional programming constracts T-SQL enables you to write programs that contain SQL.
Final Exam Guide PHP NOTE: PHP CODE WILL BE BLUE, HTML IS BLACK EXAMPLE
Software. Records Fields Each record is made up of fields – categories of information. The fields here are Name, Surname, Address, Telephone and Date.
Creating a Database Designing Structure, Capturing and Presenting Data.
Database Systems Microsoft Access Practical #1 Creating Tables Nos 215.
IMS 4212: Intro to SQL 1 Dr. Lawrence West, Management Dept., University of Central Florida Introduction to SQL—Topics Introduction to.
XP Chapter 3 Succeeding in Business with Microsoft Office Access 2003: A Problem-Solving Approach 1 Analyzing Data For Effective Decision Making Chapter.
1 Chapter 3: Customize, Analyze, and Summarize Query Data Exploring Microsoft Office Access 2007.
Database Fundamental & Design by A.Surasit Samaisut Copyrights : All Rights Reserved.
IMS 4212: Data Manipulation 1 Dr. Lawrence West, MIS Dept., University of Central Florida Additional Data Manipulation Statements INSERT.
Databases.  A database is simply a collection of information stored in an orderly manner.  A database can be as simple as a birthday book, address book.
Why Power Query? What’s New in Power Query? Coming Soon to Power Query.
SQL SELECT Getting Data from the Database. Basic Format SELECT, FROM WHERE (=, >, LIKE, IN) ORDER BY ; SELECT LastName, FirstName, Phone, City FROM Customer.
USING ACCESS TO SEGMENT SURVEY DATA. OPEN ACCESS You May Need to Search for the Program You May Need to Search for the Program Access is a Database Access.
Querying Databases A query is a program that allows us to VIEW the data or operate on the data Several types of queries –Select query –Merge query –Summary.
“Key Phrases” What do you want to be in the future? I want to be a _____________. Why do you want to be a ________? I like __________. I am good at ___________.
Creating Advanced Queries and Enhancing Table Design.
Copyright © 2009 Pearson Education, Inc. Publishing as Prentice Hall. 1 Skills for Success with Microsoft ® Office 2007 PowerPoint Lecture to Accompany.
® Microsoft Access 2010 Tutorial 9 Using Action Queries and Advanced Table Relationships.
SAP Tuning 실무 SK㈜ ERP TFT.
Lec-7. The IN Operator The IN operator allows you to specify multiple values in a WHERE clause. SQL IN Syntax SELECT column_name(s) FROM table_name WHERE.
Concepts of Database Management, Fifth Edition Chapter 3: The Relational Model 2: SQL.
CFUNITED – The premier ColdFusion conference Beyond Basic SQL for CF Nate Nelson
IFS180 Intro. to Data Management Chapter 10 - Unions.
Test1 Here some text. Text 2 More text.
Unleashing the Power of Microsoft Power Query
Presented by: Teererai Marange
Get your LOB application data into Microsoft Power BI
Microsoft Office Illustrated Introductory, Windows Vista Edition
Get Typed with TypeScript!
Objectives Create an action query to create a table
SQL – Dates and Times.
Building and Using Queries
20761B 12: Using Set Operators Module 12   Using Set Operators.
And the text with form..
Data Integration with Power Query
20761B 10: Using Subqueries Module 10   Using Subqueries.
Miscrosoft Office..
[type text here] [type text here] [type text here] [type text here]
Your text here Your text here Your text here Your text here Your text here Pooky.Pandas.
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
Your text here Your text here Your text here Your text here
Manipulating and Sharing Data in a Database
Access Tutorial 5 Creating Advanced Queries and Enhancing Table Design
CMPT 354: Database System I
[type text here] [type text here] [type text here] [type text here]
Topic 12 Lesson 1 – Data and databases
ICT Database Lesson 2 Designing a Database.
Microsoft Office Illustrated Introductory, Windows XP Edition
Tutorial 5 Advanced Queries and Enhanced Table Design
Presentation transcript:

SELECT Orders.OrderDate, Products.OrderID, Products.ProductSKU FROM Products INNER JOIN Orders ON Products.OrderID = Orders.OrderID ORDER BY Products.ProductSKU SELECT Orders.OrderDate, Products.OrderID, Products.ProductSKU FROM Products INNER JOIN Orders ON Products.OrderID = Orders.OrderID ORDER BY Products.ProductSKU from p in Products join o in Orders on p.OrderID equals o.OrderID orderby p.ProductSKU select new { o.OrderDate, p.OrderID, p.ProductSKU } from p in Products join o in Orders on p.OrderID equals o.OrderID orderby p.ProductSKU select new { o.OrderDate, p.OrderID, p.ProductSKU } Products.Join(Orders, Products, o => o.OrderID, p => p.OrderID, (p, o) => new { o.OrderDate, p.OrderID, p.ProductSKU } ).OrderBy( p => p.ProductSKU ) Products.Join(Orders, Products, o => o.OrderID, p => p.OrderID, (p, o) => new { o.OrderDate, p.OrderID, p.ProductSKU } ).OrderBy( p => p.ProductSKU ) let Joined = Table.Join( Products, "OrderID", Orders, "OrderID" ), Columns = Table.SelectColumns(Joined, {"OrderDate", "OrderID", "ProductSKU"}), Sorted = Table.Sort( Columns, "ProductSKU" ), in Sorted let Joined = Table.Join( Products, "OrderID", Orders, "OrderID" ), Columns = Table.SelectColumns(Joined, {"OrderDate", "OrderID", "ProductSKU"}), Sorted = Table.Sort( Columns, "ProductSKU" ), in Sorted

let Source = Sql.Database("localhost", "AdventureWorksDW2012"), dbo_DimProduct = Source{[Schema="dbo",Item="DimProduct"]}[Data], RemovedOtherColumns = Table.SelectColumns(dbo_DimProduct,{"ProductKey", "EnglishProductName"}), RenamedColumns = Table.RenameColumns(RemovedOtherColumns,{{"EnglishProductName", "Product"}}), FilteredRows = Table.SelectRows(RenamedColumns, each [ProductKey] < 10) in FilteredRows let Source = Sql.Database("localhost", "AdventureWorksDW2012"), dbo_DimProduct = Source{[Schema="dbo",Item="DimProduct"]}[Data], RemovedOtherColumns = Table.SelectColumns(dbo_DimProduct,{"ProductKey", "EnglishProductName"}), RenamedColumns = Table.RenameColumns(RemovedOtherColumns,{{"EnglishProductName", "Product"}}), FilteredRows = Table.SelectRows(RenamedColumns, each [ProductKey] < 10) in FilteredRows

let Source = Sql.Database("localhost", "AdventureWorksDW2012"), dbo_DimProduct = Source{[Schema="dbo",Item="DimProduct"]}[Data], RemovedOtherColumns = Table.SelectColumns(dbo_DimProduct,{"ProductKey", "EnglishProductName"}), RenamedColumns = Table.RenameColumns(RemovedOtherColumns,{{"EnglishProductName", "Product"}}), FilteredRows = Table.SelectRows(RenamedColumns, each [ProductKey] < 10) in FilteredRows let Source = Sql.Database("localhost", "AdventureWorksDW2012"), dbo_DimProduct = Source{[Schema="dbo",Item="DimProduct"]}[Data], RemovedOtherColumns = Table.SelectColumns(dbo_DimProduct,{"ProductKey", "EnglishProductName"}), RenamedColumns = Table.RenameColumns(RemovedOtherColumns,{{"EnglishProductName", "Product"}}), FilteredRows = Table.SelectRows(RenamedColumns, each [ProductKey] < 10) in FilteredRows SELECT ProductKey, EnglishProductName as [Product] FROM [dbo].[DimProduct] WHERE [ProductKey] < 10 SELECT ProductKey, EnglishProductName as [Product] FROM [dbo].[DimProduct] WHERE [ProductKey] < 10

let Source = Web.Page(Web.Contents(" WebTable = Source{index}[Data], RenamedColumns = Table.RenameColumns(WebTable,{{"Column1", "Rank"}, {"Column2", "2013"}}) in RenamedColumns let Source = Web.Page(Web.Contents(" WebTable = Source{index}[Data], RenamedColumns = Table.RenameColumns(WebTable,{{"Column1", "Rank"}, {"Column2", "2013"}}) in RenamedColumns let Source = Sql.Database("localhost", "AdventureWorksDW2012"), DimCat = Source{[Schema="dbo",Item="DimProductCategory"]}[Data], DimSubCat = Source{[Schema="dbo",Item="DimProductSubcategory"]}[Data], DimCustomer = Source{[Schema="dbo",Item="DimCustomer"]}[Data], Joined = Table.NestedJoin(DimSubCat,{"CategoryKey"},DimCat,{"CategoryKey"},"Category",JoinKind.Inner) in Joined let Source = Sql.Database("localhost", "AdventureWorksDW2012"), DimCat = Source{[Schema="dbo",Item="DimProductCategory"]}[Data], DimSubCat = Source{[Schema="dbo",Item="DimProductSubcategory"]}[Data], DimCustomer = Source{[Schema="dbo",Item="DimCustomer"]}[Data], Joined = Table.NestedJoin(DimSubCat,{"CategoryKey"},DimCat,{"CategoryKey"},"Category",JoinKind.Inner) in Joined

Sql.Database(server as text, database as text, optional options as nullable record) as table MyCoolFunction = (index as number, category as text) as table Date.StartOfDay(dateTime as any) as any Sql.Database(server as text, database as text, optional options as nullable record) as table MyCoolFunction = (index as number, category as text) as table Date.StartOfDay(dateTime as any) as any

MakePerson = type function ( name as text, optional age as number ) as Person Phrases = type { text } Person = type [ Name = text, Age = number ] Persons = type table Person Value.Type( { "1", 1 } ) // type list { "1", 1 } is Phrases // true ( { "1", 1 } as Phrases ) {0} // "1" ( { "1", 1 } as Phrases ) {1} // 1 Value.Type( { "1", 1 } ) // type list { "1", 1 } is Phrases // true ( { "1", 1 } as Phrases ) {0} // "1" ( { "1", 1 } as Phrases ) {1} // 1

Null null Logical true, false Number 1, 1.2, 1.2e-3, #infinity, #nan Text "hello, world!" Date #date(2013, 3, 8) Time #time(15, 10, 0) DateTime #datetime(2013, 3, 8, 15, 10, 0) DateTimeZone #datetimezone(2013, 3, 8, 15, 10, 0, -8, 0) Duration #duration(1, 13, 59, 12.34)

List { 1, 2, 3, "hello, world" } Record [ a = 1, b = { 1, 2, 3 }, C2 = true ] Table #table( {"n", "n^2"}, { {1, 2}, {2, 4} }) Function MyFunction = ( x, y, optional z ) => if z = null then x + y else (x + y) / z Type type table [ n = number, #"n^2" = number ] Binary #binary({0x68, 0x65, 0x6C, 0x6C, 0x6F})

Table.SelectRows( table, (r) => r[Manager] = r[Buddy] ) Table.SelectRows( table, each _[Manager] = _[Buddy] ) Table.SelectRows( table, each [Manager] = [Buddy] )

if 1 < 2 then "hurray" else "sad face" let x = Number.Atan(3) in x * x error "Here I go wrong" error [ Reason = "Expression.Error", Message = "'t' should be positive", Detail = t ] error "Here I go wrong" error [ Reason = "Expression.Error", Message = "'t' should be positive", Detail = t ] try error "Bad" // [ HasError = true, // Error = [ // Reason = "Expression.Error", // Message = "Bad", // Detail = null // ] // ] try error "Bad" otherwise 42 // 42 try error "Bad" // [ HasError = true, // Error = [ // Reason = "Expression.Error", // Message = "Bad", // Detail = null // ] // ] try error "Bad" otherwise 42 // 42

Session codeTitleTime [DBI-B211]All You Need to Know about Microsoft Power BI for Office 365 Monday May 12 th 1.15 PM-2.30 PM [DBI-B324]What’s new in Power Query for ExcelMonday May 12 th PM [DBI-B320]Interactive Data Visualization with Power View Tuesday May 13 th AM [DBI-B318]Amazing Data Storytelling with Microsoft Power BI Q&A (Formerly InfoNavigator) Tuesday May 13th AM [DBI-B212]BI Power HourTuesday May 13 th 5PM-6.15 PM [DBI-B323]Power Query in Modern Corporate BIWednesday May 14 th 3.15PM-4.30 PM [DBI-B321]Power View with Analysis Services Multidimensional Models Thursday May 15th AM