Can I rotate without clause?


Hi Experts

I just want to rotate the 1 column. I have only 1 column, but the number of lines can be changed (3, 4, 5, 6, etc.). I want to tilt it. However, due to I don't know the line number, I want to switch it automatically. Can I do it?

Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production

Select distinct cit. ITEMID

OF ICJ, CUSTINVOICETRANS CIT CUSTINVOICEJOUR

WHERE - ICJ. INVOICEDATE BETWEEN? P_START_DATE? AND? P_END_DATE?

ICJ. INVOICEDATE BETWEEN to_date ('23.06.2014') and to_date ('23.06.2014')

AND SUBSTR (NLS_LOWER (ICJ. AVORDERTYPE), 1: 21) IN (SUBSTR (NLS_LOWER('01'), 1, 21), SUBSTR (NLS_LOWER('09'), 1, 21))

AND SUBSTR (NLS_LOWER (ICJ. DATAAREAID), 1, 7) = SUBSTR (NLS_LOWER('201'), 1, 7)

AND SUBSTR (NLS_LOWER (ICJ. REFFACTURE), 1, 43) = SUBSTR (NLS_LOWER (CIT. REFFACTURE), 1, 43)

AND SUBSTR (NLS_LOWER (ICJ. DATAAREAID), 1, 7) = SUBSTR (NLS_LOWER (CIT. DATAAREAID), 1, 7)

AND SUBSTR (NLS_LOWER (ICJ. NUMBERSEQUENCEGROUP), 1, 51) = SUBSTR (NLS_LOWER (CIT. NUMBERSEQUENCEGROUP), 1: 51)

AND THE ICJ. INVOICEDATE = CIT. INVOICEDATE

and CIT. AVMONITORTYPE = "SU".

and CIT. AVMONITORID = '2353544'

and CIT. AVSUBTYPE! = '0'

ITEMID

------------

1624100

1501900

8105315

8834100

0162100

1518200

9187300

3061100

This is something like the following, but I can't use in the clause ('1624100' field1, Field2 '1501900', 'field3 8105315', '8834100' field4, sphere5 ' 0162100', 1518200' case field6, 9187300' field7, 3061100' field8), because this query will be a scalar query under each time to extract different ITEMID and they should be horizantal display.

Select * from)

Select distinct "dummy" dummy, CIT. ITEMID

OF ICJ, CUSTINVOICETRANS CIT CUSTINVOICEJOUR

WHERE - ICJ. INVOICEDATE BETWEEN? P_START_DATE? AND? P_END_DATE?

ICJ. INVOICEDATE BETWEEN to_date ('23.06.2014') and to_date ('23.06.2014')

AND SUBSTR (NLS_LOWER (ICJ. AVORDERTYPE), 1: 21) IN (SUBSTR (NLS_LOWER('01'), 1, 21), SUBSTR (NLS_LOWER('09'), 1, 21))

AND SUBSTR (NLS_LOWER (ICJ. DATAAREAID), 1, 7) = SUBSTR (NLS_LOWER('201'), 1, 7)

AND SUBSTR (NLS_LOWER (ICJ. REFFACTURE), 1, 43) = SUBSTR (NLS_LOWER (CIT. REFFACTURE), 1, 43)

AND SUBSTR (NLS_LOWER (ICJ. DATAAREAID), 1, 7) = SUBSTR (NLS_LOWER (CIT. DATAAREAID), 1, 7)

AND SUBSTR (NLS_LOWER (ICJ. NUMBERSEQUENCEGROUP), 1, 51) = SUBSTR (NLS_LOWER (CIT. NUMBERSEQUENCEGROUP), 1: 51)

AND THE ICJ. INVOICEDATE = CIT. INVOICEDATE

and CIT. AVMONITORTYPE = "SU".

and CIT. AVMONITORID = '2353544'

and CIT. AVSUBTYPE! = '0'

) pivot)

min (dummy) to ITEMID

in (sphere5 '1624100' field1, field4 '1501900' Field2, field3 ' 8105315 ', 8834100', '0162100',

Field8 'case field6 1518200', '9187300' field7, 3061100')

);

