Home
Search results “Oracle partition by listagg”
Analytical Functions in oracle explained with real examples
 
25:24
This video explains analytical functions and how they are implemented in real projects. Analytical functions are somewhat similar to aggregate functions,but they offer much more. Why use analytical function ? They allow you to write fast and concise queries which otherwise will involve self join and long processing times They allow you to perform aggregate functions independently on sets of partitions. You can access values from previous rows in current row and you can restrict the window on which you want to apply this analytical function. I have given additional practice exercises along with the dataset so that you can comfortably work with analytical functions. You can find the sample problems along with dataset in the below link. http://www.internshipsfromhome.com/oracle-analytical-functions-ddl-and-dml/
Views: 12459 Tech Coach
Oracle LISTAGG Function
 
04:57
https://www.databasestar.com/oracle-listagg/ The Oracle LISTAGG function allows you to aggregate or combine string values from multiple rows into a single row. For example, it turns this data: FIRST_NAME Adam Brad Carrie Into this data: FIRST_NAME Adam, Brad, Carrie The same data is shown, but it’s in one row and not multiple. It’s a valuable string manipulation function, and once you know what it is and how it works, you’ll be able to use it in your queries as needed. So what does it look like? The function is: LISTAGG ( measure_expr [, delimiter]) WITHIN GROUP (order_by_clause) [OVER query_partition_clause] These parameters are: measure_expr: This is a column or expression that you want to concatenate the values of. In the example above, it was the first_name column. Mandatory. delimiter: This is the character between each of the measure_expr values. Optional, the default is a comma. order_by_clause: This is the order that the values from the measure_expr are listed. Mandatory. query_partition_clause: This allows you to use LISTAGG as an analytic function, allowing you to show LISTAGG in groups for different rows. One thing to be aware of is that the output of the Oracle LISTAGG function is limited to 4,000 bytes. If you get more than this, you’ll receive an error. The most common way around this that I’ve seen is to write a custom function and use a CLOB. Watch the video to find out more and see some examples. For more information about the Oracle LISTAGG function, including all of the SQL shown in this video and the examples, read the related article here: https://www.databasestar.com/oracle-listagg/
Views: 2027 Database Star
Oracle LISTAGG Function Example and Demonstration
 
08:47
In this lesson Geoff dives into the explanation and demonstration of the LISTAGG aggregate function. See all the lessons in this tutorial - FREE - at http://www.skillbuilders.com/advanced-aggregations-with-oracle-sql.
Views: 1905 SkillBuilders
LISTAGG Function in Oracle Database
 
07:19
listagg in oracle 10g opposite of listagg in oracle oracle listagg distinct oracle listagg multiple columns oracle listagg limit
Views: 20 Adam Tech
LISTAGG function in oracle-عربي
 
04:37
you can go my website maxvlearn.com
Views: 327 khaled alkhudari
Oracle 12C New Feature Listagg function improvements
 
09:56
oracle 12c new features Queries used in the video are given in the blog link http://easy-learning-tech.blogspot.in/2018/04/oracle-12c-new-feature-listagg-function.html oracle 12c new features for developers
Views: 260 Siva Academy
LISTAGG in Oracle
 
03:16
The theoretic description related to LISTAGG in Oracle to achieve the required which is shown in the Video.
Views: 1124 Techie Rajesh
How to Join Field values of a Table using LISTAGG function | Oracle Express Edition (APEX) Tutorials
 
