зеркало из
				https://github.com/iharh/notes.git
				synced 2025-11-03 23:26:09 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			15 строки
		
	
	
		
			233 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			15 строки
		
	
	
		
			233 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
https://www.postgresql.org/docs/current/queries-with.html
 | 
						|
 | 
						|
with some_name as(...)
 | 
						|
select ... from some_name;
 | 
						|
 | 
						|
with recursive some_name(
 | 
						|
    ... from some_name ...
 | 
						|
)
 | 
						|
...
 | 
						|
 | 
						|
with
 | 
						|
    name1(p11, p12, ...)
 | 
						|
    name2(p21, p22, ...)
 | 
						|
    ...
 |