Home
Search results “Oracle sql compute by”
The SUM(CASE WHEN pattern in SQL to compute valued columns
 
05:52
Here we compute columns to get new and repeat revenue using 2 SUM's which aggregate the binary outcome of a case statement. This is a highly useful pattern in SQL and business analytics.
Views: 3021 Jeffrey James
Calculate running total in SQL Server 2012
 
06:23
running total sql server cumulative total in ms sql server running total column In this video we will discuss how to calculate running total in SQL Server 2012 and later versions. We will use the following Employees table for the examples in this video. SQL Script to create Employees table Create Table Employees ( Id int primary key, Name nvarchar(50), Gender nvarchar(10), Salary int ) Go Insert Into Employees Values (1, 'Mark', 'Male', 5000) Insert Into Employees Values (2, 'John', 'Male', 4500) Insert Into Employees Values (3, 'Pam', 'Female', 5500) Insert Into Employees Values (4, 'Sara', 'Female', 4000) Insert Into Employees Values (5, 'Todd', 'Male', 3500) Insert Into Employees Values (6, 'Mary', 'Female', 5000) Insert Into Employees Values (7, 'Ben', 'Male', 6500) Insert Into Employees Values (8, 'Jodi', 'Female', 7000) Insert Into Employees Values (9, 'Tom', 'Male', 5500) Insert Into Employees Values (10, 'Ron', 'Male', 5000) Go SQL Query to compute running total without partitions SELECT Name, Gender, Salary, SUM(Salary) OVER (ORDER BY ID) AS RunningTotal FROM Employees SQL Query to compute running total with partitions SELECT Name, Gender, Salary, SUM(Salary) OVER (PARTITION BY Gender ORDER BY ID) AS RunningTotal FROM Employees What happens if I use order by on Salary column If you have duplicate values in the Salary column, all the duplicate values will be added to the running total at once. In the example below notice that we have 5000 repeated 3 times. So 15000 (i.e 5000 + 5000 + 5000) is added to the running total at once. SELECT Name, Gender, Salary, SUM(Salary) OVER (ORDER BY Salary) AS RunningTotal FROM Employees So when computing running total, it is better to use a column that has unique data in the ORDER BY clause. Text version of the video http://csharp-video-tutorials.blogspot.com/2015/10/calculate-running-total-in-sql-server.html Slides http://csharp-video-tutorials.blogspot.com/2015/10/calculate-running-total-in-sql-server_3.html All SQL Server Text Articles http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html All SQL Server Slides http://csharp-video-tutorials.blogspot.com/p/sql-server.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 50261 kudvenkat
PLS-2: My First PL/SQL Program
 
11:34
For Full Course Experience Please Go To http://mentorsnet.org/course_preview?course_id=5 Full Course Experience Includes 1. Access to course videos and exercises 2. View & manage your progress/pace 3. In-class projects and code reviews 4. Personal guidance from your Mentors Goal is to write your first PL/SQL program. The basic program unit in PL/SQL is the block. A PL/SQL block is defined by the keywords DECLARE, BEGIN, EXCEPTION, and END. These keywords partition the block into a declarative part, an executable part, and an exception-handling part. Example of a Block DECLARE bonus NUMBER(8,2); emp_id NUMBER(6) := 100; BEGIN SELECT salary * 0.10 INTO bonus FROM employees WHERE employee_id = emp_id; Exception When NO_DATA_FOUND THEN null ; END; This is a typical PL/SQL block where 10% of salary is selected and stored on a temp variables bonus. If for some reason there is no employee with empid = 100 then the control will come to exception area and the code in the exception area will be executed. These blocks can be entirely separate or nested one within another. The basic units (procedures and functions, also known as subprograms, and anonymous blocks) that make up a PL/SQL program are logical blocks, which can contain any number of nested sub blocks. Therefore, one block can represent a small part of another block, which in turn can be part of the whole unit of code. Anonymous Blocks Anonymous blocks are unnamed blocks. They are declared at the point in an application where they are to be executed and are passed to the PL/SQL engine for execution at run time. You can embed an anonymous block within a pre-compiler program and within iSQL*Plus or Server Manager. Triggers in Oracle Developer components consist of such blocks. Subprograms Subprograms are named PL/SQL blocks that can accept parameters and can be invoked. You can declare them either as procedures or as functions. Generally use a procedure to perform an action and a function to compute a value. You can store subprograms at the server or application level. Using Oracle Developer components (Forms, Reports, and Graphics), you can declare procedures and functions as part of the application (a form or report) and call them from other procedures, functions, and triggers (see next page) within the same application whenever necessary. Note: A function is similar to a procedure, except that a function must return a value.
Views: 63990 Oresoft LWC
Oracle Cloud Infrastructure Compute
 
03:34
Create Virtual Machines Use Oracle Cloud Infrastructure Compute to provision and manage high-performance and scalable compute, storage, and network resources. ================================= To improve the video quality, click the gear icon and set the Quality to 1080p/720p HD. For more information, see http://www.oracle.com/goto/oll and http://docs.oracle.com Copyright © 2017 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
Introducing Oracle Big Data Cloud Service - Compute Edition
 
01:57
Learn about Oracle's enterprise ready, elastic, managed big data platform on demand. A powerful and unified platform used for analyzing both streaming and enterprise data with a comprehensive set of big data tools. ================================= For more information, see http://www.oracle.com/goto/oll Copyright © 2016 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
Oracle Compute Cloud: Creating an instance
 
07:45
https://www.linkedin.com/pulse/oracles-next-generation-cloud-infrastructure-john-greene 1st step is to create SSH keypairs...already covered here: https://www.youtube.com/watch?v=WO0ikLKdpPM
Views: 10108 Ora Tube
SQL Complete Tutorial - ADD or SUBSTRACT or MULTIPLY between two columns - Chapter 6
 
03:47
In this video, I have explained how to add_subtract_multiply the two columns from the particular table. Comment - Follow - Like : https://www.facebook.com/TechyVickyBlog https://www.twitter.com/techyvicky https://www.pinterest.com/techyvicky/techy-vicky-blog https://plus.google.com/109896475845510580320/
Views: 29907 Vicky's Blog
Part 1: Oracle Big Data SQL
 
19:02
Oracle Big Data SQL - Learn about monitoring and tuning, Enterprise Manager, Cloudera Manager, and analyzing statistics. ================================= For more information, see http://www.oracle.com/goto/oll Copyright © 2017 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
Oracle Virtual Compute Appliance (VCA) - Software Defined Computing Overview
 
06:53
Rob Ludeman, Senior Solutions Manager from Oracle's systems Product Management team, shares his expertise as he provides a series of Oracle System product overviews. Oracle's Virtual Compute Appliance is an engineered system that radically simplifies the way customers install, deploy, and manage converged infrastructures for any Linux, Oracle Solaris, or Microsoft Windows application.
Provision a Data Lake with Oracle Big Data Cloud Service - Compute Edition
 
01:44
A quick overview of provisioning a Data Lake in the cloud that you can immediately use to analyze data. Go to Part 2 (https://youtu.be/LY7Nwtv8Kmw) and see how to load and analyze it. More info on oracle.com/bigdatajourney
Views: 664 Oracle Big Data
SQL with Oracle 10g XE #3 Creating and modifying employee database!!!
 
16:11
hey guys in this video I will show you how to generate the employee details & compute the salary base on the department like share my videos if you have any suggestion or doubt please leave a comment thank you for watching don't forget to subscribe my channel for more learning videos
Views: 159 way2study
Oracle Compute Cloud: E-Business Suite Installation
 
07:33
Provisioning a New Multi-Node Oracle E-Business Suite Installation in the Oracle Compute Cloud Service
Views: 1239 Ora Tube
How to insert and retrive data on a table  using oracle SQL
 
12:36
Error handling while inserting data into the table. Fix ERROR at line 1: ORA-00947: not enough values ERROR: ORA-01756: quoted string not properly terminated
Views: 693 Golam Sarwar
Oracle Compute Cloud: Opening Ports for Traffic
 
03:52
Steps to follow to open port 8080 for http traffic
Views: 1134 Ora Tube
Window functions in SQL Server
 
11:00
sql server window function example window function sql server example sql server rows range clause sql server rows between 1 preceding and 1 following In this video we will discuss window functions in SQL Server In SQL Server we have different categories of window functions Aggregate functions - AVG, SUM, COUNT, MIN, MAX etc.. Ranking functions - RANK, DENSE_RANK, ROW_NUMBER etc.. Analytic functions - LEAD, LAG, FIRST_VALUE, LAST_VALUE etc... OVER Clause defines the partitioning and ordering of a rows (i.e a window) for the above functions to operate on. Hence these functions are called window functions. The OVER clause accepts the following three arguments to define a window for these functions to operate on. ORDER BY : Defines the logical order of the rows PARTITION BY : Divides the query result set into partitions. The window function is applied to each partition separately. ROWSor RANGE clause : Further limits the rows within the partition by specifying start and end points within the partition. The default for ROWS or RANGE clause is RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW Let us understand the use of ROWS or RANGE clause with an example. Compute average salary and display it against every employee We might think the following query would do the job. SELECT Name, Gender, Salary, AVG(Salary) OVER(ORDER BY Salary) AS Average FROM Employees As you can see from the result, the above query does not produce the overall salary average. It produces the average of the current row and the rows preceeding the current row. This is because, the default value of ROWS or RANGE clause (RANGE BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) is applied. To fix this, provide an explicit value for ROWS or RANGE clause as shown below. ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING tells the window function to operate on the set of rows starting from the first row in the partition to the last row in the partition. SELECT Name, Gender, Salary, AVG(Salary) OVER(ORDER BY Salary ROWS BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) AS Average FROM Employees The same result can also be achieved by using RANGE BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING Well, what is the difference between ROWS and RANGE We will discuss this in a later video The following query can be used if you want to compute the average salary of 1. The current row 2. One row PRECEDING the current row and 3. One row FOLLOWING the current row SELECT Name, Gender, Salary, AVG(Salary) OVER(ORDER BY Salary ROWS BETWEEN 1 PRECEDING AND 1 FOLLOWING) AS Average FROM Employees Text version of the video http://csharp-video-tutorials.blogspot.com/2015/10/window-functions-in-sql-server.html Slides http://csharp-video-tutorials.blogspot.com/2015/10/window-functions-in-sql-server_7.html All SQL Server Text Articles http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html All SQL Server Slides http://csharp-video-tutorials.blogspot.com/p/sql-server.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 54335 kudvenkat
Oracle Compute Cloud: Launching Wordpress from the MarketPlace
 
03:55
Oracle Compute Cloud: Launching Wordpress from the MarketPlace
Views: 324 Ora Tube
SQL Query Training   70 461 TOP Ranking and Analytic functions
 
01:26:16
Additional Training: http://amzn.to/1RjjJCf Other Trainings: www.AaronBuma.com/free-sql-server-training/ We cover features around the TOP(N) in your query, followed by using the RANK(), DENSE_RANK and ROW_NUMBER. Then on to Analytic Functions to help with your statistical analysis of data. Similar to aggregate functions, analytics functions compute over a group of rows with multiple results within each group. Learn how to properly use each of these analytics functions in combination with enhancements to the OVER clause. Learn the value of CUME_DIST and PERCENT_RANK in your analysis, use LAST_VALUE and FIRST_VALUE along with PERCENTILE_DISC, PERCENTILE_CONT, LEAD and LAG you can look at data in the next and previous row. For previous presentations and notifications of upcoming events, checkout my blog: www.AaronBuma.com or follow @AaronDBuma Slides and scripts are also available at: www.AaronBuma.com
Views: 9018 Aaron Buma
Connect SQL Developer to Oracle Database Cloud Service
 
02:55
Learn how to connect to Oracle Database Cloud Service using Oracle SQL Developer ================================= To improve the video quality, click the gear icon and set the Quality to 1080p/720p HD. For more information, see http://www.oracle.com/goto/oll and http://docs.oracle.com Copyright © 2017 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
Oracle Compute Cloud: Windows 2012 Server R2
 
04:49
Oracle Compute Cloud: Windows 2012 Server R2
Views: 2952 Ora Tube
Oracle Cloud - Oracle Compute Cloud Service and Security Rules to bypass tunneling
 
21:30
Connect with me or follow me at https://www.linkedin.com/in/durga0gadiraju https://www.facebook.com/itversity https://github.com/dgadiraju https://www.youtube.com/c/TechnologyMentor https://twitter.com/itversity
Views: 2338 itversity
allow ssh
 
07:32
Allow an external Windows system to ssh to an Oracle Linux instance in the Oracle Compute Cloud Service.
Views: 787 Craig McBride
Oracle tutorial : How to create Id with AUTO INCREMENT in Oracle PL SQL
 
08:43
Oracle tutorial: How to create Id with AUTO INCREMENT in Oracle oracle tutorial for beginners sequence in oracle identity key in sql In this Oracle tutorial , we can create an auto increment field using ‘sequence’ object that can be assigned as primary keys. Using Oracle ‘sequence’ object, you can generate new values for a column. An Oracle sequence is an object like a table or a stored procedure. Examples CREATE SEQUENCE SYSTEM.MYSEQ START WITH 1 MAXVALUE 999999999999999999999999999 MINVALUE 1 NOCYCLE CACHE 20 NOORDER; CREATE OR REPLACE TRIGGER TR_CITY BEFORE INSERT ON CITY FOR EACH ROW BEGIN SELECT LPAD(LTRIM(RTRIM(TO_CHAR(myseq.NEXTVAL))),10,'0') INTO :NEW.id FROM DUAL; END; / Subscribe on youtube: https://www.youtube.com/channel/UCpiyAesWNYOXSz5GPq8lbkA For more tutorial please visit #techquerypond https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 8477 Tech Query Pond
Oracle Public Cloud: Compute CS 인스턴스 생성
 
05:14
Oracle Public Cloud: Compute CS 인스턴스 생성 Demo Data: 2017.01.04
Views: 47 taewan kim
Oracle Cloud Infrastructure (OCI) |  Compute CPU & Memory
 
13:20
Oracle Cloud Infrastructure (OCI) | Compute CPU & Memory http://k21academy.com/1z016001 This video is from our Oracle Cloud Infrastructure Training (http://k21academy.com/iaas03) where we have started with Giving an overview of one of the services of OCI which is Compute, then we moved to Bare Metal VS Virtual Machine Oracle Cloud Infrastructure offers both Bare Metal and Virtual Machine instances: Bare Metal - A bare metal computes instance gives you dedicated physical server access for highest performance and strong isolation. Virtual Machine - A Virtual Machine (VM) is an independent computing environment that runs on top of physical bare-metal hardware. then we have also seen various other aspects of Compute which is Compute Shapes: Standard, High, Dense IO, GPU Shapes: When to use What, Lifecycle Compute Instance & Billing Compute Instance Video Link: https://youtu.be/5pvg29loGlg Subscribe to Our Channel: https://www.youtube.com/channel/UCRgn... Try Cloud free for 7 days: https://k21academy.com/trycloud/ Introduction to Oracle Cloud Infrastructure Compute Services: https://www.youtube.com/watch?v=tP6j6PdjJFc&t=1s
Views: 261 K21Academy
Calculate query performance with Explain Plan in Oracle PLSQL.
 
09:14
Explain plan is a wonderful utility in Oracle PL SQL. It helps you to understand how much cost a query takes to perform based on indexed table or table without index. In this oracle tutorial a full description is given on a table containing huge number of rows first based on index on a column and then without index.
Views: 3597 Subhroneel Ganguly
How to connect to Oracle Cloud Database using SQL Developer?
 
03:15
As cloud is already our neighbor I was interested to find more about what Oracle provide as a trial for people interested about this topic. I was happy to find https://cloud.oracle.com/tryit site where you can register and in few days you have access to an Oracle Database in the Cloud. As per above site quote "Oracle Database Cloud Service provides the power and flexibility of the Oracle Database in the cloud with your choice of a dedicated database instance with direct network connections and full administrative control, or a dedicated schema with a full development and deployment platform managed by Oracle." Another trigger that make me investigate more about Oracle Database in cloud was Sql Developer version 4.0.2.15 that has Cloud Connections options. In this video I'll show how easy is to access and browse Oracle Database in cloud using SQL Developer 4.0.2.15
Views: 5953 Oracle EBS Hands-On
PL/SQL: Factorial
 
08:14
In this tutorial, you'll learn how to write factorial program in plsql PL/SQL (Procedural Language/Structured Query Language) is Oracle Corporation's procedural extension for SQL and the Oracle relational database. PL/SQL is available in Oracle Database (since version 7), TimesTen in-memory database (since version 11.2.1), and IBM DB2 (since version 9.7).[1] Oracle Corporation usually extends PL/SQL functionality with each successive release of the Oracle Database. PL/SQL includes procedural language elements such as conditions and loops. It allows declaration of constants and variables, procedures and functions, types and variables of those types, and triggers. It can handle exceptions (runtime errors). Arrays are supported involving the use of PL/SQL collections. Implementations from version 8 of Oracle Database onwards have included features associated with object-orientation. One can create PL/SQL units such as procedures, functions, packages, types, and triggers, which are stored in the database for reuse by applications that use any of the Oracle Database programmatic interfaces. PL/SQL works analogously to the embedded procedural languages associated with other relational databases. For example, Sybase ASE and Microsoft SQL Server have Transact-SQL, PostgreSQL has PL/pgSQL (which emulates PL/SQL to an extent), and IBM DB2 includes SQL Procedural Language,[2] which conforms to the ISO SQL’s SQL/PSM standard. The designers of PL/SQL modeled its syntax on that of Ada. Both Ada and PL/SQL have Pascal as a common ancestor, and so PL/SQL also resembles Pascal in several aspects. However, the structure of a PL/SQL package does not resemble the basic Object Pascal program structure as implemented by a Borland Delphi or Free Pascal unit. Programmers can define public and private global data-types, constants and static variables in a PL/SQL package.[3] PL/SQL also allows for the definition of classes and instantiating these as objects in PL/SQL code. This resembles usage in object-oriented programming languages like Object Pascal, C++ and Java. PL/SQL refers to a class as an "Abstract Data Type" (ADT) or "User Defined Type" (UDT), and defines it as an Oracle SQL data-type as opposed to a PL/SQL user-defined type, allowing its use in both the Oracle SQL Engine and the Oracle PL/SQL engine. The constructor and methods of an Abstract Data Type are written in PL/SQL. The resulting Abstract Data Type can operate as an object class in PL/SQL. Such objects can also persist as column values in Oracle database tables. PL/SQL is fundamentally distinct from Transact-SQL, despite superficial similarities. Porting code from one to the other usually involves non-trivial work, not only due to the differences in the feature sets of the two languages,[4] but also due to the very significant differences in the way Oracle and SQL Server deal with concurrency and locking. There are software tools available that claim to facilitate porting including Oracle Translation Scratch Editor,[5] CEITON MSSQL/Oracle Compiler [6] and SwisSQL.[7] The StepSqlite product is a PL/SQL compiler for the popular small database SQLite. PL/SQL Program Unit A PL/SQL program unit is one of the following: PL/SQL anonymous block, procedure, function, package specification, package body, trigger, type specification, type body, library. Program units are the PL/SQL source code that is compiled, developed and ultimately executed on the database. The basic unit of a PL/SQL source program is the block, which groups together related declarations and statements. A PL/SQL block is defined by the keywords DECLARE, BEGIN, EXCEPTION, and END. These keywords divide the block into a declarative part, an executable part, and an exception-handling part. The declaration section is optional and may be used to define and initialize constants and variables. If a variable is not initialized then it defaults to NULL value. The optional exception-handling part is used to handle run time errors. Only the executable part is required. A block can have a label. Package Packages are groups of conceptually linked functions, procedures, variables, PL/SQL table and record TYPE statements, constants, cursors etc. The use of packages promotes re-use of code. Packages are composed of the package specification and an optional package body. The specification is the interface to the application; it declares the types, variables, constants, exceptions, cursors, and subprograms available. The body fully defines cursors and subprograms, and so implements the specification. Two advantages of packages are: Modular approach, encapsulation/hiding of business logic, security, performance improvement, re-usability. They support object-oriented programming features like function overloading and encapsulation. Using package variables one can declare session level (scoped) variables, since variables declared in the package specification have a session scope.
Views: 4379 radhikaravikumar
Oracle's Machine Learning & Advanced Analytics 12.2 & Oracle Data Miner 4.2 New Features
 
46:53
Oracle's Machine Learning and Advanced Analytics 12.2 and Oracle Data Miner 4.2 New Features. This presentation highlights the new machine learning algorithms, features, functions and "differentiators" added to Oracle Database Release 12.2 and Oracle SQL Developer4.2. These features and functioned are "packaged" as part of the Oracle Advanced Analytics Database Option and Oracle Data Miner workflow UI on-premise and in the Oracle Database Cloud Service High and Extreme Editions. I hope you enjoy the video! Charlie Berger [email protected]
Views: 7618 Charlie Berger
Getting Started with Oracle Big Data Cloud Service - Compute Edition (German)
 
04:20
Die Compute Edition von Oracle Big Data Cloud Services verwendet Open-Source-Technologie in einer kompletten Big-Data-Plattform für die Ausführung und Verwaltung von Datenanalyseanwendungen. ================================= To improve the video quality, click the gear icon and set the Quality to 1080p/720p HD. For more information, see http://www.oracle.com/goto/oll and http://docs.oracle.com Copyright © 2017 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
Rollup in SQL Server
 
09:01
sql server group by rollup sql server 2008 group by rollup group by with rollup example sql rollup example sql server rollup example sql server 2008 rollup examples rollup clause in sql server rollup function in sql server ROLLUP in SQL Server is used to do aggregate operation on multiple levels in hierarchy. Let us understand Rollup in SQL Server with examples. We will use the following Employees table for the examples in this video. Retrieve Salary by country along with grand total There are several ways to achieve this. The easiest way is by using Rollup with GroupBy. SELECT Country, SUM(Salary) AS TotalSalary FROM Employees GROUP BY ROLLUP(Country) The above query can also be rewritten as shown below SELECT Country, SUM(Salary) AS TotalSalary FROM Employees GROUP BY Country WITH ROLLUP We can also use UNION ALL operator along with GROUP BY SELECT Country, SUM(Salary) AS TotalSalary FROM Employees GROUP BY Country UNION ALL SELECT NULL, SUM(Salary) AS TotalSalary FROM Employees We can also use Grouping Sets to achieve the same result SELECT Country, SUM(Salary) AS TotalSalary FROM Employees GROUP BY GROUPING SETS ( (Country), () ) Let's look at another example. Group Salary by Country and Gender. Also compute the Subtotal for Country level and Grand Total as shown below. Using ROLLUP with GROUP BY SELECT Country, Gender, SUM(Salary) AS TotalSalary FROM Employees GROUP BY ROLLUP(Country, Gender) OR SELECT Country, Gender, SUM(Salary) AS TotalSalary FROM Employees GROUP BY Country, Gender WITH ROLLUP Using UNION ALL with GROUP BY SELECT Country, Gender, SUM(Salary) AS TotalSalary FROM Employees GROUP BY Country, Gender UNION ALL SELECT Country, NULL, SUM(Salary) AS TotalSalary FROM Employees GROUP BY Country UNION ALL SELECT NULL, NULL, SUM(Salary) AS TotalSalary FROM Employees Using GROUPING SETS SELECT Country, Gender, SUM(Salary) AS TotalSalary FROM Employees GROUP BY GROUPING SETS ( (Country, Gender), (Country), () ) Text version of the video http://csharp-video-tutorials.blogspot.com/2015/09/rollup-in-sql-server.html Slides http://csharp-video-tutorials.blogspot.com/2015/09/rollup-in-sql-server_20.html All SQL Server Text Articles http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html All SQL Server Slides http://csharp-video-tutorials.blogspot.com/p/sql-server.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 51731 kudvenkat
How to return multiple values from a function in oracle pl/sql ? (without using out parameter)
 
14:19
This video demonstrates how a function can return multiple values to the calling environment, but without using multiple out parameters, the video shows an example on how we can create a object, a nested table based on the object and then returning the nested table type from the function.
Views: 16876 Kishan Mashru
X7 Compute Instances and GPU Instances
 
03:59
With Oracle Cloud Infrastructure you can choose the right shape for your needs, including X7-based instances and GPU instances. To learn more, check out the following resources: Website: https://cloud.oracle.com/infrastructure/compute Blog Article: https://blogs.oracle.com/cloud-infrastructure/high-performance-x7-platform-generally-available Compute Shapes: https://docs.us-phoenix-1.oraclecloud.com/Content/Compute/Concepts/computeoverview.htm#Shape
DECODE Function in Oracle Database
 
09:19
Oracle / PLSQL: DECODE Function, oracle decode null, decode in oracle with multiple condition, decode function in oracle, sum(decode) in oracle
Views: 29 Adam Tech
Oracle Machine Learning Apache Zeppelin SQL Notebook for ADWC
 
17:02
Oracle Machine Learning Apache Zeppelin based SQL notebook for the new Oracle Autonomous Data Warehouse Cloud (ADWC)!
Views: 1888 Charlie Berger
2 Oracle Database Cloud Service Creating SSH Keys
 
03:07
Creating a SSH key needed to access DBCS
Views: 996 Thomas Walsh
Rank and Dense Rank in SQL Server
 
10:08
rank and dense_rank example difference between rank and dense_rank with example rank vs dense_rank in sql server 2008 sql server difference between rank and dense_rank In this video we will discuss Rank and Dense_Rank functions in SQL Server Rank and Dense_Rank functions Introduced in SQL Server 2005 Returns a rank starting at 1 based on the ordering of rows imposed by the ORDER BY clause ORDER BY clause is required PARTITION BY clause is optional When the data is partitioned, rank is reset to 1 when the partition changes Difference between Rank and Dense_Rank functions Rank function skips ranking(s) if there is a tie where as Dense_Rank will not. For example : If you have 2 rows at rank 1 and you have 5 rows in total. RANK() returns - 1, 1, 3, 4, 5 DENSE_RANK returns - 1, 1, 2, 3, 4 Syntax : RANK() OVER (ORDER BY Col1, Col2, ...) DENSE_RANK() OVER (ORDER BY Col1, Col2, ...) RANK() and DENSE_RANK() functions without PARTITION BY clause : In this example, data is not partitioned, so RANK() function provides a consecutive numbering except when there is a tie. Rank 2 is skipped as there are 2 rows at rank 1. The third row gets rank 3. DENSE_RANK() on the other hand will not skip ranks if there is a tie. The first 2 rows get rank 1. Third row gets rank 2. SELECT Name, Salary, Gender, RANK() OVER (ORDER BY Salary DESC) AS [Rank], DENSE_RANK() OVER (ORDER BY Salary DESC) AS DenseRank FROM Employees RANK() and DENSE_RANK() functions with PARTITION BY clause : Notice when the partition changes from Female to Male Rank is reset to 1 SELECT Name, Salary, Gender, RANK() OVER (PARTITION BY Gender ORDER BY Salary DESC) AS [Rank], DENSE_RANK() OVER (PARTITION BY Gender ORDER BY Salary DESC) AS DenseRank FROM Employees Use case for RANK and DENSE_RANK functions : Both these functions can be used to find Nth highest salary. However, which function to use depends on what you want to do when there is a tie. Let me explain with an example. If there are 2 employees with the FIRST highest salary, there are 2 different business cases 1. If your business case is, not to produce any result for the SECOND highest salary, then use RANK function 2. If your business case is to return the next Salary after the tied rows as the SECOND highest Salary, then use DENSE_RANK function Since we have 2 Employees with the FIRST highest salary. Rank() function will not return any rows for the SECOND highest Salary. WITH Result AS ( SELECT Salary, RANK() OVER (ORDER BY Salary DESC) AS Salary_Rank FROM Employees ) SELECT TOP 1 Salary FROM Result WHERE Salary_Rank = 2 Though we have 2 Employees with the FIRST highest salary. Dense_Rank() function returns, the next Salary after the tied rows as the SECOND highest Salary WITH Result AS ( SELECT Salary, DENSE_RANK() OVER (ORDER BY Salary DESC) AS Salary_Rank FROM Employees ) SELECT TOP 1 Salary FROM Result WHERE Salary_Rank = 2 You can also use RANK and DENSE_RANK functions to find the Nth highest Salary among Male or Female employee groups. The following query finds the 3rd highest salary amount paid among the Female employees group WITH Result AS ( SELECT Salary, Gender, DENSE_RANK() OVER (PARTITION BY Gender ORDER BY Salary DESC) AS Salary_Rank FROM Employees ) SELECT TOP 1 Salary FROM Result WHERE Salary_Rank = 3 AND Gender = 'Female' Text version of the video http://csharp-video-tutorials.blogspot.com/2015/10/rank-and-denserank-in-sql-server.html Slides http://csharp-video-tutorials.blogspot.com/2015/10/rank-and-denserank-in-sql-server_1.html All SQL Server Text Articles http://csharp-video-tutorials.blogspot.com/p/free-sql-server-video-tutorials-for.html All SQL Server Slides http://csharp-video-tutorials.blogspot.com/p/sql-server.html All Dot Net and SQL Server Tutorials in English https://www.youtube.com/user/kudvenkat/playlists?view=1&sort=dd All Dot Net and SQL Server Tutorials in Arabic https://www.youtube.com/c/KudvenkatArabic/playlists
Views: 69532 kudvenkat
Introduction to Oracle Cloud Infrastructure Object Storage
 
07:50
Oracle Cloud Infrastructure Object Storage is an internet scale, highly durable and highly available storage service. It is ideal for storing unstructured data as objects. Learn more about Object Storage functions and performance, how high durability and data integrity are ensured by replicating and healing data across multiple fault domains. A quick demo follows the functional overview, giving a complete picture. For more information, go to https://cloud.oracle.com/iaas ================================= To improve the video quality, click the gear icon and set the Quality to 1080p/720p HD. For more information, see http://www.oracle.com/goto/oll and http://docs.oracle.com Copyright © 2017 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
How to create VM image on Oracle Compute Cloud Service using Bitnami
 
05:56
How to create VM image on Oracle Compute Cloud Service using Bitnami - please ignore recording clarity after 4 mins
Partner Webcast - Oracle Big Data Cloud Service – Compute Edition: Getting Started Hands-on
 
35:06
Oracle Big Data Cloud combines open source technologies such as Apache Spark and Apache Hadoop with unique innovations from Oracle to deliver a comprehensive Big Data platform designed for the enterprise and built for the cloud. [Read More @ https://blogs.oracle.com/imc/partner-webcast-oracle-big-data-cloud-service-compute-edition-getting-started]
Views: 114 Oracle IMC
IIB Node Connecting to Database using ODBC for ESQL Compute Node Part-2
 
27:05
These videos are intended to teach the basic knowledge of IBM Integration Bus v10,v9,Websphere Message Broker, ESQL coding techniques, IIB Toolkit Overview,Basic Protocol specific nodes setting, Database Interaction,Best practices, performance tuning. Datapower XI52 appliance services creation, XSLT coding, WTX Map creation.Please share your Email id's to [email protected]
Views: 5305 IIBGURU
Launch Oracle Compute Instances with Orchestration (Part 1 of 2)
 
07:04
Creating Oracle Compute Instances Using an Orchestration
Views: 689 Ora Tube
Oracle DBaaS: access GUI desktop via VNC
 
09:18
Access your Oracle Database instance via VNC Viewer, and also install flash player from terminal window
Views: 2733 Ora Tube
How To Do Capacity Planning
 
26:47
Most IT organizations tend to manage system performance in a reactionary fashion, analyzing and correcting performance problems as users report them. When problems occur, hopefully system administrators have tools necessary to quickly analyze and remedy the situation. In a perfect world, administrators prepare in advance in order to avoid performance bottlenecks altogether, using capacity planning tools to predict in advance how servers should be configured to adequately handle future workloads. Watch as capacity planning expert Jon Hill explains the 3 crucial steps of successful capacity planning. Hill then performs real world demonstrations that detail each step using TeamQuest Performance Software. If you're in the capacity management arena or just want to know more on how to efficiently manage IT infrastructure performance; this video is a must see.
Views: 102859 Teamquest OptimizesIT
Use SQL Developer with Exadata Express
 
03:42
Learn how to make a connection from SQL Developer to Oracle Database Exadata Express Cloud Service. From SQL Developer, you can move data from your on-premises database to Exadata Express Cloud Service that utilizes Oracle Database 12c Release 2. When your data is loaded into Exadata Express Cloud Service, you can run SQL statements, develop applications, and perform data analytics on the newest and best Oracle Database release. ================================= To improve the video quality, click the gear icon and set the Quality to 1080p/720p HD. For more information, see http://www.oracle.com/goto/oll Copyright © 2016 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
WMB Tutorials | Connecting to Database using WMB or IIB
 
07:48
This video explains how to connect to oracle database using WMB (WebSphere Message Broker) or IIB (IBM Integration Bus). In last video we saw how to configure database on WebSphere message broker or IBM integration bus. In this video we will go forward and write actual code to connect to oracle database to fetch data. We will be sending request with username in it and then based on username we will fetch that users data from oracle database. Service URL http://localhost:7080/services/getUserDetails Request { "username":"user1" } Response { "person_id": 1, "given_name": "Dave", "family_name": "Badger", "title": "Mr", "birth_date": "1960-05-01 00:00:00", "username": "user1" } Dummy Data for Connecting to Database using WMB or IIB Demo CREATE TABLE people ( person_id INTEGER NOT NULL PRIMARY KEY, user_name VARCHAR2(100) NOT NULL, given_name VARCHAR2(100) NOT NULL, family_name VARCHAR2(100) NOT NULL, title VARCHAR2(20), birth_date DATE ); INSERT INTO people VALUES (1, 'user1','Dave', 'Badger', 'Mr', date'1960-05-01'); commit; SELECT * FROM people;
Views: 1364 ProjectsGeek
Connecting to an OAC Compute VM Using PuTTY
 
10:49
interRel presents Look Smarter Than You Are With Oracle Analytics Cloud: Connecting to an OAC Compute VM Using PuTTY. Ross Schwartzberg
Views: 441 interRel Consulting
Getting Started with Oracle Big Data Cloud Service - Compute Edition (Italian)
 
04:20
Oracle Big Data Cloud Service - Compute Edition si avvale di tecnologie open source per ottenere una piattaforma Big Data completa e poterne eseguire e gestire le applicazioni analitiche. ================================= To improve the video quality, click the gear icon and set the Quality to 1080p/720p HD. For more information, see http://www.oracle.com/goto/oll and http://docs.oracle.com Copyright © 2017 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.
Getting Started with Oracle Big Data Cloud Service - Compute Edition
 
04:21
Learn how to get started with Oracle Big Data Cloud Service - Compute Edition. ================================= To improve the video quality, click the gear icon and set the Quality to 1080p/720p HD. For more information, see http://www.oracle.com/goto/oll Copyright © 2017 Oracle and/or its affiliates. Oracle is a registered trademark of Oracle and/or its affiliates. All rights reserved. Other names may be registered trademarks of their respective owners. Oracle disclaims any warranties or representations as to the accuracy or completeness of this recording, demonstration, and/or written materials (the “Materials”). The Materials are provided “as is” without any warranty of any kind, either express or implied, including without limitation warranties or merchantability, fitness for a particular purpose, and non-infringement.

Cover letter healthcare technician course
Custom writing service you
Country club cover letters
Which will writing service review
Custom writing service reviews