If I stopped account, no data displayed

Hello!

I use JDeveloper 11 g Release 2 (11.1.2.3.0).

I have create a VO with SQL Query DataSource. The request is the follwing one:
SELECT COUNT (*),
         Brand.BRA_NAME,
         Model.MOD_NAME
FROM Sale,
         Car,
         Brand,
         Model
WHERE ( (Sale.SALE_CAR_ID = Car.CAR_ID) AND (Car.CAR_BRAND_ID = Brand.BRA_ID)) AND (Car.CAR_MOD_ID = Model.MOD_ID)
GROUP BY Brand.BRA_NAME, Model.MOD_NAME;
I want that when the data is displayed in a read-only table, it shows ordered by Count (count Maximum at the top) and minimum in the last.

If in my query, I put ORDER BY DESC of '' COUNT' ' (*), no data is displayed in the table.

What I am doing wrong?

Thanks in advance!

Hello

Marcccc wrote:
Hello!

I use JDeveloper 11 g Release 2 (11.1.2.3.0).

I have create a VO with SQL Query DataSource.

What is a VO?

What I am doing wrong?

Whenever you have a problem, after a complete test script that people can run to recreate the problem and test their ideas.

'ORDER OF COUNT (*)' works well for me:

SELECT       COUNT (*)
,       job
FROM       scott.emp
GROUP BY  job
ORDER BY  COUNT (*)     DESC
;

Output:

