⌘BABAKOV.NET Let's code!
100% [dark] [ru]
~/tags/sql $

#SQL

16 posts

16 total · page 2 / 2

Oracle - Features and Utilities

Useful little things and queries that may be useful with their description. 1. Get a list of all fields of the table that interests us. select column_name from user_tab_columns where upper(table_name) = upper('table_name') 2. Change the default date format in the session. ...

51 views 0 comments 0 likes ./Read →

Объединение выборок UNION, INTERSECT, MINUS в Oracle (PL/SQL)

В Oracle присутствует возможность объединять выборки. Для объединения используются операторы: UNION (с вариацией UNION ALL ), INTERSECT и MINUS . Рассмотрим работу всех этих операторов. 1. UNION и UNION ALL UNION — объединяет наборы данных,…

757 views 0 comments 0 likes ./Read →

Oracle - RANK() and DENSE_RANK() Functions (Or Learning to Choose Necessary Values Within a Multiple Selection)

Let's start with the RANK() function. With explanations for what it is and in what cases it may be useful. The RANK() function is a very useful function that allows us to number a set by some grouping value within the entire selected set. It is easiest to show this with an example. To do this, let's create a small table:

764 views 0 comments 0 likes ./Read →