01:46
Do you know how to join two field values of an Oracle Table using SQL? Do you know this can be achieved using functions in the SQL query? ----------------------------------------------------------------------------------------------------------- select listagg(empname,', ') within group(order by empname) as ALLNAMES from emp1; ----------------------------------------------------------------------------------------------------------- The LISTAGG function takes in two arguments: 1. The name of the field 2. Separator The separator can be any special character like comma, quotes, etc. The query performance may vary for large tables. Hop on to learn more! Subscribe to my channel to learn new Oracle/SQL tips and tricks to obtain a particular output. Use the Oracle Express Edition for quick learning! Check out my other videos: -------------------------------------------------- Clone an Oracle table using SQL: https://youtu.be/8MICKuNoT1w Add Primary Key to Existing Table: https://youtu.be/DgGoedEBLoU Create an Application Workspace: https://youtu.be/Tl9hddgUSdI Download the latest Oracle Express Edition release here: http://www.oracle.com/technetwork/database/database-technologies/express-edition/downloads/index.html Follow me on Instagram: https://www.instagram.com/the_perfect_tutorials/ Follow me on Facebook: https://www.facebook.com/theperfecttutorials
Oracle DENSE_RANK Function
 
04:09
https://www.databasestar.com/oracle-dense_rank/ The Oracle DENSE_RANK function allows you to calculate a rank of a row in a group of rows. It returns this rank as a NUMBER value. This function can be used as either an analytic or an aggregate function, and the syntax depends on how you use it. As an aggregate function it looks like this: DENSE_RANK ( expr, [expr(n)] ) WITHIN GROUP ( ORDER BY (order_expr [ASC|DESC] [NULLS FIRST|LAST] ) These parameters are: - expr: this is the value to search for in a particular table. You can specify multiple search values, and just separate them by a comma. - order_expr: this is used to order the expr values by, because you get a different results depending on what order you rank the values in. - NULLS FIRST or LAST: this is where you can specify if you want to have NULL values appear at the top of your ranking order or at the bottom. As an analytic function, it looks like this: DENSE_RANK() OVER ( [query_partition_clause] order_by_clause) The parameters are: - query_partition_clause: this is the expression that the ranking is “grouped” by, as analytic functions allow you to group data within rows. - order_by_clause: this is the expression to order your results by to determine a rank. For this function, if two records have the same sort or rank position, they will have the same RANK value. It won’t cause a gap in the rankings, unlike the RANK function which does cause a gap. For more information about the Oracle DENSE_RANK function, including all of the SQL shown in this video and the examples, read the related article here: https://www.databasestar.com/oracle-dense_rank/
Views: 146 Database Star
SQL: LEAD Function
 
06:30
In this tutorial, you'll learn how to make use of lead function in oracle sql 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: 1676 radhikaravikumar
AskTOM Office Hours: Slow SQL, Listagg, Data Converstion
 
59:56
Held on June 21 In June we looked at date conversion issues, identifying the cause of slow SQL, dealing with ORA-01489 errors from listagg, and writing case expressions. Key topics are at: 1:00 - Date conversion issues: implicit conversions; format masks; Gregorian to Julian calendar converion 10:15 - Why is my insert slow? An overview method for viewing SQL activity: SQL monitor, autotrace, and SQL trace; a discussion of blocking rows 30:55 - Dealing with listagg ORA-01489 errors: the on overflow truncate clause in 12.2; 12.1 pattern matching (match_recognize) solutions 49:55 - creating case expressions using formulas Links in presentation: How to Create an Execution Plan https://blogs.oracle.com/sql/how-to-create-an-execution-plan Managing overflows in LISTAGG https://blogs.oracle.com/datawarehousing/managing-overflows-in-listagg AskTOM Office Hours offers free, monthly training and tips on how to make the most of Oracle Database, from Oracle product managers, developers and evangelists. https://asktom.oracle.com/ Oracle Developers portal: https://developer.oracle.com/ Sign up for an Oracle Cloud trial: https://cloud.oracle.com/en_US/tryit music: bensound.com
Views: 152 Oracle Developers
Learn Oracle SQL : The Hierarchical Query Clause
 
11:19
http://bit.ly/oracle-sql-course | Get the complete course today. Learn Oracle SQL : The Hierarchical Query Clause: In this video, I show you how to use the Hierarchical Query Clause in Oracle SQL to build a basic hierarchical query. This is an excerpt of the course "The Ultimate Oracle SQL Course" which you can get at a heavily discounted price here: http://bit.ly/oracle-sql-course ================ You can find additional Oracle SQL related articles and educational content in my blog here: http://standout-dev.com/
Views: 4524 Oracle SQL
Oracle : Ntile function
 