` COUNT(*) JOB
---------- ---------
         4 CLERK
         4 SALESMAN
         3 MANAGER
         2 ANALYST
         1 PRESIDENT

Usually, people give aliases (e.g. emp_cnt in the example below) for calculated columns. These aliases can be used in the ORDER BY clause, like this:

SELECT       COUNT (*)     AS emp_cnt
,       job
FROM       scott.emp
GROUP BY  job
ORDER BY  emp_cnt     DESC
;

but that is not mandatory.

Tags: Database

Similar Questions

  • the calendar on desktop gadget no longer date display.

    I have the calendar on dektop gadget and other gadgets and they has of worked but all suddenly stopped showing calendar date it was just empty. I clicked the x to get rid of him, then obtained and added to office still will not display date. I rebooted comp and it did not fix it?

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    See you soon.

    Mick Murphy - Microsoft partner

  • iCloud for windows has stopped working - no data showing. Everyone knows this? Found a fix?

    iCloud for windows has stopped working - no data showing. Everyone knows this? Found a fix?

    I've recently upgraded to a Windows 10 laptop and have had problems with iCloud.  I can't access the photos at all - old hard drive Windows 7 accesses as before, except all my original photos (not Photostream - in folders) seem to have been deleted but it is now downloading Photostream when I activated my new laptop, but only back until June 2015.  However, other data seems OK - contacts, calendar, notes, etc.

  • Create a button to erase/reset the data displayed in the graph

    Hello

    I'm new here and to work with labview. I searched the Forum but have not found an answer that would help me (or at least I think I thank)

    I'm working on a project to acquire process an ECG signal with an acquisition of data. In the front panel, I am trying to display 2 graphics, part of the real-time data display and the other showing all the data acquired up to now. I wanted to add a button to this second graph that, when the user wanted, deleted the data shown in the graph, but immediately continued to display the data.

    (trying to make me more clear)

    ' display all the data acquired--> X--> cleans graphic display--> press the button display all acquired data.

    If someone could help, I would be very grateful!

    Thank you very much

    FM

    Hi fred,.

    Open the finder example in LabVIEW and locate the example of 'how clear diagrams & graphics '.

    Pretty easy, don't you think?

  • igfxext module has stopped working message is displayed at the start of Windows 7. What is c?

    igfxext module has stopped working message is displayed at the start of Windows 7.  What is this and how can I fix?

    Hi Bob Bala.


    Thanks for asking this question to Microsoft Community!

    As I understand it you receive a startup message all to connect to the computer.

    He would be grateful if you can answer these questions to help you further.

    1. have you made changes on the computer before this problem?
    2. What is the brand and model of your computer?

    I would suggest trying the following methods and check if it helps.

    Method 1:

    You can try to check if the problem occurs in safe mode and check if it helps.

    Method 2:

    If the problem does not exist in Mode without failure, then try to put your computer in a clean boot state.

    By setting your boot system minimum state helps determine if third-party applications or startup items are causing the problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or Windows 7:

    http://support.Microsoft.com/kb/929135

    Note: After the boot minimum troubleshooting step, follow step 7 in the link provided to return the computer to a Normal startup mode.

    Thanks for posting the results and let us know if you need help to solve the problem and we will be happy to help you.
     
  • My cc of dreamweaver does not link, server behaviors and data display

    My cc of dreamweaver does not link, server behaviors and data display

    Hello

    Please read this thread-

    https://forums.Adobe.com/thread/2139846

  • It is stated that my account renewal date 30/11/2015, can I ask for cancel now?

    It is stated that my account renewal date 30/11/2015, can I ask for cancel now?

    my adobe ID is < moderator signatures Email and your personal informationpersonal information >

    Thank you
    Nayla

    You may please check out the link below for instructions on cancellation.

    Cancel your membership creative cloud

    For more information you can contact the Support from Adobe by clicking on the link below.

    Contact the customer service

    Please make sure that you are connected to the right Adobe ID.

    Hope this will help you.

    Kind regards

    Hervé Khare

  • The MTS file date display information on screen time in CC PP

    I need to display the timestamp from date of the MTS files so I can see them in PP CC15. Is it possible to get rid of it within the program? Now, I have to do it in another program and then import the file. Takes too much time this way.

    Premiere Pro does not have this feature.  The closest you can get is display the timecode for clips that have it.  If these clips were recorded using Free Run, that would give you a time, but there is no way to see the date displayed in an overlay.

  • How to find / search the text in a table of data displayed in adobe flash player?

    I have a table of data displayed on the browser, but with Adobe Flash Player UI technology. CTRL + f does not work on the table to find a specific word in the table.


    What are alternates, you ask? or all the other shortcuts are available to search or search the text in such a case?

    Thank you.

    There is no good workaround solution.  The developer would have needed to implement a similar feature in their Flash application, or they would have needed to use StageText (which essentially exposes the native textfields), but it seems that they have neither.  The HTML TextField is certainly more robust and functional of the Flash, and honestly, HTML is probably a better choice of technology for what you describe.

  • Date display

    Hi, I have a small display problem my date in the format that I have chosen. In access, I chose for my type of date is "Long Date" that could be, for example:

    May 29, 2006 (something more or less like that)

    but when I view it, its be shown like this:

    2006-05-29 23:01:03.0

    as a test I tried to change the date format "Short Date" access which should look something like this:

    29/05/2006

    but when I went to see on the Web page again, it looked like:

    2006-05-29 23:01:03.0

    I don't know why this is happening, is does anyone know how I can fix this problem that the date could be demonstrated how I view in access? I appreciate any help anyone could give, thank you!

    WOLFcfm wrote:
    > I don't know why this is happening, is does anyone know how I can fix this problem if the
    > date could be shown how I displayed it in access? I appreciate any help that
    > could someone give, thank you!

    for the purposes of the display date


    #dateFormat (dateValue, dateMask) #.

    where dateMask controls the shape, LONG, FULL, MEDIUM, SHORT or something
    custom (for example "dd-mmm-yyyy").

    If you need localized date display, use lsDateFormat & recommend your stay with
    the standard LONG, FULL, MEDIUM, SHORT date masks.

  • Delivery Manager stopped working message is displayed while I use my player account in sky

    When I use my sky player account is to be the message Delivery Manager has stopped working displayed.i contacted the holder of technique of player sky who inform me that the problem is due to Microsoft Silverlight.The only solution so far is to uninstall and reinstall Silverlight, which happens every day, can anyone help with this problem.

    Hello

    Welcome to the Microsoft Vista answers Forum!

    You can try the steps below and check if the problem is resolved.

    Step 1: Clean clean boot.

     

    1. click on start, type msconfig in the search box and press ENTER.

    The user account control permission.

    If you are prompted for an administrator password or confirmation, type

    password, or click on continue.

    2. in the general tab, click Selective startup.

    3. under Selective startup, clear the check box load starting points.

    4. click on the Services tab, select the hide all Microsoft Services check box, and then click Disable all.

    5. click on OK.

    6. When you are prompted, click on restart.

    7. after the computer starts, check if the problem is resolved.

    If the problem is resolved to check what is the cause of the problem, referring to the link given below:

    http://support.Microsoft.com/kb/929135

    Also, you will need to uninstall and reinstall the software problem on your computer.

    Reset the computer to start as usual

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:

    Click Start, type msconfig.exe in the start search box and press ENTER.

    If you are prompted for an administrator password or for confirmation, type your password, or click on continue. On the general tab, click the Normal startup option, and then click OK.

    When you are prompted to restart the computer, click on restart.

    Note: After you determine the startup item or the service that is causing the problem, contact the manufacturer of the program to determine if the problem can be solved. Or, run the System Configuration utility, and then click to clear the check box of the element of the problem.

    Also: if you have the Kontiki software or Silverlight installed on your computer you can uninstall it and look for the question.

    Hope this information is useful.

    Thank you, and in what concerns:

    Suresh Kumar-Microsoft Support.

    Visit our http://social.answers.microsoft.com/Forums/en-US/answersfeedback/threads/ Microsoft answers feedback Forum and let us know what you think.

  • How to stop "the transfer of video data" display on Twitch full screen?

    When switching to full screen when viewing a stream of shaking, a collection white/status box appears in the lower left corner of the saying of the screen "to transfer video data. "# {a kind of address}.
    Passage of the mouse causes the box to reach the bottom right.

    This does not happen to contract full screen in other browsers (IE and Chrome)

    Found, with the help of reddit.com/r/firefox/
    Mode full-screen status-4-Evar/advanced/Detect uncheck...

  • Shows IMAP account email date of download to Thunderbird, while in Outlook, the date is properly

    I noticed that there is a difference in the date of e-mail displayed in Thunderbird (the account as IMAP configuration) compared to the same date by email in Outlook (POP account setup). See attachment.

    Last night my vision was open when I got an email. Later that night, I open Thunderbird and have downloaded the same email but the time displayed is not real time, that the mail has been sent - it was the era of that email was recovered by Thunderbird! I have not seen this King of behavior among other customers of mail before, and I am puzzled. FYI, I use different e-mail clients for different sets of e-mail accounts (professional vs. personal) but a couple of e-mail accounts are on two email clients.

    Below you will find the (under the direction of the Security/Privacy) source for the e-mail in question. You will notice that the time indicated by Thunderbird is nowhere in the source of the e-mail.

    Return-Path: [email protected]
    Delivered-To: [email protected]
    Received: abc_esa1.abc.mu (mail.abc.mu [196.xxx.xxx.xxx])
    by server1.arvixe.com with ESMTP
    ; Monday, August 17, 2015 06:18:42-0800
    X IronPort-Anti-Spam-filtered: true
    X-IronPort-Anti-Spam-result: xxx
    X OPI-result: xxx
    IronPort X-AV: E = Sophos; I = "5.09,448,1418068800";

      d="scan'208";a="1078744"
    

    X-Amp-result: clean
    X-Amp-file-download: false
    Received: eservices3.abc.mu (HELO abc-svrv246-vm) ([192.168.xxx.xxx])

     by abc_esa1.abc.mu with ESMTP; 17 Aug 2015 18:19:05 +0400
    

    From: [email protected]
    To: [email protected]
    Message-ID: < 123.456.789.JavaMail.abc-srv123-VM$@abc-srv123-vm >
    Subject: confirmation zzz
    MIME-Version: 1.0
    Content-Type: text/plain; charset = us-ascii
    Content-Transfer-Encoding: 7 bit

    After some quick research, I found the culprit:

    A Date entry does not appear in the email and adds that there is the issue of IMAP that is fixed by the addon that you made me. So basically, you were right.

    The missing header entry should have been something like this:

    Date: Monday, August 17, 2015 14:19:05 GMT

    Note that the addon fixed the date in the received column (need to add the column; It is not displayed by default) after I did a repair on the Inbox folder (please refer to the instructions of the addon).

  • Formatting of RS-422 data display / handling

    I hope someone here can point me in the right direction.

    I am developing an alternative to COTS Accessport program (http://www.sudt.com/en/ap/) in Labview.    I found a basic example of serial communication I could manipulate and display my data stream (32octets HEX, 69 being the starting byte):

    Where my problem is in the data stream.    This example displays the data as a string type in this text box 'read the string '.    I need to handle data type string and break-out/display individual bytes, and I don't really know where to start.   I tried to add a table... but I'm a data type mismatch in the block diagram.

    Block diagram error

    Finally, I would like to be able to select / monitor only specific bits and leave the LabView to manage the processing of the data... but I'm me.   Thoughts?

    1 remodel table is wrong.  And through the shift register stages do nothing for you other than to delay all these manipulations.

    You want to add all the 36 bytes, integrate in a table.  Delete the oldest lines using delete in the table.

    2 and 3.  You use bytes to the Port which I have told you is the wrong thing to use.  I described a method for how to find the starting byte.  See my attached VI where I implementd that.

    4. you can create an object of front panel, perhaps an indicator of the photo or the color block you the size to cover a column.  You can use the events to slide the mouse on this control to detect where to go to.  It's really a question own right beyond the analysis of the series.

    In addition, you have your string to write together as * IDN?  (It has been converted into hexadecimal display so it was not so obvious).  Are you sure that's what you want to write?  That works for instruments such as spectrum analyzers, power supplies, DMM.  It is built in examples of series, but often that order means nothing to most of the devices series that speak to you.

    You also had the active stop character.  This means that any time you get the stop character (newline hex10), the reading series will shorten.  That's why you think you're getting asymmetrical data.  When you work with binary data, you must disable the stop character and other methods (such as a defined 36 byte packet size) to determine how to read.

  • How the data displayed parced

    OK, Im having a bit of trouble getting the data to display in labview. I like to read from a string of succession of data which is delimeted with «,» It works fine and I can get out to the token stringn. After 7 "blocks" of data, it will start to repeat themselves. How can I get that it displays each of these 7 chuncks of data, then on the next loop them refersh.

    That's all I have for now

    If I understand the problem, you have a string that has a number of embedded commas, and you want an array of strings corresponding to the 'things' between each comma.  Your reference to 7 'chunks' might suggest that each VISA read will return a string of the form x 1, x 2, x 3, x 4, x 5, x 6, x 7 (7 points, commas 6), but this solution does not how 'chunks', just that they are separated by commas.

    It uses regular expression matching function, with the comma as the regular Expression.  This VI basically splits the string into two parts, everything before the comma (the upper exit, highlighted as an element of array) and everything (number less than forecasts, put on a shift made through new register).  Each time through the while loop pull on another element, by adding to the matrix.  When nothing is left, the loop stops.

    Examine the three odd cases - string with no comma (get a table of 1 item with the full, correct string), string starting with a comma (get an array whose first element is an empty string, correct), string 1 element, ending (or not) with a comma (get a table to correct 1 item).

    Enjoy.

    BS

Maybe you are looking for

  • How can I get back to the system before iOS 10?

    I think personally that the new system of iOS 10 and its new features have no taste at all.  It makes you feel that you were using the Android system because of its lack of elegance and simplicity. The new screen blocked look so cheap and I am very d

  • How can I send a message in my Outbox?

    How can I send a message from my Outbox? I do not see a 'send '. any where

  • No sound on P100-188 on Vista or Linux platforms

    Sound only works on the XP library. I tried Ubuntu, SuSE, Mepis, Linux, Vista, zabaglione, with modifications, PC but no joy :-( Running Ubuntu 7.04 Step by step help would be greatly appreciated.

  • Menu button gone after update 4.4.2

    Hello Because he wasn't in the right topic in my previous post, I created a new thread for this. After you run the update of chrome and firefox do not have the menu button... By pressing the button of recent items quickly shows the menu before closin

  • Error Message Access Violation at address F91F5081 after Windows Update

    original title; Error after upgrade to Windows XP Professional may 2012 I have just completed an update to Windows XP Professional for may 2012.  To restart my computer, I get the following message- Access to the F91F5081 address violation.  Read of