     
    PostgreSQL,   , 
   "    
        ".

   :

1.     .  Σ 
       -  .
 :
)   (:   : , )
)   (:   : , )
)  (:   : ___ )
     ,   
   (,   £  ,
  ,    ).

2.  PostgreSQL    ,   
    ,     
    .

3.        
  . -,     
.          (
   ).

4.         ,
          
   .

5.         .

6.     .

:     ,   
: <>-<>-...-<>

    <> -   ,  
    <> -   
:
    -1023-10-18 - . ,  1023, 10 ,  N18  
    
   ,        
 ("  ").       ;
   ;  ,   ;  , ,   
.

     ,      
   ,   ,  
<>+1, ..       -1023-10-19,
-1023-10-20,..       .   
   ,          
.

  :
 <>
 :
<>.ankets=[anket_id varchar(40) primary key, question_id serial integer unique]

 :
  :
<>.question1=[question_id integer references <>.ankets on delete cascade on update cascade, answer_num integer, answer_text text]
   .
   .

       :
SELECT answer_num,answer_text FROM <>.question<> WHERE question_id=(SELECT question_id FROM <>.ankets WHERE anket_id=<>)

:
() - 
AND - 
OR - 
NOT - 
= -  
~ - 

  ,
:

4.1 and 5.2 -      1       2.
4.1='25' -      1      25
4.2~'25' -      1      25
5.1=5.2 -      1,      2  ģ     .


7.      .


---------------------------------------------------------
 :
1.        
(    )
2.          
3. ,          
4. - ݣ...