01:42
Ntile function's detailed explaination... Oracle tutorials... easy to learn for the biginners.
Views: 217 CONNECT TO LEARN
Oracle Tutorial || Oracle|Adv Sql | Analytical Functions Part-1 by basha
 
33:24
DURGASOFT is INDIA's No.1 Software Training Center offers online training on various technologies like JAVA, .NET , ANDROID,HADOOP,TESTING TOOLS ,ADF,INFORMATICA,TABLEAU,IPHONE,OBIEE,ANJULAR JS, SAP... courses from Hyderabad & Bangalore -India with Real Time Experts. Mail us your requirements to [email protected] so that our Supporting Team will arrange Demo Sessions. Ph:Call +91-8885252627,+91-7207212428,+91-7207212427,+91-8096969696. http://durgasoft.com http://durgasoftonlinetraining.com https://www.facebook.com/durgasoftware http://durgajobs.com https://www.facebook.com/durgajobsinfo......
Oracle Analytical functions Sum , Lead , Lag and Avg
 
10:35
This video tutorial explains Oracle Analytical functions further continuing from my previous video. We demonstrate practical usage of these functions with examples. For Software used in the video refer : www.querylight.in
Views: 2815 Query Light
Oracle Performance Tips - Rank and Dense_Rank
 
03:02
A brief overview and difference between rank and dense_rank analytic function in Oracle
Views: 496 Saurabh Kumar
SQL: WITH Clause
 
06:11
In this tutorial, you'll learn will learn how to use with clause 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: 10779 radhikaravikumar
Ask TOM Office Hours: SQL Analytics and Pattern Matching
 
59:19
Held on February 8, 2018 Learn how to make the most of SQL with Chris Saxon, of the AskTOM answer team. Keith Laker joins Chris in this session focusing on problems you can solve using SQL analytic functions. It will also show you can use 12c's pattern matching (match_recognize) to solve these problems in another way. AskTOM Office Hours offers free, monthly training and tips on how to make the most of Oracle Database, from Oracle product managers, developers and evangelists. https://asktom.oracle.com/ Oracle Developers portal: https://developer.oracle.com/ Sign up for an Oracle Cloud trial: https://cloud.oracle.com/en_US/tryit music: bensound.com
Views: 266 Oracle Developers
SQL: Lag
 
04:40
In this tutorial, you'll learn how to make use of lag function in oracle sql 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: 1786 radhikaravikumar
How to Code Oracle FIRST LAST Aggregate Functions
 
06:35
Learn Advanced Oracle SQL Aggregate functions FIRST and LAST. View all lessons in this tutorial at http://www.skillbuilders.com/advanced-aggregations-with-oracle-sql
Views: 737 SkillBuilders
How to use the Oracle SQL PIVOT Clause
 
11:46
PIVOT allows you to "flip a table on its side", i.e. Columns to Rows / Rows to Columns. Previously we did this with DECODE or CASE. As of Oracle 11g, Oracle Database includes the PIVOT clause (and UNPIVOT). Oracle expert Geoff Wiland from SkillBuilders will demonstrate PIVOT, UNPIVOT, including the use of aggregate functions.
Views: 9397 SkillBuilders
Materialized Views in Oracle  (Part - 2 Practical Implementation with Examples)
 
13:10
This video explains the syntax of creating a materialized view in oracle database, and also a brief demo of creating materialized view, refreshing the MV and dropping the MV is shown in this free video tutorial.
Views: 7489 Kishan Mashru
Using Pivot clause in Oracle  PLSQL.
 
08:51
Pivot is a wonderful feature in Oracle which helps you your aggregate based sql results to be transformed from row to column where you can put your group based columns to display it's aggregate value into columns.
Views: 3420 Subhroneel Ganguly
Analytical functions in oracle part 1
 
16:19
Rank ,Dense Rank and Row number function in oracle
Views: 214 DataSmith
Oracle Performance Tuning - Lead and Lag
 