Can I do without? I mean, can't I Flip Vertical rows in horizantal with automatic transmission? Because I don't know the field values whenever it changes automatically.

LISTAGG function

Tags: Database

Similar Questions

  • How can I rotate a picture of any Word 90 °?

    I'm working on a document that contains hundreds of paintings, mostly adapting very well in portrait mode. However, a number of them have too many columns to fit any direction but the landscape. How can I rotate the pictures 90 ° without having to completely recreate the table in InDesign. All I see is the ability to rotate the text in a cell, which does not solve the problem.

    Set the table in its own frame and rotate the image.

  • Rotation without danger in Indesign Server

    Hello

    In the past I had some problems with rotation of images during an import of a page, because a user manually operated the anchor and all images with angle of rotation rotating out of position. I could fix with the old state record, the development of anchor in the Middle, import and put the anchor point to the default value of the user:

    var curTransformationPoint = app.layoutWindows [0] .transformReferencePoint;

    .

    .

    .

    app.layoutWindows [0] .transformReferencePoint = AnchorPoint.CENTER_ANCHOR;

    Everyone knows how Indesign server (CS3) working these things? Is the point of achor in Indesign server always on by default (I think at the top left) or is there another way to solve rotations without danger?

    Thank you

    Hi Kay,

    You can always use anchor points - but you use the anchor points of the object, not the anchor points of the proxy in the transform or control panel. Here's something that might be useful (the part "mySnippet" is the section you are interested in, the rest is implemented):

    main();

    main() {} function

    mySetup();

    mySnippet();

    }

    function mySnippet() {}

    myRectangle var = app.documents.item (0).pages.item (0).rectangles.item (0);

    var myTransformationMatrix = app.transformationMatrices.add({counterclockwiseRotationAngle:0});)

    rotateMatrix may take the following parameters: byAngle, byCosine, bySine;

    Replace the current matrix by the rotation matrix.

    myTransformationMatrix = myTransformationMatrix.rotateMatrix (15);

    myRectangle.transform (CoordinateSpaces.pasteboardCoordinates, AnchorPoint.centerAnchor, myTransformationMatrix);

    }

    function mySetup() {}

    app.transformPreferences.whenScaling = WhenScalingOptions.adjustScalingPercentage;

    myDocument var = app.documents.add ();

    myDocument.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points;

    myDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points;

    myPage var = myDocument.pages.item (0);

    myRectangle var = myPage.rectangles.add ({geometricBounds: [72, 72, 144, 144]});

    myDocument.zeroPoint = [108, 108];

    }

    Thank you

    OLE

  • My reminderfox module missing after firefox update. How can I reinstall without losing any data?

    my module of Fox reminder disappeared after updating firefox. I can install this add-on again, but then I lose all the data that existed before the update. How can I reinstall without losing any data?

    Back up your ReminderFox data before reinstalling. This is stored in a separate file in the folder of the parameters active Firefox (also known as your Firefox profile folder). You can find this file by using a button on the page of troubleshooting information. Either:

    • Help > troubleshooting information
    • type or paste everything: in the address bar and press Enter

    In the first table, click on "view file". Look for a folder named reminderfox and copy it somewhere safe.

    More information: http://www.reminderfox.org/documentation-faq-troubleshooting/#r5

  • Hi, I have an imac. Sometimes I can't open without a lot of effort. But it is not completely closed, because suddenly opens again.

    I have a computer. Sometimes I can't open without a lot of effort. But it is not completely closed, because suddenly opens again.

    I'm sorry, but I don't understand what you're asking.  On the surface, it looks like you have some issues regarding physically open the lid of your laptop.  But given that Mac laptops are pretty easy to open, I think that maybe there is an application that will not start.

    If you could expand a bit more on what he wants you're all this, maybe someone can offer assistance.

    What Mac do you have?

    If you are physically problems open, specify.

    If you have problems to open an application, please let us know what application (or applications).

    If applications, are there any error messages displayed, and if yes, what is the "wording".

    It could be useful as you tell us what is your ultimate goal, that will help us to fill in gaps in the description of your problem.

    If it's hard to describe, so if you have an Apple Store nearby, you can take a go-Genius Bar and demonstrate the genius of Apple what your problem is.

  • I have firefox clear history when it closes and it clears my exceptions to pop up windows whenever it closes. How firefox can erase history without deleting the exceptions to the pop-up windows?

    I have firefox clear history when it closes and it clears my exceptions to pop up every time it closes. How firefox can erase history without deleting the exceptions to the pop-up windows? Allow this makes it difficult to play of Facebook games like farmville, because I have to allow him every time, and I have to type in rather than it to automatically. Thank you, Jamie

    Do not remove the navigation, search and download history on Firefox to clear the "Site preferences".

    Compensation of the "Site Preferences" clears all exceptions for cookies, images, windows pop up, installation of software and passwords.

  • My friend wants to re-establish its MacBook Air can do this without losing all the files on his iPhone?

    My friend wants to re-establish its MacBook Air can do this without losing all of its files on its iPhone, as they are related?

    Two different devices. She is fine as long as she has a full backup. Why she wants to do? Writing an effective communities of Apple Support question.

    Basic steps to follow for a clean install of OS X Lion and later

    Install or reinstall OS X from scratch

    Make sure that you have backed up your files because the following procedure will remove all of the hard drive.

    HD recovery start:

    Restart the computer and after the buzzer, press on and hold down the COMMAND and R until the menu screen appears.

    Erase the drive:

    1. select in the main menu disk utility and click on the continue button.

    2. once the charges of THE select your boot volume (usually Macintosh HD) in the

    list on the left. Click on the Erase tab in the main window of THE.

    3. set the type of format Mac OS extended (journaled). If necessary, click

    Security and button all the option data from scratch in a single pass. Click

    the clear button and wait until the process is complete.

    4 leave FROM and return to the main menu.

    Reinstall OS X: Select reinstall OS X and click on the install button.

    Note : You will need an active Internet connection. I suggest to use Ethernet if possible

    because it is three times faster than wireless.

    This should install the version of Mac OS X that you had installed it.

  • I dropped my iPhone 4S and now the touchscreen does not work. Is there a way I can fix it without having to buy another or should I buy another?

    I dropped my iPhone 4S and now the touchscreen does not work. Is there a way I can fix it without having to buy another or should I buy another? (my screen is cracked)

    From what I see, Apple does not screen repair for any older than the iPhone iPhone 5. I don't see off-warranty, replacement cost for 4 on their page of repair, but I'm figuring you would spend at least $200 to get a new.

    Would be better to see if your cell phone operator has the options of upgrade for you.

    ~ Lyssa

  • I have a hp pavilion ze4200 laptop and he asks me to open a session with a password, inever due do this to see my front windows stuff how can I me without a password?

    I have a hp pavilion ze4200 laptop and he asks me to open a session with a password, inever due do this to see my front windows stuff how can I me without a password?

    Hello

    It is not possible to connect to the computer without entering the username and password...

    You can create a new user account and leave the section blank password... in this case it will not lead to enter the password.

  • HP4215 printer can be used without phone connection if want to print, scan or copy

    Have a HP4215 printer that has not been used for a few years. Keep allow the family member, who use only a cell phone, and an old Apple laptop for 1 year, to be able to use it to print, scan and copy only - no fax.  If it downloads the driver, and hooks the USB, the printer can be used without a line of phone being installed?

    Hello

    Yes, given the portable computer Apple has USB ports, you can connect your printer to the laptop via a USB port, but you will not be able to print from cell phone. If you want to print anything from cell phone, the quick and easy way: send or copy on the laptop from Apple to print.

    Kind regards.

  • Windows XP 30 deadline has expired and I can't upgrade to Windows Vista. How can I upgrade without destroying my entire system?

    I'm trying to upgrade my addition to the XP Home to windows Vista?

    As it is said above... I tried to upgrade my computer to a version of windows vista an addition to the windows XP Home. I ran out of time on the "30 day trial" of XP because my product code does not work for some reason any. Because I can't on my desk, it seems so I can't upgrade to vista. Is it possible that I can do this without completely wipe my computer and reinstalling vista?

    Hello

    You can follow these links and check if the problem persists:

    How to prepare to upgrade Windows XP to Windows Vista?

    Upgrade Windows XP to Windows Vista

    To activate Windows Vista, you can follow this link:

    How to activate Windows Vista?

    Hope the helps of information.

  • old security updates can be removed without disturbing the system?

    old security updates can be removed without disturbing the system?

    old security updates can be removed

    NO.

    See the Shenan Stanley response to a previous post:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_xp-windows_update/can-i-safely-delete-old-Windows-security-updates/c63db7fd-bf2a-4179-9d83-981fb41ca823>

    UTC/GMT is 15:43 on Saturday, February 25, 2012

  • can't rotate pictures in the windows fax and picture viewer

    I can't rotate my JPEG images in Windows Picture and Fax Viewer, I tried a number of different solutions, but none worked. Whenever I try to rotate an image saved on my memory stick it freezes.  I also unchecked read-only and it reacts always not also tried using this command "" REGSVR32 SHIMGVW. "." DLL' reacts always do not. Please help thanks

    When I copied a photo on my desk, it was easy to turn. I also tried another USB port, but it does not work. I tried system restore which did not work.

    Copy all of the USB drive.

    Format.

    Copy everything back.

    What is then?

  • I recently downloaded Windows XP and he tells me is not passed windows genuine. How can I spend without having to buy it again?

    I recently downloaded windows xp and he tells me is not passed windows genuine. How can I spend without having to buy it again?

    It is likely that if you have downloaded XP a purchase, that it's a forgery, because MS has not sold XP Download drink for years.

    As says Carey - we need to check it out...

    To analyze and solve problems for Activation and Validation, we need to see a full copy of the report produced by the MGADiag (download and save to the desktop - http://go.microsoft.com/fwlink/?linkid=52012 ) tool
    Once saved, run the tool.
    Click on the button continue, which will produce the report.
    To copy the report in your response, click the button copy in the tool (ignore the error at this stage), and then paste (using r-click and paste or Ctrl + V) in your response.
    -* in your own thread *, please

    Please also state the Version and edition of Windows cited on your COA sticker (if you have one) on the case with your machine, but do NOT quote the key on the sticker!
     http://www.Microsoft.com/howtotell/content.aspx?PG=COA

  • In Windows XP, the $ntUninstall directories can be deleted without causing problems.

    I have Windows XP SP3 POS PC in our retail store lcocations.  These machines have a slightly smaller boot partition.  My question is, when you install updates from Microsoft, it creates an uninstall directory in the Windows directory.  So Windows XP, $ntUninstall directories can be deleted without causing problems or causing previous updates to be reinstalled.

    I have Windows XP SP3 POS PC in our retail store lcocations.  These machines have a slightly smaller boot partition.  My question is, when you install updates from Microsoft, it creates an uninstall directory in the Windows directory.  So Windows XP, $ntUninstall directories can be deleted without causing problems or causing previous updates to be reinstalled.

    The article at the link below gives a detailed explanation of the $ntUninstall directories. This should you guide as to whether or not you can remove folders.

    http://ask-Leo.com/can_ntuninstall_folders_be_deleted.html

Maybe you are looking for

  • CD/DVD drive does not work on my Satellite L300D

    Hi all* I have Toshiba Satellite L300D laptop and my OS is Windows Vista.*I don't have any driver cd... when buying. They ask me to download from internet if any necessary driver software.Now if I put a cd/dvd is not readable. The option of cd/dvd dr

  • Envy 15 computer laptop k000nx - we haven't found devices wireless on this pc

    Hi all I have a problem with my devices wireless on my Hp envy 15 computer laptop k000nx - 8.1 Windows I tryied many ways to activate the network wireless by reinstalling the drivers from the hp site and disable airplane mode. even when I use the Tro

  • Driver.cab and other files copy

    well hoping that someone can help because I'm lost... two weeks that ag has a virus that struck my notebook bad, then last night, that I decided re - install windows xp using the cd, everything has started big until the computer failed to copy some f

  • Hard drive - Remove Metadata?

    I recently reinstalled Windows XP Home Edition on an old laptop when replacing the hard drive.  All updates have been installed.  After about a month of 'perfect performance', I think the hard drive now has as many metadata on it because it has "norm

  • Behance is awesome!

    How can I have other creative come and see my portfolio on behance?