SQL query to create a report

I am trying to retrieve a report for certain POIS, unfortunately I do not know how to formulate the query correctly. A few samples of data and the rules of the report are described below:

with my_tab as (select 1 provider id 'ACME', 1', 'A' attr1, attr2 Union ' B' double all the)
Select 2 provider id 'TOMA', 2', 'C' attr1, had ' attr2 Union double all the»
Select the id 3, supplier of 'ACME', 3 ', 'A' attr1, attr2 Union ' B' double all the
Select 4 provider id 'TOMA', 3', 'C' attr1, had ' attr2 Union double all the»
Select 5 id provider "ACME", 4 pi, null attr1, attr2 Union null double all the
Select 6 provider id 'TOMA', 4', 'C' attr1, had ' attr2 Union double all the»
Select 7 id provider "ACME", 5 pi, null attr1, attr2 Union ' B' double all the
Select 8 id provider "TOMA", 5', 'C' attr1, had ' attr2 Union double all the»
Select double union all 9 id provider 'ACME", 6', null, null attr2 attr1
Select 10 id provider "TOMA", 6 pi, null attr1, had "double attr2)

rules for the result set:
(a) each separate poi must appear exactly once
(b) if there is more than one folder with the same id of poi, the ACME provider attributes are preferred
(c) if ACME is not able to provide an attribute, the provider TOMA must intervene


The result should look like this:

POI | attr1 | att2
1. A | B |
2. C | D |
3. A | B |
4. C | D |
5. C | B |
6. null | D |

Published by: user8914294 on December 21, 2009 11:58

Published by: user8914294 on December 21, 2009 11:59

Hello

Welcome to the forum!

Here's one way:

SELECT       poi
,       MAX (attr1) KEEP (DENSE_RANK FIRST ORDER BY CASE
                                                                   WHEN  attr1  IS NOT NULL     THEN 1
                                                               END
                              ,           CASE  supplier
                                        WHEN  'ACME'  THEN  1
                                        WHEN  'TOMA'  THEN  2
                                                               END
                  ) AS attr_1
,       MAX (attr2) KEEP (DENSE_RANK FIRST ORDER BY CASE
                                                                   WHEN  attr2  IS NOT NULL     THEN 1
                                                               END
                              ,           CASE  supplier
                                        WHEN  'ACME'  THEN  1
                                        WHEN  'TOMA'  THEN  2
                                                               END
                  ) AS attr_2
FROM       my_tab
GROUP BY  poi
ORDER BY  poi
;

It's not the fact that there are only two suppliers, or combination (poi, supplier) is unique, or that the order of preference for suppliers is the same as alphabetical order.

This is an example of Request Top - N , where you want the elements of N (N = 1 in this case) from the top of a sorted list. The problem is how we can adjust the values, so that the most desirable come top of the list?
There are two things that make a more desirable than the other value:
(1) No NULL values are better than NOTHING. After that:
(2) the lines where providers = "ACME" is more desirable than the lines where vendor = "TOMA."
In this case, these two require CASE expressions (or similar, such as NVL2 siomething) to sort.

Thanks for posting the sample data in a useful format. This helps a lot.

Tags: Database

Similar Questions

  • SQL query for the apex report

    Hi team,

    For example if I have a demo table with 4 columns (A, B, C, D) DEMO.

    I want a report on this table, such that the report contains the headers and the Details section.

    For each unique combination of (A, B) I must first of all show header based on the header information I want to display the detailed section.
    In my header section I want to display 2 columns (A, B) that are common to the detailed section. Remaining 2 columns in the detailed section.


    Here is an example: -.

    A B C D
    1 5 9 3
    1 5P8
    1 5 P O
    1-5-9
    1 8 9
    1     D     *     /
    2 8 33 P
    2 P O O
    2 P L L

    YOU WILL SEE
    A AND B
    1 5

    C D
    9 3
    P 8
    P O


    A AND B
    1 D

    C D
    5 9
    8 9
    *     /



    A AND B
    2 P

    C D
    8 33
    O O
    L L

    Please suggest the solution (sql query) for above the problem and how to nest gernerated headers dynamically in the report area.
    I use APEX 4.0
    Any position in this regard is very significant.

    Thanks and greetings
    Rajendra

    Try this:

    SQL> select * from tab;
    1 5 9 3
    1 5 P 8
    1 5 P O
    1 D 5 9
    1 D 8 9
    1 P 8 3
    1 P O O
    
    7 rows selected.
    
    SQL> select a,b from
    (select r,a,b from
    ( select to_char(rownum)||'a' r, 'A' a,'B' b from
            (select distinct a, b from tab order by a,b))
            union
    ( select to_char(rownum)||'c' r, 'C' c,'D' d from
            (select distinct a, b from tab order by a,b))
    union
    ( select to_char(rownum)||'b' r, a,b from
    (select distinct a, b from tab order by a,b))
    union
    select parent.r, tab.c, tab.d from
    ( select to_char(rownum)||'d' r, a,b from
    (select distinct a, b from tab order by a,b)) parent ,
    tab
    where parent.a=tab.a and
    parent.b=tab.b
    ) order by r
    ;
    A B
    1 5
    C D
    9 3
    P 8
    P O
    A B
    1 D
    C D
    5 9
    8 9
    A B
    1 P
    C D
    8 3
    O O
    
  • SQL query to create artificial lines (performance)

    Database: Oracle 11g

    with tab1 as  
    (select 1 sequence_num,'p1' productid, 'jm1' job_master_id, 'jm11' job_id, 'insert' status  
        from dual  
      union all  
      select 2 sequence_num,'p1' productid, 'jm1' job_master_id, 'jm12' job_id, 'insert' status  
        from dual  
      union all  
      select 3 sequence_num, 'p1' productid,'jm1' job_master_id, 'jm13' job_id, 'insert' status  
        from dual  
      union all  
      select 4 sequence_num, 'p1' productid, null job_master_id, 'jm1' job_id, 'master_removed' status  
        from dual  
        union all  
        select 1 sequence_num,'p2' productid, 'jm2' job_master_id, 'jm21' job_id, 'insert' status  
        from dual  
        )  
    select * from tab1
    
    

    fr1.PNG

    the above is a table of operation for a given productid. for each master job there are jobs of the child and for each child employment there is an entry for insertion. When we remove the master station we only store one record for the id of the job to master an integer. However in some reports we show each child job id with a status being removed as the below. basically for each logical record that created the deleted entry will be the sequence number of the main entrance. in this example sequence # 4. tab1 is a very large table.


    fr2.PNG

    my query:

    1. with tab1 as 
    2. (Select 1 sequence_num"p1" productid, 'jm1' job_master_id, 'jm11' job_id, "insert" State
    3. de double
    4. Union all 
    5. Select 2 sequence_num 'p1' ProductID, 'jm1' job_master_id, "jm12" job_id, "Insert" status
    6. deUnion all 
    7. Select sequence_num 3, 'p1' ProductID, « jm1 » job_master_id, "jm13" job_id, "Insert" status
    8. de double
    9. Union all 
    10. Select sequence_num 4, 'p1' ProductID, null job_master_id, 'jm1' job_id, "master_removed" status
    11. de double
    12. Union 
    13. Select 1 sequence_num 'p2' ProductID, « jm2 » job_master_id, "jm21" job_id, "Insert" status
    14. de double
    15. )
    16. Select * de
    17. Select a.*, 'physical' record de tab1 a
    18. Union all 
    19. Select del.sequence_num,
    20. b.ProductID,
    21. b.job_master_id,
    22. 'logic' record
    23. de 
    24. tab1 del, tab1 b
    25. del.ProductID = b.productid
    26. et del.job_id = b.job_master_id
    27. et del.status = "master_removed" 
    28. et b.status = "Insert" ) final
    29. order of final.productid, final.job_master_id, final.job_id
    30. Can rewrite us this query with just a single select statement with three full table on the same table scans? Something using connectby or connector line... Thanks in advance...

      Something like:

      with tab1 as)

      Select 1 sequence_num, productid 'p1', 'jm1' job_master_id 'jm11', 'insert' Union status job_id double all the

      Select 2 sequence_num, productid 'p1', 'jm1' job_master_id job_id 'jm12","insert"status of double union all

      Select 3 sequence_num, productid 'p1', 'jm1' job_master_id job_id 'jm13', 'insert' status of double union all

      Select 4 sequence_num "p1" productid, job_master_id, job_id 'jm1' null, 'master_removed' status of all the double union

      Select 1 sequence_num "p2" productid, job_master_id 'jm2', 'jm21"job_id,"insert"status of double

      )

      Select sequence_num,

      ProductID,

      NVL (job_master_id, job_id) job_master_id.

      nvl2 (job_master_id, job_id, job_id prior) job_id,

      status,

      level of the case

      When 1 then 'physical '.

      otherwise "logic."

      end record

      of tab1

      connect by productid = ProductID prior

      and job_id = prior job_master_id

      and the State = "master_removed".

      order by productid,

      job_master_id,

      job_id

      /

      SEQUENCE_NUM PR JOB_ JOB_ STATE REGISTRATION
      ------------ -- ---- ---- -------------- --------
      4 p1 jm1 jm11 logical master_removed
      1 p1 jm1 jm11 insert physical
      2 p1 jm1 jm12 insert physical
      4 p1 jm1 jm12 logical master_removed
      4 p1 jm1 jm13 logical master_removed
      3 p1 jm1 jm13 insert physical
      4 p1 jm1 physical master_removed
      1 p2 jm2 jm21 insert physical

      8 selected lines.

      SQL >

      SY.

    31. DA on updatable report items Sql query using the class

      Request Express 4.2.5.00.08

      10-11 g Oracle

      I have a page, so it has a link/button when he clicks then modal region will appear. Modal region has a as a table (Type SQL Query (updateable report)). All work very well so far.


      However, I've now added some complex things.

      for example. My region is based on the query of SQL Type (editable report).

      SELECT id, name of family, Traghetti, area, d_date, start_time, End_time, displacement, role of table where id =: P10_ID;

      I can also add a new line of course.

      My problem is, (point) Shift display based on the value of Start_Time point) and so I made sure the class for two items.

      for example, Start_Time (' class = "st_tm" ') and Maj ('class to = "Shift_time" '). Start_Time is based on (LOV) and shift is off the point in the sql query, but change the Start_Time.

      And now, I created the DA.

      1. event: change

      Selection type: jQuery Selector

      jQuery Selector: .st_tm

      Condition: No.

      1. action: set value

      Set type: Expression Javascript

      The JavaScript Expression: $(this.triggeringElement) .val ();

      The element affected: P10_X1 (it is a hidden item)

      2. action: Plsql Code

      Code: start to null; end;

      Page items to submit: P10_X1

      3. action: Plsql Code

      Code: start

      If: P10_X1 between '03' AND '11' then

      : P10_X1: = 'EARLIES ';

      elsif: P10_X1 then '12' and '18'

      : P10_X1: = 'LATES ';

      on the other

      : P10_X1: = 'NIGHTS';

      end if;

      end;

      Page items to submit: P10_X1

      NOW another DA

      Event: change

      Article (s) P10_X1

      Condition (in list)

      value (HASTY, LATES, NIGHTS)

      Action:

      Set type: Expression Javascript

      The JavaScript Expression: $(this.triggeringElement) .val ();

      Affected item:

      Selection type: jQuery Selector

      jQuery Selector:. Shift_time

      Well, I look forward all the above work well, but I'm having a problem.

      If I have more than 1 lines on a modal region and if I change the Start_Time value for a row then MAJ (point) is changing but he effect on all lines.

      I want, if I make the changes on the line line # 2 while only 2 # MAJ (point) must be not performed any other lines?

      Help, please!

      Kind regards

      RI

      I found the solution me thank you.

      I removed all the DA mentioned above and created a new.

      1. event: change

      Selection type: jQuery Selector

      jQuery Selector: .st_tm

      Condition: No.

      Scope of the event: dynamic and light on page load.

      Action (Javascript code)

      ROW_ID = $(this.triggeringElement).attr('id').substr (4);

      If ($(this.triggeringElement). val() > = 03 &. val() $(this.triggeringElement))<= 11)="">

      .Val ('EARLIES') $(«#f11_» + row_id);

      }

      ElseIf ($(this.triggeringElement). > 11 val() & $(this.triggeringElement). val())<= 18)="">

      .Val ('LATES') $(«#f11_» + row_id);

      }

      ElseIf (. val() > $19 (this.triggeringElement)) {}

      .Val ('NIGHTS') $(«#f11_» + row_id);

      }

      also created another DA because I have a disabled report items.

      Event: before the page is sent.

      $('_:_disabled').removeAttr ("disabled");

      and finally created manual process of DML for tabular and everything works fine. (Insert, Update, and delete).

      Kind regards.

    32. Top of page justify/format vertical on a region of SQL query report

      I have a simple region report, type = SQL query.  One of the selected columns is an address in the format which the syntax is shown below:

      RTRIM (address_line1| ) "< BR >" || address_line2 || "< BR >" ||

      address_line3 || "< BR >" || address_line4 || "< BR >" , "< BR >" )||

      "< BR >" || City || ', ' || State || ' ' || Zip_code

      It works very well, but he's justifying the vertical center, as is the title of the column.  I need both the selected value and the title of the column to be justified high vertical.  All the other selected columns are the only line, but it is the only multiline select.

      Suggestions on how to achieve this?

      Apex v4.2.1.00.08.

      Uncle Buck says:

      The theme used is "dark blue - 16.

      Not a good thing. Very outdated and buggy. Is it a legacy application or one that is (somehow) must take in charge users who use IE6 (or compatibility modes it)? If this isn't the case, strongly recommend that you spend a theme of APEX 4.x standards mode as soon as POSSIBLE.

      It would be hard to create a new model, because this model is used by a lot of pages in this application, and they need to all be like.

      To get cells aligned at the top using inheritance default: vertical report, watch 1 (exclude null columns) model report in the page CSS Inline property, use the following:

      .vertical1 td {
        vertical-align: top;
      }
      

      However, I would recommend moving away from using inherited as 'Dark blue - 16' themes and models of integrated by default report. Standards mode APEX 4.x themes and thematic reports patterns will give best results with current browsers.

    33. CANNOT CREATE A REPORT WITH A QUERY PAGE

      Hello everyone,

      I have this query with a self-join:

      \

      Select flight_id, f.pilot_id, last_name, f.pla_id, pla_desc, city_dep, d.city_name, city_arr, a.city_name, dep_time, arr_time

      pilots of flight f, p, pl, city, city of the plane a

      where f.pilot_id = p.pilot_id

      and f.pla_id = pl.pla_id

      and city_dep = d.city_id

      and city_arr = a.city_id

      order of flight_id;

      \

      I've created a classic report based on a table, first of all, then I'm trying to modify the SQL query to the above and I get this error:

      Error in saving of the column's settings.

      ORA-20001: your query contains alias duplicate names, the queries used for reports require unique alias names.


      What I am doing wrong? How can I build a rapport with a form based on a request like this?


      Thank you!

      The column Francisco appears twice - you'll need to use aliases for columns, for example:

      d.city_name as dep_name

      a.city_name as arr_name

    34. SQL query report request

      Hi all

      I created links for an item, but for a few item links that balancing and cost codes were wrong wrong and item links are a lot so I am unable to find out who is given wrongly.

      can some 1 out there provide me with the query sql that will allow me to create a report to run and check that all links have costs and balancing of the codes for all of the gains or the voluntary restraints.

      Thank you for reading my question. Help, please!

      See if the underside.
      Change the id of Group business in the query below-

      select ppf.payroll_name
      ,pj.name Job,hou.name HR_ORG,ppg.group_name People_Group
      ,pel.employment_category
      ,hra.location_code
      ,pet.element_name,pet.reporting_name,pec.classification_name
      ,pel.costable_type
      ,pel.link_to_all_payrolls_flag
      ,pcak1.concatenated_segments Element_Cost_Segments
      ,pcak1.segment1
      ,pcak1.segment2
      ,pcak1.segment3
      ,pcak1.segment4
      ,pcak1.segment5
      ,pcak1.segment6
      ,pcak1.segment7
      ,pcak1.segment8
      ,pcak2.concatenated_segments Balancing_Cost_Segments
      ,pcak2.segment1
      ,pcak2.segment2
      ,pcak2.segment3
      ,pcak2.segment4
      ,pcak2.segment5
      ,pcak2.segment6
      ,pcak2.segment7
      ,pcak2.segment8
      from pay_element_links_f pel
      ,apps.PAY_COST_ALLOCATION_KEYFLEX  pcak1
      ,apps.PAY_COST_ALLOCATION_KEYFLEX  pcak2
      ,pay_element_types_f pet
      ,pay_payrolls_f ppf
      ,pay_element_classifications pec
      ,per_jobs pj
      ,hr_all_organization_units hou
      ,PAY_PEOPLE_GROUPS ppg
      ,hr_locations_all hra
      where pel.element_type_id = pet.element_type_id
      and ppf.payroll_id(+)   = pel.payroll_id
      and pcak1.cost_allocation_keyflex_id(+) = pel.cost_allocation_keyflex_id
      and pcak2.cost_allocation_keyflex_id(+) = pel.balancing_keyflex_id
      and  pet.business_group_id = 0
      and pet.classification_id = pec.classification_id
      and pj.job_id(+) = pel.job_id
      and hou.organization_id(+) = pel.organization_id
      and ppg.people_group_id(+) = pel.people_group_id
      and hra.location_id(+) = pel.location_id
      and sysdate between pel.effective_start_date and pel.effective_end_date
      and sysdate between pet.effective_start_date and pet.effective_end_date
      and sysdate between ppf.effective_start_date(+) and ppf.effective_end_date(+)
      order by ppf.payroll_name,pec.classification_name
      

      Please close the message, if your problem is resolved.

      See you soon,.
      VB

    35. (Updated report) SQL query

      Is it possible to convert an existing SQL query report area to an "application SQL (editable report)? If not, where should we do to create a SQL (editable report) region?

      I had the same problem.

      The way I ended up converting my sql to a (editable report) SQL query was:

      Create a new page with the type of form and tabular presentation, run through all the steps required Wizard.

      Once done, you can go back and modify the report and paste in your original sql code.

      Worked for me.

      It will be useful.

      Jen

      Published by: munsej on August 7, 2009 08:42

    36. Column headings on PL/SQL return SQL Query report using &lt; br &gt;

      Hello
      I want to create a report region based on a function that returns a SQL query. As a dem oI created the following:
      create or replace function xxjk_retsql return varchar2
      as
      begin
      return 'select i "column header" from wwv_flow_dual100';
      end;
      I want to be able to insert a line break in the column heading so that it wraps to two lines. I tried this:
      create or replace function xxjk_retsql return varchar2
      as
      begin
      return 'select i "column<br>header" from wwv_flow_dual100';
      end;
      However, when the region is rendered, it seems to strip on the HTML tag. I also tried another tag, < i > < / i >, as a test and it is deleted also.



      Is it possible to include a pause in a header of column in this way?


      Thank you

      Hello:

      On the attributes page choose "pl/sql" for the field type.
      For the pl/sql function, write something like

      return 'top1
      bottom:top2
      bottom2:.........';

      CITY

    37. Classic report shows wrong "could not parse the SQL query: ORA-00942" error after migrating app to the new environment

      After migrating my APEX 4.1 application to a new environment, one classic report displays a "cannot parse the SQL query: ORA-00942: table or view does not exist" error when the page is displayed. Change the region to report SQL source to somehow (e.g., remove spaces, changing the order of the variables in the WHERE clause) immediately solves the problem, but by returning to the source of the region causes the report error again (the source region valid code without error, however).

      Throw the error message:

      Select v.id,

      v.Col1

      of view_vw v

      where (: P1_FILTER is null or)

      v.col2 = :P1_FILTER)

      Do not throw error:

      Select v.id,

      v.Col1

      of view_vw v

      where (:P1_FILTER is null or)

      v.col2 = :P1_FILTER)

      Changing the order of column in the report has the same effect; i.e. He arranges, but return back to the original column order causes the error to display.

      It's as if a cached result for the correct select statement used by the report is displayed. However, the application does not use the caching of page/region. Any ideas of what could be the cause?

      He solved. Ultimately, all that was necessary was to clear the DB cache using:

      alter system flush shared_pool;

    38. More than 1 SQL query with checkbox and error invalid number report

      Hi all

      I have two SQL query reports that each has an apex_item.checkbox and two processes for each report.  A report/process works very well.  It gives me an error of invalid number.

      In addition, another query SQL (editable report) gives me the following error when using the Multi line process, delete.

      ORA-06502: PL/SQL: digital or value error: character number conversion
      error ORA-06502: PL/SQL: digital or value error: character number conversion
      error
      Ok

      When I got a report from SQL query (with box and a process) and the query SQL (editable report) everything worked.  It stopped working when I added another SQL query report (with box and a process).

      A SQL query has the following in my query: apex_item.checkbox(3,email_id,'UNCHECKED') ""

      The other SQL query has the following: apex_item.checkbox(2,b.file_id,'UNCHECKED') ""

      Any help will be greatly appreciated,

      Sylvia

      Hi Reema,

      I've recreated the region and now it works!

      Thank you for this, looking at

      Sylvia

    39. Export as .xls. Classic report type: SQL (body of function from PL/SQL returning the SQL) query

      Hey guys,.

      I'm using version 4.2.6 apex. The theme is 26.

      IM also using Listener Oracle APEX.

      I can print my classic report in PDF or CSV format.

      But I need to export it as a .xls extension.

      Report type: SQL (body of function from PL/SQL returning the SQL) query

      I need is like this cause my 'where' clause type is dynamic.

      Look at using this method: Tom's Blog: a non-standard export excel 2010 (.xlsx)

      I do something similar for downloads to excel in my projects...

      Thank you

      Tony Miller
      Software LuvMuffin
      Ruckersville, WILL

    40. Cannot create the SQL query view object

      I'm having a lot of trouble to create a display of a SQL object.

      The query is as follows:

      Select CalBruker.BRUK_ID,
      CalBruker.EMAIL,
      CalBruker.ETTERNAVN,
      CalBruker.PASSORD,
      CalBruker.DATO_OPPRETTET,
      CalBruker.AKTIV,
      CalBruker.FORNAVN,
      CalBruker.ROLL_ROLL_ID,
      CalBruker.AVDE_AVDE_ID,
      CalRoller.NAVN,
      CalRoller.ROLL_ID,
      CalAvdelinger.NAVN AS NAVN1,
      CalAvdelinger.AVDE_ID,
      CalRoller.BESKRIVELSE,
      CalForlag.NAVN AS NAVN2,
      CalForlag.FORL_ID,
      CalAvdelinger.navn,
      CalForlag.navn AS BrukForlag,
      CalBruker.FRIEKS_PROSENT_GRENSE,
      CalBruker.LOGIN_NAVN
      Of CAL_BRUKER CalBruker, CAL_ROLLER CalRoller, CAL_AVDELINGER CalAvdelinger, CAL_FORLAG CalForlag
      Where CalBruker.ROLL_ROLL_ID = CalRoller.ROLL_ID AND CalBruker.AVDE_AVDE_ID = CalAvdelinger.AVDE_ID AND CalAvdelinger.FORL_FORL_ID = CalForlag.FORL_ID


      If I create a new view object and paste the SQL query in there, I get no automatic attribute mappings, and I can't understand how I'm supposed to map the attributes manually.

      Basically, I get a display without her attributes object.

      JDeveloper version 11.1.2.0

      Help if you give alias names in your columns?
      Something like:

      Select CalBruker.BRUK_ID BRUK_ID,
      EMAIL CalBruker.EMAIL,
      CalBruker.ETTERNAVN ETTERNAVN,
      ...

    41. Report of update SQL query with line selector. Update process.

      I have a report of update SQL query with the selectors in line.
      How to identify line selector in a process update on the page.

      I want to update some columns with a value of an area of selection on the page.

      With the help of the base:

      UPDATE table_name
      SET Column1 = value
      WHERE some_column = some_value

      I would need to do:

      UPDATE table_name
      SET column1 =: P1_select
      WHERE [line selector] =?

      Now sure how to identify [line selector] and/or validate it is checked.
      Thank you
      Bob

      Identify the name of the checkbox of the source of the page element, it should be of the fxx format (f01, f02... f50).
      Suppose that we f01.

      for i in 1 .. apex_application.g_f01.count
      loop
        UPDATE CONTRACTS
        SET SIP_LOAD_FLAG = :P16_STATUS
        where  =  apex_application.g_f01(i); --i'th checked record' primary key
      end loop;
      
    42. Report with the sql query area

      Hello

      I have a region in relation to the sql query. There are two regions in the page. Top of page, the user enters data and after that second data enterd to see the region, which is related region
      based on a sql query.

      Now, when this page is opned, because the user has not entered anything, region report shows the message "no data found". Is it possible to remove this message or
      may I have conditionally disaply region report IE if data are inserted only region report is dispalyed.

      Thank you

      Hello

      You can use conditions for example "Exists (SQL query returns at least one row).

      Kind regards
      Jari

Maybe you are looking for

  • anniversary of the death in the calendar (iOS, OSX)

    Hi, for some reason I would 'stay' people in my contacts/address book, even if they are deceased. I plead for an opportunity to get both shown in my calendar automatically: the birthday AND the date, there are deceased. Is there anyone who could give

  • Problem with update iOS 9.3!

    When I try to upgrade to iOS 9.3 he always tells me that I am not connected to the Internet, even though I am if it fails? What is happening with this download, never had this problem before?

  • Installation problems - HP LaserJet Pro M1132 (Windows XP)

    Hello. I have a problem. When I install drivers of CD in the "before installing the drivers' appears the window with the inscription: "Cannot install the printer. Follow these steps when you click "close". (1) make sure that the USB cable is disconne

  • I want to stop pop up auto restart after windows updated.

    I saw the direction for users of XP Home going to 'HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU', but my PC does not have the do not have the "WindowsUpdate\AU", what should I do?

  • Cannot send faxes. Message: "the message cannot be sent. Media is write protected"OS Win7 64

    I had this set up fax and work before, but had to reload windows and it has not worked since. The fax account appear to be installed and shows as connected. When I try to send a fax, the error message 'Write-protected media' appears. I have the funct