04:19
A brief overview about Lead and Lag analytic function in Oracle
Views: 1239 Saurabh Kumar
How to use Oracle SQL ROLLUP and CUBE
 
06:12
Learn how the Oracle Database SQL extensions ROLLUP and CUBE provide additional aggregations for your data warehouse data.
Views: 2073 SkillBuilders
Efficient Function Calls From SQL (Part 5) : Pipelined Table Functions
 
03:48
The fifth part of a mini-series of videos showing how you can improve the performance of function calls from SQL. In this episode, we compare the performance of conventions table functions with pipelined table functions. For more information see: https://oracle-base.com/articles/misc/pipelined-table-functions https://oracle-base.com/articles/misc/efficient-function-calls-from-sql Website: https://oracle-base.com Blog: https://oracle-base.com/blog Twitter: https://twitter.com/oraclebase Cameo by Mike Dietrich : Blog: https://blogs.oracle.com/UPGRADE Twitter: https://twitter.com/MikeDietrichDE Cameo appearances are for fun, not an endorsement of the content of this video.
Views: 10667 ORACLE-BASE.com
Ask TOM (The Oracle Masters)
 
01:24
AskTom gets a new name.... sort of ========================================­­­­============== 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.
Views: 341 Connor McDonald
SQL Model Clause - 01 - An Introduction
 
10:48
SQL Model Clause - Series 01
Views: 220 Rajeshwaran Jeyabal
Alex Nuijten - SQL Model Clause: A Gentle Introduction
 
49:42
The Model Clause adds spreadsheet-like functionality to the SQL language. Very powerful stuff, yet the syntax can be quite daunting. With the Model Clause, you define a multidimensional array from query results and then apply formulas to this array to calculate new values. This presentation will give you a gentle introduction in the complex syntax of the Model Clause and will show you some real life examples where the Model Clause was invaluable.
Views: 692 Riga Dev Days
Using SQL for Pattern Matching in Oracle Database - OLL Live recorded event
 
35:44
Learn how to use SQL for Pattern Matching. Row pattern matching in native SQL improve application and development productivity and query efficiency for row-sequence analysis. Recognizing patterns in a sequence of rows has been a capability that was widely desired, but not possible with SQL until now. With Oracle Database 12c Release 1 (12.1), you can use the MATCH_RECOGNIZE clause to perform pattern matching in SQL. See the related tutorial at http://apex.oracle.com/pls/apex/f?p=44785:24:0::::P24_CONTENT_ID,P24_PREV_PAGE:6781,1. Copyright © 2013 Oracle and/or its affiliates. Oracle® is a registered trademark of Oracle and/or its affiliates. All rights reserved. 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 of merchantability, fitness for a particular purpose, and non-infringement.
Oracle 18C New Feature Private Temporary Table
 
12:01
What is oracle private temporary table? This video explains about the global temporary table, and private temporary table concepts. A typo error in the slide, Please read "ON COMMIT DROP DEFINITION" instead of "ON COMMIT DELETE DEFINITION"
Views: 141 Siva Academy
Oracle tutorial : What is Virtual column in Oracle PL SQL
 
06:54
This video will show you " Oracle tutorial: What is Virtual column in Oracle PL SQL " sql calculated field computed column oracle-11g-new-feature-virtual-column Oracle tutorial : What is Virtual column in oracle Syntax : column_name [datatype] [GENERATED ALWAYS] AS [expression] [VIRTUAL] 1)The values of the virtual column are not stored in the database. 2)You can not update the values of virtual column. 3)when you try to modify it will give oracle error. 4)These are read only values. 5)Virtual columns used in the WHERE clause of UPDATE and DELETE statement 6)Constraints can be created on them. #techquerypond https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 1298 Tech Query Pond
sql aggregate functions
 
