title: DISTINCT ON() in jOOQ
body: <p>I would like to make a query in PostgreSQL</p>
  
  <pre class="lang-sql prettyprint-override"><code>select 
    distinct on(uuid) 
    (select nr_zew from bo_get_sip_cti_polaczenie_info(uuid)) as nr_zew 
  from bo_sip_cti_event_day
  where data_ins::date = current_date
  and kierunek like 'P'
  and (hangup_cause like 'NO_ANSWER' or hangup_cause like 'NO_USER_RESPONSE') 
  </code></pre>
  
  <p>in Java as far I have</p>
  
  <pre class="lang-java prettyprint-override"><code>Result&lt;Record&gt; result = create
      .select()
      .from("bo_sip_cti_event_day")
      .where("data_ins::date = current_date")
      .and("kierunek like 'P'")
      .and("(hangup_cause like 'NO_ANSWER' or hangup_cause like 'NO_USER_RESPONSE') ")
      .fetch();
  </code></pre>
  
  <p>and it works but as I try to add</p>
  
  <pre class="lang-java prettyprint-override"><code>Result&lt;Record&gt; result = create
      .selectDistinct("uuid")
      .from("bo_sip_cti_event_day")
      .where("data_ins::date = current_date")
      .and("kierunek like 'P'")
      .and("(hangup_cause like 'NO_ANSWER' or hangup_cause like 'NO_USER_RESPONSE') ")
      .fetch();
  </code></pre>
  
  <p>then it says that cannot do <code>selectDistinct(String).</code> How can I use distinct in jOOQ?</p>