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

Tags: Database

Similar Questions

  • Report with the query with union and parameters

    Hello

    We have an obligation to create a report with the request, which is the union and parameters.

    I intend to create a database for the report based on a query. But the problem here is that the way to pass parameters in the query.

    Request is something like that

    Select x.a, x.b, x.c
    x
    where x.year =: para1
    and x.status = 'A '.
    Union of all the
    Select x.a, x.b, x.c
    x
    where x.year =: para1 - 1
    and (x.status = 'c' and x.date =: para2 or x.status = 'I' and x.date < =: para2)

    Here x.year in the first select statement must be equal to: para1 and second select statement, it should be: para - 1.

    How this requirement can be achieved?

    Client don't want to separate worksheet, a parameter and another for the actual data that I tried with sys_context and it worked. But the client wants the result in a single sheet only... So I need to change their approach.

    Help, please.

    Thank you

    Hello
    Another option is to convert the request so that you will have the items from the selection
    for example on the query you provided that you can use:

    Select 'Curr' rec_type, x.a, x.b, x.c, x.year, x.date, x.status
    x
    where x.status = "A".
    Union of all the
    Select 'Prev' rec_type, x.a, x.b, x.c, x.year, x.date, x.status
    x
    where x.status in ('c', 'I')

    then, in the workbook, you will be able to create conditions such as:
    rec_type = 'Curr' and year =: para1

    rec_type = 'Prev' and year =: para1-1
    rec_type = 'Prev' and (status = 'c' and date =: para2 or status = 'I' and date)<=>

    Tamir

  • Problem when creating a report with a date of schduled

    When I tried to create a report with a schedule (any option except now) I get the error 'Date of the first report occur must be after or equal to the current date", unless I have use a date of 01-10-2012 or later in the first report occurs on the field.  Current date is 2012-08-23.

    Let me know if you can recreate it and if or when there is a fix.

    Hi Tim,.

    We have fixed the problem now. Could you please check that you are able to schedule a report now with start date of today?

    Thank you

    The OnPlus team

  • How to create the report with check box (Update, Delete) operations

    Hi all

    I want to create report with check boxes.

    I created it based on the user's manual. But do not delete records. Please help me

    Apex. Oracle.com

    workspace: APPSGURU

    RAMBEAU. [email protected]

    P.W:rag$ 123

    Application:36232

    Page: 14

    Thank you and best regards,

    Rambeau

    Raghu,

    Request for check line deleted successfully.

    made some changes in the removal process.

    Leave.

  • Why we cannot create a folder with the name con

    Hello Sir,

    I wan't to know the reason for why we cannot create or rename a folder with the name "con" as the other folder names. But I know that we can create this type of file using cmd.
    Thank you.
    Mihir Mani prasad

    CON is a reserved word and cannot normally be used as a folder name.  This also applies to: PRN, to THE, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.

  • Create the report with the structure in obiee 11g?

    Hello

    I want to create report without data, it has the structure. the data in this report, add in the future.

    I want to show the lines of value null & coulmns in the report.

    For example, I created the table name as cs_ue_lf table.

    structure as follows. I did not insert a line any.

    err11.jpg

    I have check the table. There is no data

    err12.jpg

    I created RPD and added to the em.

    I chose the field as uncleared effects

    Drag the columns of criteria.

    err13.jpg

    In the results, I didn't not even structrue in report.

    I get the error message as 'specified criteria result no data'.

    err14.jpg

    My project requirement is

    create a report without data. only one structure (coulmns). Report have only column names. data inserts in the future.

    Please help me.

    To do this, I put properties column as "include null values.

    I tried. But I did not. Is this possible?


    Please help me,

    Thanks in advance,

    A.Kavya.

    What:

    insert into cs_ue_lf values ('foo',0,0,0,0,0)
    

    Or even a kind of Cartesian join in the RPD against a table to produce a lot of dummy data

    I wonder: why do you need this?

  • Creating a report with several models of data...

    Use of BI publisher for Word 10.1.3.4

    I'm trying to create a template in Word format with report parameters, that I created in BI Publisher.

    I created two data models, the two tables different references I need on the report itself. The question that I've seen is whenever I use the table, rowset Wizard is grayed and only the default data model (sql query) can be used.

    I looked around and was unable to find a solution to this.

    Hello

    You must set as main data Source of concatenated dataset. Otherwise, only one set of data is used.

    Concerning
    Rainer

  • Problem with Apex 5.0 report with a query that runs in SQL Developer

    Hello

    I have a query that runs in SQL Developer without problem, but when I use it in a classic report, it displays following:

    error report:

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


    The query is:

    select 
     T1.ID_ATTACHMENT, 
     T1.BLOB_CONTENT, 
     T2.ATTACH_CATEGORY, 
     T1.FILENAME, 
     T1.ATTACHMENT_DESCRIPTION 
    from ATTACHMENTS T1
     LEFT JOIN REF_ATTACH_CATEGORIES T2
      ON T1.ATTACHMENT_CATEGORY = T2.ID_ATTACH_CATEGORY
     WHERE T1.ID_ATTACHMENT IN
      (SELECT ID_ATTACHMENT FROM REL_ATTACHMENTS
       WHERE REL_PART_ID = 1
       AND REL_ID = 64146);
    


    And the output of SQL Developer is:

    2015-08-12_01-03-36.png

    I have following Setup for the BLOB_CONTENT column in the classic report:

    2015-08-12_01-06-25.png

    Any ideas what is causing this problem?

    Thanks in advance,

    Sergio


    I don't have notes with me, but I think that the content of the blob must be selected as:

    DBMS_LOB. GetLength (blob_content) as blob_content

    and check that you have included the primary key in the results.

  • HP ProLiant DL160 - cannot create the data with local storage (controller, no RAID) store

    Hi all. I appreciate your time and comments.

    Using VMware ESXi (initially), installation (VMware ESXi 5.5.0, 1331820) will very well (install on USB). Able to enter in the console of the vSphere Client, everything seems normal. Any attempt to use local storage, however, is filled with this error message: http://i.imgur.com/40ySsOS.png

    "It was not correct to specified parameters. Vim.Host.DiskPartitionInfo.spec"-" 'HostStorageSystem.ComputerDiskPartitionInfo' call for object 'storage system' on ESXi "< ip address >" failed. "

    I tried both the base (from VMware) installation disc and the "Custom" (HP) HP installation disk. Both have the same problem: all facilities, but local disks - as seen while - are not able to serve local storage. It worked very well (previous incarnation was as Server 2003 file server, no reported\noticed questions). It's not under warranty, its going to be used as a laboratory server. All this seems to work well.

    Specifics:

    HP DL160 G6

    Storage card: ICH10 6 Port SATA AHCI Controller

    Discs: 3 G MDL 500 GB 7200

    Controller and the disks are perceived by the system: http://i.imgur.com/3PAKQHL.png

    Can someone point me in the right direction on what to go here? Research on the error messages do not lead to a lot of help. I'll get more pending. I would be grateful.

    This could be a problem with the current data on the disk. I suggest clean you the partition info using the DD explained to the KB VMware: Troubleshooting in the add storage Wizard error: cannot read this disk partition information to see if that solves the problem.

    André

  • create a report with other reports

    Hello

    Foglight 5.6.4 can we create a new report that includes some other reports:

    newreport = Report1 + I2 + report3

    ?

    If yes how?

    In the properties of the Report1, Report2 and report3, make sure that you have 'Share this report and allow it to be included in other reports' enabled.

    Once this switch is activated, you can incorporate these reports in other reports.

    Kind regards

    Brian Wheeldon

  • Cannot create a VMDK with a size greater than 600 GB on NFS storage

    Hi guys,.

    My institutes use for vSphere, ESXi 4.1U2 with vCenter 4.1 with the based BlueArc storage NFS. Recently, I tried to create a virtual machine with a 900 GB drive. But the operation could not say there is Error Input/ouput. Of the hostd.log, I found:

    ~ # cat /var/log/vmware/hostd.log | grep gagri
    snapshotDirectory = "[gagri_10G_VMPool01]"
    [05-11-2012 14:27:07.431 21F40B90 info 'VmDiskMgr' opID = D2819F21-0003B52F-30] For drive [gagri_10G_VMPool01] new Machine virtual/New Virtual Machine.vmdk, disc creation error: input/output error

    I did several tests and found that any less than 600 GB size is fine.

    Later, I SSH to the ESXi host directly and tried to created a 900 GB VMDK via vmkfstools, surprisingly, it is created without error.

    So I was wondering if there is a bug with vCenter?

    Kind regards

    Derrick

    With ESXi 4.1 Update1, we have a fix for the creation of 1 TB of VMDK on NFS. Maybe you can check the setting below if it helps

    Creation of large hard on NFS files may fail
    When you create a virtual disk (filehard ) with a large size, for example, more than 1 TB, NFS storage, the creation process may fail with an error: a general error has occurred: unable to create the disc: the disc creation error. This problem occurs when the NFS client does not wait for enough time for the storage array NFS to initialize the virtual disk after that the NFS client RPC parameter is to expire. By default the time-out value is 10 seconds. This hotfix provides the configuration option to set the RPC timeout setting using the esxcfg-advcfg- s/NFS/SetAttrRPCTimeout command.

  • Cannot create User.xml with weblogicExportMetadata.sh in IOM 11 GR 2

    I want to export the user.xml file using the shell of $OIM_ORACLE_HOME/server/bin/weblogicImportMetadata.sh file.
    I put all the necessary attributes for the file weblogic.properties:
    When executing the shell I get UNIX path below:
    but the file is not created is in the specified location, no help please...
    WebLogic Scripting Tool (WLST) initializing...

    Welcome to WebLogic Server Administration scripts Shell

    Help() type help on the available commands

    From script to export metadata...
    Please enter your username: *.
    Please enter your password:
    + Please enter the URL of your server [t3: / / localhost:7001]: t3: / / localhost:7001.
    T3 connection: / / localhost:7001 with username weblogic...
    Connected to the Server Admin "AdminServer" which belongs to the domain "oimdomain".

    WARNING: A non-secure protocol was used to connect to the
    Server. To ensure the safety of on-the-wire, the SSL port or
    Admin port should be used instead.

    Now to the tree of domainRuntime. It is a tree read-only with DomainMBean as the root.
    For further assistance, use the help (domainRuntime)


    Disconnected from the weblogic server: AdminServer
    End of metadata export script...


    Leaving WebLogic Scripting Tool.

    Published by: 955130 on August 29, 2012 04:58

    What is the location specified in the properties file? Try using /file/User.xml

  • Cannot create PDF files with adobe acrobat 8 professional on windows 7

    I ran acrobat 8 Professional on Windows 7 64 bit. I can only create PDF files when you are logged on as administrator. I tried to add the user to the Administrators group, but still have the same problem. The system locks just after adobe promts me to the name of the file, I provided file name, click on save and it crashes when displaying the "" print message "»

    Any ideas?

    Thank you

    Fernando

    Acrobat 8 Pro is not compatible with Win 7 - especially for the creation of PDF files.

  • Cannot create the file with EclipsePlugin .cod

    Hello

    I don't know how to describe it. I installed Eclipse plugin, JDE 4.5.0_4.5.0.16 and then updated to JDE plugin 4.7.0_4.7.0.46 (because I need the latest JDE packages so I can use ApplicationIndicator).

    But now when I'm trying to compile or create a .cod file (Eclipse: Project / Build active Configuration of BlackBerry) I get this error message:

    Executing rapc for the project BirthdayReminder at Mon Jun 08 09:28:07 CEST 2009.
    C:\Programme\eclipse\plugins\net.rim.eide.componentpack4.5.0_4.5.0.16\components\bin\launcher.exe C:\Programme\eclipse\plugins\net.rim.eide.componentpack4.5.0_4.5.0.16\components\bin\rapc.exe  -quiet import=..\..\..\..\Programme\eclipse\plugins\net.rim.eide.componentpack4.5.0_4.5.0.16\components\lib\net_rim_api.jar;..\..\..\..\Programme\eclipse\plugins\net.rim.eide.componentpack4.7.0_4.7.0.46\components\lib\net_rim_api.jar codename=..\BirthdayReminder\BirthdayReminder ..\BirthdayReminder\BirthdayReminder.rapc -sourceroot="C:\Dokumente und Einstellungen\xxx\workspace\BirthdayReminder\src" "C:\Dokumente und Einstellungen\xxx\workspace\BirthdayReminder\bin"
    ..\..\..\..\Programme\eclipse\plugins\net.rim.eide.componentpack4.7.0_4.7.0.46\components\lib\net_rim_api.jar(net_rim_bb_addressbook.cod): Error!: Duplicate definition for 'net.rim.device.apps.api.addressbook.AddToAddressBookContext' found in: ..\..\..\..\Programme\eclipse\plugins\net.rim.eide.componentpack4.5.0_4.5.0.16\components\lib\net_rim_api.jar(net_rim_bb_addressbook.cod)
    rapc failed for the project BirthdayReminder
    

    I don't know how to fix this... Why are there at - it a method definition duplated in the container of the RIM?

    I'm sorry - I solved it this problem for me.

    After update eclipse to 4.7.0.46, you need to uninstall the 4.5.0.16 package caraa. After a restart of eclipse, the new 4.7.0.46 package will be selected for the compilation and no error will be thrown.

  • Cannot create the VPN with partner

    Our Organization is trying to upgrade the equipment we use to establish a VPN connection with our partner.

    The old material is a Cisco 2811 router (OldCore) and the new is a 4431 (NewCore) from Cisco.

    The partner uses a Sonicwall device at the other end for the vpn connection. The VPN between the OldCore and the Sonicwall device works fine. However, when we are trying to replace the OldCore by the NewCore, the VPN connection does not come to the top. I checked the settings and they are all the same for OldCore and NewCore. Partner says that they have configured anything on their end that could cause this problem.

    result of "sh cry isa his"the NewCore wrote.

    IPv4 Crypto ISAKMP Security Association
    DST CBC conn-State id
    XX.xx.xx.xx yy.yy.yy.yy MM_NO_STATE ACTIVE 0
    XX.xx.xx.xx yy.yy.yy.yy MM_NO_STATE ACTIVE 0 (deleted)

    When I disconnect NewCore and replace it with the OldCore, the vpn connection comes back up without any problem.

    A strange thing is that I can ping the public ip of the partner OldCore (public interface) device form but not of NewCore (public interface). However, I can ping the public ip address of the inside interface of NewCore associated device form.

    Someone had this problem? How did you solve this problem?

    Hello

    You might want to consider configuring NAT to the new kernel. You can also run suite debugs as he tried to set up the new router tunnel of kernel by sending valuable traffic to the VPN.

    debug the cond cry counterpart ipv4

    debugging cry isa

    debugging ips cry

    When debugging is collected, type "undebug all.

    HTH

    Averroès.

Maybe you are looking for