06:36
sql aggregate functions aggregate functions sql sql analytic functions oracle sql analytic functions SQL have following aggregate functions that can be used to write queries. 1)SUM() -: return sum of columns values. 2)AVG() -: return Average of columns values. 3)COUNT() -: return count of rows according to condition in where clause. 4)COUNT(*) -: return count of rows according to condition in where clause. 5)MAX() -: return Maximum value from table. 6)MIN() -: return minimum value from table. Note : A)Aggregate functions used in SELECT and HAVING clauses. B)Aggregate functions cannot be used in a WHERE clause. SELECT SUM(SALARY) FROM EMPLOYEE SELECT AVG(SALARY) FROM EMPLOYEE SELECT COUNT(SALARY) FROM EMPLOYEE SELECT COUNT(*) FROM EMPLOYEE SELECT MAX(SALARY) FROM EMPLOYEE SELECT MIN(SALARY) FROM EMPLOYEE https://techquerypond.com https://techquerypond.wordpress.com https://twitter.com/techquerypond
Views: 462 Tech Query Pond
Oracle  Aggregate functions
 
55:34
Aggregate Funtion: MACSMVS max,avg,count,sum,min, variance, stddev
Views: 903 Jide James
Hints and Tips - SQL*Plus tricks
 
06:07
It's been around forever... but that does not make it obsolete. Here's how you can get the most out of SQL*Plus ========================================­­============== Copyright © 2015 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.
Views: 2965 Connor McDonald
Informatica Interview Scenario :Listagg Function in Informatica
 
15:27
A source table has values Col1 Col2 a l a m a n b p b q x y The target table should have values Col1 Col2 a l,m,n b p,q x y The Video Demonstrates 2 approaches to achieve the same using listagg function in SQ query and by using expression and aggregation in case of flat file. Please post in comments section in case you want help with any scenario i will try to cover it in my next video
Views: 5121 Tech Coach
Restricting rows with WINDOWING in Oracle SQL
 
12:05
In this video tutorial we will learn how to restricting rows with WINDOWING in Oracle SQL queries for Analysis and Reporting
Views: 148 Spod ssppoodd
Tuorial : Oracle Analytical Functions rank , denserank , top n query
 
06:41
This video gives introduction on how oracle analytical functions like rank , dense rank work. How they should be used practically. How to perform Top N Query with Analytical Functions. Sofware used can be downloaded from : www.querylight.in
Views: 1261 Query Light
12c Recursive Functions
 
14:28
Views: 91 N Sacevich
Counting Data Within Groups with GROUP BY (Introduction to Oracle SQL)
 
05:32
How to use grouping and count to count occurrences of data
Views: 145 Database Star
What Oracle SQL analytic functions are?
 
04:20
In this training video we will learn how to usу analytic SQL functions in Oracle
Views: 50 Spod ssppoodd
Informatica Scenario Converting Rows into Columns:Best Two approaches explained
 
20:36
The Video Demonstrates a scenario where the Source contains the scores of three students in three subjects in below format. ID Name Subject Score 100 Vivek Science 50 100 Vivek Maths 50 100 Vivek English 70 200 Amit Maths 80 300 Ankit Maths 40 200 Amit Science 70 300 Ankit Science 80 200 Amit English 60 300 Ankit English 60 It explains how we can display the scores of students in cross tabular format using pivot in Source qualifier query or using expression and aggregator in case if source is flat file
Views: 21974 Tech Coach
11G features
 
