Standout-dev
Oracle SQL Tips, Tricks and Hacks to help Developers stand out.
Menu Close
  • Blog
  • Video Courses
  • Oracle SQL Tutorial

SQL

2

The SQL Group By Clause

Posted on March 12, 2019 by Carlos

This is the written version of a lesson from my SQL Course, in which I introduce students to the awesome and very commonly used SQL GROUP BY clause. If you want to follow along, here is the script you can… Continue Reading →

Basics, Functions, SQL aggregate, aggregate functions, aggregates, GROUP BY, GROUP BY clause, SQL
1

The FIRST and LAST functions in Oracle SQL

Posted on September 27, 2018 by Carlos

This is the written version of a lesson from The Ultimate Oracle SQL Course, in which I show how to use the Oracle FIRST and LAST functions. Like some other functions you probably know, these functions can be used either… Continue Reading →

Functions, SQL aggregate, analytic, FIRST, function, functions, LAST, Oracle, SQL
3

Pairwise Comparisons With Subqueries in Oracle SQL

Posted on September 11, 2018 by Carlos

I recently received a question about Pairwise Subqueries from one of the students in my SQL course, and I thought it would be a good idea to make my answer a blog post, since I did a couple of Google… Continue Reading →

SQL Oracle, SQL, Subquery
4

Prioritizing Rows: The Ranking Functions

Posted on August 25, 2016 by Carlos

Ranking functions are some of the most commonly used analytic functions, and although the “ranking” category can quickly make you think about Top-N queries, that is actually not the only type of problems you can solve with them. In this… Continue Reading →

Functions, SQL analytic, function, functions, Oracle, prioritize, ranking, SQL, top-n
11

The awesome Pivot and Unpivot Features in Oracle SQL

Posted on June 10, 2016 by Carlos

I decided to write about the Pivot and Unpivot clauses, because I find them very useful and powerful. In this article I will try to explain how they are used and show you some examples of the things you can… Continue Reading →

SQL columns, convert, Oracle, pivot, rotate, rows, SQL, transpose, unpivot
11

Understanding Analytic Functions

Posted on April 17, 2016 by Carlos
analytic functions windowing clause

Analytic functions in Oracle SQL are very useful and are utilized by many people, but sometimes without completely understanding how they work or what data they operate on. This article does not focus on a specific function, but on analytic… Continue Reading →

Functions, SQL analytic, function, functions, Oracle, partition, SQL, window, windowing
10

Top-N queries in Oracle SQL

Posted on November 24, 2015 by Carlos

I decided to write about Top-N queries today because even though there are lots of articles and documentation about the correct way to do it in Oracle out there, I have seen this question asked on different forums, and to… Continue Reading →

SQL dense_rank, pseudocolumn, rank, row_number, rownum, SQL, top-n
5

The WITH clause to the rescue!

Posted on October 29, 2015 by Carlos

This time I’m just writing to tell you a story about the WITH clause, because it is really powerful and vastly underutilized. You can read the basics about the WITH clause in my previous article about subqueries. So, this is… Continue Reading →

SQL efficient, Factoring, optimization, Oracle, performance, query, SQL, Subquery, tuning, WITH clause
7

Oracle Inner Join Syntax : 4 different ways

Posted on September 4, 2015 by Carlos

I’ve worked with Oracle databases for many years, and during this time I have seen code written by lots of different people. One thing I have noticed is that with few exceptions, people who started working with Oracle many years… Continue Reading →

SQL ANSI, Inner Join, Join, Natural Join, Oracle, SQL, Standard
4

The Powerful DECODE Function

Posted on August 25, 2015 by Carlos

Oracle’s DECODE is one of the functions I find more powerful and one that over the years I have used thousands of times to solve several different kinds of problems. Here I’m going to talk a little bit about how… Continue Reading →

Functions, SQL comparison, count, counting, DECODE, function, greater, less, Oracle, SQL

Post navigation

Older Articles

SQL Best Practices

The Standout-Dev Academy is launching an Oracle SQL Best Practices video course.

If that sounds like something you would be interested in, click the link below to learn more.

Don't want to miss any Oracle SQL tips?

Subscribe to the newsletter to make sure you don't miss any content!

Recent Posts

  • How Important is to Format your SQL Code?
  • The SQL Group By Clause
  • The Oracle Multitenant Architecture
  • The FIRST and LAST functions in Oracle SQL
  • Pairwise Comparisons With Subqueries in Oracle SQL

Categories

  • Basics
  • Best Practices
  • Functions
  • Oracle Database
  • SQL
  • SQL Developer
  • Tuning

Archives

  • May 2021
  • March 2019
  • September 2018
  • April 2018
  • January 2017
  • October 2016
  • August 2016
  • June 2016
  • April 2016
  • January 2016
  • November 2015
  • October 2015
  • September 2015
  • August 2015
© 2023 Standout-dev. All rights reserved.
Hiero by aThemes
Shares