11:48
11G features / Drop Table Test; / 1) Invisible Index / Create Table Test (A Number, B Varchar2(20) ); / Begin For I In 1..100000 loop Insert Into Test Values(I,'test'||I); End Loop; end; / explain plan for Select * From Test where b='test1850'; / Select * From Table(Dbms_Xplan.Display()); / Create Index In_test On Test(b) visible; / Alter Index In_test Invisible; / Alter Index In_test Visible; / Select * From User_Indexes Where Table_Name='TEST'; / ===================== 2) Sql Result Cache / 1. 1st Time It Will Execute The Query From Db 2. After That If We Execute The Same Query, It Wont Execute The Query Again In Db. It Will Fetch The Result From This Cache Memory. ===================== 3) Read only table: / Drop Table Test1; / Create Table Test1 ( A Number, B Number, C Varchar2(20) ); / Insert Into Test1 Values (10, 20, 'test'); / Select * From Test1; / Alter Table Test1 read only; / Insert Into Test1 Values (10, 20, 'test'); / Select * From Test1; / Alter Table Test1 Read write; / Insert Into Test1 Values (10, 20, 'test'); / Select * From Test1; / =========================== 4) Virtual Column; ====== / Drop Table Hist_Student; / CREATE TABLE HIST_STUDENT( ST_MARKS NUMBER, St_Max_Marks Number, St_Perc Number As (round(St_Marks/St_Max_Marks)*100), sum_marks number as (st_marks+st_max_marks) ); / Insert Into Hist_Student (St_Marks,St_Max_Marks) Values(93,150); Insert Into Hist_Student (St_Marks,St_Max_Marks) Values(85,100); / Select * From Hist_Student; / ====================== 5)Listagg / Syntax: / LISTAGG - LISTAGG (measure_expr [, 'delimiter_expr']) WITHIN GROUP (ORDER By Clause) [Over Partition Byclause] / Select Department_Id, Listagg( first_Name,',') Within Group(Order By Salary) Employees From Employees group by department_id; ====================== 6) Sequence Usage / DECLARE L_ID NUMBER; BEGIN L_ID:= TEST_SEQ.NEXTVAL; End; / 7) Regexp_Count / WITH C AS (SELECT ‘Sachin Tendulkar’ STARS FROM DUAL UNION ALL Select ‘virender Sehwag’ Stars From Dual Union All SELECT ‘Gautam Gambhir’ STA`RS FROM DUAL UNION ALL SELECT ‘MS Dhoni’ STARS FROM DUAL UNION ALL SELECT ‘Yuvraj Singh’ STARS FROM DUAL) SELECT STARS, REGEXP_COUNT(STARS, ‘s’, 1, ‘i’) S FROM C; STARS S --------- -- Sachin Tendulkar 1 Virender Sehwag 1 Gautam Gambhir 0 MS Dhoni 1 Yuvraj Singh 1
What is LAG Function in Oracle
 
03:26
What is LAG Function in Oracle How to Get Previous Record in SQL How to Get Previous Salary in Oracle SQL Tutorial SQL Tutorial for beginners PLSQL Tutorial PLSQL Tutorial for beginners PL/SQL Tutorial PL SQL Tutorial PL SQL Tutorial for beginners PL/SQL Tutorial for beginners Oracle SQL Tutorial
Views: 144 TechLake
Oracle Interview questions, How to calculate sum of salary without using sum function.
 
06:04
Oracle Interview questions, How to calculate sum of salary without using sum function...!!!!!
Views: 35 ORA CLE
KISS series on Analytics: 28 Partitioned outer join
 
03:34
Welcome to the KISS video series. Solving problems that typically required complicated SQL in the past, that can now be easily solved with Analytic SQL syntax. We are now looking at functions that are not specifically analytics, but they are present in the Data Warehousing Guide in the SQL for Analysis chapter. In this session we look at the partitioned outer join feature - the ability to do an outer join on logical groupings of the data. Script: https://livesql.oracle.com/apex/livesql/file/content_DDWIGFEMAI346G037QIRDJS8D.html Watch the entire Analytics playlist at https://www.youtube.com/playlist?list=PLJMaoEWvHwFJDyhMLCkNSSUQWw9waFkIj ========================================­­­­============== Copyright © 2015 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.
Views: 665 Connor McDonald
SQL 12c  Tutorial 18 : SQL  Invisible Column options in SQL 12c New Features
 
03:21
SQL 12c Tutorial 18 : SQL Invisible Column options in SQL 12c New Features SQL 12c Tutorial for beginners Oracle SQL 12c Tutorial for beginners Oracle SQL 12c New Features
Views: 321 TechLake
Oracle regular expression part 3 replace a substring regexp replace
 
06:00
Oracle SQL PLSQL and Unix Shell Scripting
Views: 2173 Sridhar Raghavan