Help on report with max and group of?

Hello I need to display the next report

SELECT THE TABLE TABLE_NAME, NOM_PARTITION, LAST_ANALYZED IN USER_TAB_PARTITIONS;
However, I need to display the table table_name time with sound (partition_name) MAX current (assuming that the names are P2010, P2011, etc...) and when he was last_analyzed

What is the most effective way to do it? Subselect statement? Inner join?

Thank you!

Hello

Using a GROUP BY:

SELECT table_name,
       max(partition_name) as partition_name,
       max(last_analyzed) keep (dense_rank last order by partition_name) as last_analyzed
FROM all_tab_partitions
GROUP BY table_name
;

Another solution would be a TOP - n query, using the ROW_NUMBER analytic function:

SELECT table_name, partition_name, last_analyzed
FROM (
  SELECT table_name,
         partition_name,
         last_analyzed ,
         row_number() over( partition by table_name
                            order by nlssort(partition_name,'NLS_SORT=BINARY') desc ) as rn
  FROM all_tab_partitions
)
WHERE rn = 1
;

Note that I had to use the NLSSORT function to get the same result as the value that the query GROUP BY.
Depending on your NLS DB/SESSION settings, you may not do.

Edited by: odie_63 Feb 4. 2011 14:31

Tags: Database

Similar Questions

  • Unable to get the database searched with MAX and GROUP BY function

    Hello
    All the

    I have a table as below:
    COLUMN TYPE
    User_id VARCHAR2 (10 byte)
    ID_processus VARCHAR2 (30 bytes)
    END_TIME DATE (STAMP)
    TO_LOC VARCHAR2 (12 bytes)
    TO_LOC_TYPE VARCHAR2 (15 bytes)
    FROM_LOC VARCHAR2 (12 bytes)
    ITEM_ID VARCHAR2 (25 bytes)
    CASE NUMBER (12.4)
    LMS_UDA1 VARCHAR2 (250 bytes)
    AREA VARCHAR2 (2 bytes)

    I only want to get one record with all the columns, have only one clause MAX (END_TIME)
    But the other column value of the difference.
    When I use MAX (END_TIME) and GROUP OF USER_ID, ID_processus, CASE...
    the sql did not a single record,
    It gives the number of records

    Please help me on this

    Concerning

    Saven

    >
    I only want to get one record with all the columns, have only one clause MAX (END_TIME)
    But the other column value of the difference.
    >
    Maybe it's not possible because it depends on your data.

    If the combination of all columns except END_TIME is not unique then there will be multiple records; a record for each unique combination (GROUP BY) of all other columns.

    The only way to ensure that a record is

    SELECT MAX(END_TIME) FROM myTable
    
  • Rewrite the query with joins, and group by

    Hello

    It's an interview question.

    Table names: bookshelf_checkout
    virtual library

    And the join condition between these two tables is title

    We need to rewrite under request without using the join condition and group by clause?

    SELECT b.title,max(bc.returned_date - bc.checkout_date) "Most Days Out"
               FROM bookshelf_checkout bc,bookshelf b
               WHERE bc.title(+)=b.title
               GROUP BY b.title;
    When I was in College, I read most of SELECT statements can be replaced by operations base SQL (DEFINE the OPERATORS). Now, I am rewriting the query with SET operators, but not able to get the exact result.

    Kindly help me on this.

    Thank you
    Suri

    Something like that?

      1  WITH books AS (
      2  SELECT 'title 1' title FROM dual UNION ALL
      3  SELECT 'title 2' FROM dual UNION ALL
      4  SELECT 'title 3' FROM dual ),
      5  bookshelf AS (
      6  SELECT 'title 1' title, DATE '2012-05-01' checkout_date, DATE '2012-05-15' returned_date FROM dual UNION ALL
      7  SELECT 'title 1' title, DATE '2012-05-16' checkout_date, DATE '2012-05-20' returned_date FROM dual UNION ALL
      8  SELECT 'title 2' title, DATE '2012-04-01' checkout_date, DATE '2012-05-15' returned_date FROM dual )
      9  SELECT bs.title, MAX(bs.returned_date - bs.checkout_date) OVER (PARTITION BY title) FROM bookshelf bs
     10  UNION
     11  (SELECT b.title, NULL FROM books b
     12  MINUS
     13* SELECT bs.title, NULL FROM bookshelf bs)
    SQL> /
    
    TITLE   MAX(BS.RETURNED_DATE-BS.CHECKOUT_DATE)OVER(PARTITIONBYTITLE)
    ------- ------------------------------------------------------------
    title 1                                                           14
    title 2                                                           44
    title 3
    

    Lukasz

  • Please help, audio problem with XW6600 and NVS 315

    Greetings:

    I just buy a renovated, XW6600 Xeon dual processor, 8 GB of RAM, Windows 7 Professional 64 bit system.  The PC comes with a nVidia NVS 290 graphics card.  Everything works fine and the speaker in the motherboard Jack produces sounds.  However, when I change the NVS 290 with a NVS 315 (it is a HP 720837-001 replacement part), the sound stops working.  The speaker in the systray icon has a red circle with an "x" in it.  If I right click on the speaker, the playback device, it shows two TV as icon one above the other with a red arrow pointing down and a description on the righ side saying "Digital Audio (HDMI) high definition Audio Device not connected.   I have the same result in 64-bit Windows 8.1.  The problem is resolved, if I reinstall the NVS 290.  For both cards, I use the latest version of the nVidia Driver and driver HP.  Am I missing something?

    Any help to solve this problem is greatly appreciated.

    First of all, you want to be sure to load the latest version of the BIOS on this xw6600.  It is from the end of 2012.

    I met this problem several times... do not know if these suggestions will help, but I think that your experience may be related to previous losses audio when the latest drivers are loaded that contain "pilot high-resolution audio" in the game of video driver.

    The current Quadro NVS 315 W7 64 bit graphics drivers Quadro ODE 320.92, which work well in my xw6400, xw6600 and xw8400 workstations running several types of cards Quadro FX and NVS.  If you have used the standard installer downloaded and used the standard "recommended" install that he threw into about 5 pieces, that only one you really need (selected by default single main driver in a custom installation).  That's all I use now, throughout my nVidia installs, and I also check the clean install box on the last page before loading begins in the custom installation path that I go down.   So, to charge fees, I first uninstall anything nVidia via the control panel and then hunt around on drive C for nVidia remains in the trash.  This includes any folder with nVidia in its title, including temporarily enable Show hidden files and folders in the tab views in the Folder Options Control Panel.  I then reboot and finally make this unit "clean install" - checked - technical of custom installation.

    Try this approach first... it's easier.  You might have luck, and audio can return.

    One of the elements that was installed in the "recommended" non-custom installation was a driver of nVidia high-resolution audio.  This seems to conflict with / replace the RealTek driver who was using your audio RealTek chipset on the motherboard.  I discovered that there is a part of BIOS for those workstations which is usually hidden, but sometimes becomes visible with installing drivers high-resolution audio.  F10 in the BIOS, go to the Advanced tab, down for the terminal Options and check if rebalanced Audio appears just above monitor follow-up.  If he was not hidden by the nVidia high-resolution audio driver load then it will virtually always disable status.  Change to activate, F10 to save the change and BIOS don't forget to save changes on exit and F10 again when BIOS asks.

    We got exactly that occur as a result of installing the drivers nVidia GeForce to a GeForce GTX 650 Ti BOOST on a xw8400 and I saw that happen with these latest nVidia Quadro driver packages, too.

    This is the second best method to solve the problem, if it works.

    Another approach is to save your current BIOS settings via replicated in the BIOS Setup, load into my settings to clone xw6600 (attached) and see if the sound comes back like that.  Sometimes integrated Audio remains hidden when we F10 in the BIOS, but my clone settings was set correctly even though the option remains hidden.  You can open the attached CPQSETUP. TXT file with Notepad and Find allows you to do a search for "audio"... the second shot will be the Audio integrated, one.  Note that it is configured to allow this clone... He usually lies in a status of disable, otherwise.

    You can edit it with Notepad, except that, and charge that the version of your original settings of the BIOS using replicated Configuration changed if you want to use this technique with other types of work, such as the xw8600 workstations.  You will always find this entry via this method, even though it is hidden when you look directly into the BIOS, so it's a good thing to know.

    It is the third most easy.

    Fourth... you start dinking autour with drivers in Device Manager.

    Replicated configuration function of the BIOS with a USB, it is very easy to save your original BIOS settings, try another set of settings and return to your original if you wish.  The clone CPQSETUP. TXT file can be edited by hand (with caution) to convert a Disable to activate, for example, saved and then downloaded into your BIOS firmware.  If you want to try attached BIOS xw6600 clone settings make sure to change off the coast of the "xw66002" so that only CPQSETUP. TXT is on your USB... Replicated configuration works which with a file named exactly that.

    I posted here a few days on exactly the configuration of the workstation this clone has been optimized dethrone archive on it.

    Finally, please post back with your findings because it has become a more common problem, and the more data we have here: it is likely, we will find the fastest solution boilerplate.

  • [HELP] NOR error of MAX and locking of the...

    I have a NI SMU 1062 q and NI SMU 8135.  Windows 7 Professional 64 bit installed.

    I removed all the software OR using the control panel and then installed NI Developer Suite 2012. As part of the installation, the following has been installed:

    NEITHER Developer Suite Core

    Option deployment on FPGA (excluding the Compilation of Xilinx 10.1 Tools)

    Automated Test option

    I2C & SPI

    NOR Serial + VISA

    When I start OR it MAX errors with an exception. If I keep it then crashes. All menus are gray! He worked (with error), but now it crashes completely.

    I have attached the dump file and log.

    Also in the basket are:

    PXI-6509 DIO card

    PXI-7953R + 5734R DAQ + FPGA

    Controller USB CB2-1-PIPE

    PXI-2503 switch

    PXI-4070 DMM

    OR PXI-8430/4 RS - 232 card

    It worked in the end.

    The PXI chassis came pre-installed with a few cards that we had ordered. I think that NEITHER installed the drivers for these cards (probably more by 2012). Then, I removed all the software OR in the Panel and installed NI Developer Suite 2012. I think the drivers clashed. I did a restore complete system image to disk and re-installed NI Developer Suite 2012 and it was fine.

  • Need help to developers with Q5 and Q10

    Hi all

    Those of you who have BlackBerry Q5 and Q10, could you please compile & run this small application on your device: https://l-homes.org/~leppa/bb10/dpi.zipand post the numbers is displayed?

    It will display the resolution of the screen as reported by bb::device:isplayInfo class and calculated from these values of DPI. I only have Z10, but I need to know what are these values on other devices.

    Thank you all in advance for your help.

    Here is the result of a Dev Alpha C, which is supposed to be identical to the Q10 hardware:

    resolution 13090.9091796875 13090.9091796875
    pixelSize 720 720
    55 55 physicalSize

    The release of these three properties DisplayInfo, from file QML (do not use your own code).

    Hope that helps!

  • WITH COUNT and GROUP BY

    I'm counting how many people have registered and COMPLETED a SPECIFIC set of units

    Must have completed all 2 units on the line

    Business - UNITS = ISR and DSW

    Physiology or medicine: UNITS = DFC and XFG

    Accounting - UNITS = DF and FGR

    1 ID enlisted in the operational units and two units of medicine so I would count this ID for each line

    ID 2 made only 1 of each line, so I won't count the ID. Want to only count who have completed all THE 2 units for each line

    ID3 enlisted in two business units then count

    4 ID was enrolled in two business units but fell on a count THAT as long as it isn't BOTH

    CREATE TABLE DAN_PATH
    (VARCHAR2 (12) ID,)
    UNIT VARCHAR2 (12),
    STATUS varchar2 (12),
    LINE VARCHAR2 (12));


    insert into DAN_PATH (id, UNIT, STATUS, LINE) values ('1', 'SRI', 'Registered ', ' BUSINESS');
    insert into DAN_PATH (id, UNIT, STATUS, LINE) values ('1', 'WA', 'Registered', 'ACCOUNTING');
    insert into DAN_PATH (id, UNIT, STATUS, LINE) values ('1', 'DSW', 'Registered ', ' BUSINESS');
    insert into DAN_PATH (id, UNIT, STATUS, LINE) values ('1', 'DFC', 'Registered', 'MEDICINE');
    insert into DAN_PATH (id, UNIT, STATUS, LINE) values ('1', 'XCV', ' registered', 'GENIUS');
    insert into DAN_PATH (id, UNIT, STATUS, LINE) values ('1', 'XFG", 'Followed', 'MEDICINE');
    insert into DAN_PATH (id, UNIT, STATUS, LINE) values ('2', 'SRI', 'Registered ', ' BUSINESS');
    insert into DAN_PATH (id, UNIT, STATUS, LINE) values ('2', 'FD', ' registered', 'GENIUS');
    insert into DAN_PATH (id, UNIT, STATUS, LINE) values ('2', 'FGR', 'Registered', 'ACCOUNTING');
    insert into DAN_PATH (id, UNIT, STATUS, LINE) values ('3', 'SRI', 'Registered ', ' BUSINESS');
    insert into DAN_PATH (id, UNIT, STATUS, LINE) values ('3', 'DSW', 'Registered ', ' BUSINESS');
    insert into DAN_PATH (id, UNIT, STATUS, LINE) values ('4', 'DF', 'Registered', 'ACCOUNTING');
    insert into DAN_PATH (id, UNIT, STATUS, LINE) values ('4', 'SRI', 'Coward', 'BUSINESS');
    insert into DAN_PATH (id, UNIT, STATUS, LINE) values ('4', 'DSW', 'Registered ', ' BUSINESS');

    GIVES:

    IDUNITSTATUSLINE
    1SRIRegistrantsCOMPANY
    1DRFDroppedACCOUNTING
    1DSWRegistrantsCOMPANY
    1DFCDroppedMEDICINE
    1XCVRegistrantsENGINEERING
    1XFGRegistrantsMEDICINE
    2SRIRegistrantsCOMPANY
    2FDSRegistrantsENGINEERING
    2FGRRegistrantsACCOUNTING
    3SRIRegistrantsCOMPANY
    3DSWRegistrantsCOMPANY
    4DFRegistrantsACCOUNTING
    4SRIDroppedCOMPANY
    4DSWRegistrantsCOMPANY

    I would like to get 2 queries that to me the line and the County of ID and the other to get me the ID

    LINESTUDENTS
    BUSINES2
    MEDICINE1
    ENGINEERING0
    ACCOUNTING0

    LINEID
    COMPANY1
    COMPANY3
    MEDICINE1

    Hello

    Let's start with 2 of the application; It's a little easier, and a solution for question 1 can be built on this subject:

    WITH units AS

    (

    SELECT 'SRI' AS Unit, 'BUSINESS' AS a dual UNION ALL

    SELECT 'DSW', 'BUSINESS' FROM dual UNION ALL

    SELECT 'DFC', 'MEDICINE' IN UNION double, ALL

    SELECT "XFG", 'MEDICINE' IN UNION double, ALL

    SELECT 'DF', 'ACCOUNTING' FROM dual UNION ALL

    SELECT 'FGR', 'ACCOUNTING' FROM dual UNION ALL

    SÉLECTIONNEZ « FUBAR », « GÉNIE » DE la double

    )

    SELECT u.line

    d.id

    U units

    JOIN dan_path d.unit d = u.unit

    AND d.line = u.line

    GROUP BY u.line

    d.id

    After HAVING COUNT (DISTINCT of CASE WHEN d.status = 'Registered' THEN d.unit END) = 2

    COUNT (CASE WHEN d.status = 'Loose' THEN d.unit END) = 0

    ORDER BY u.line

    d.id

    ;

    You can create a regular and permanent table for units, rather than use a WITH clause.

    You can get the results desired for the application 1 by a GROUP BY on the results of the query 2, with the exception of a few things.

    Quiz 1 must include all lines, even if no students not completed all units.  To get these numbers 0, we can do an OUTER JOIN.

    In addition, the HAVING of a query 2 clause eliminates the rows of the result set.  We do not want to eliminate lines that fail under these conditions, we just want to know if they do not arrive or not.  To do this, we have the same conditions inside a CASE, not a HAVING clause expression:

    WITH units AS

    (

    SELECT 'SRI' AS Unit, 'BUSINESS' AS a dual UNION ALL

    SELECT 'DSW', 'BUSINESS' FROM dual UNION ALL

    SELECT 'DFC', 'MEDICINE' IN UNION double, ALL

    SELECT "XFG", 'MEDICINE' IN UNION double, ALL

    SELECT 'DF', 'ACCOUNTING' FROM dual UNION ALL

    SELECT 'FGR', 'ACCOUNTING' FROM dual UNION ALL

    SÉLECTIONNEZ « FUBAR », « GÉNIE » DE la double

    )

    query_2_results AS

    (

    SELECT u.line

    d.id

    CASE

    WHEN COUNT (DISTINCT of CASE WHEN d.status = 'Registered' THEN d.unit END) = 2

    COUNT (CASE WHEN d.status = 'Loose' THEN d.unit END) = 0

    THEN 1

    END as finished

    U units

    LEFT OUTER JOIN dan_path d.unit d = u.unit

    AND d.line = u.line

    GROUP BY u.line

    d.id

    )

    SELECT line

    COUNTY (completed) as students

    OF query_2_results

    GROUP BY line

    ;

    I guess just some of your needs.

  • Interactive report with checkbox and editable field

    Hello

    For a project I'm working on, I need to create an interactive report in Apex 3.2 with the ability to select rows and change one of the columns in the report.
    To do this, I started by adding these two fields at the request of my IR selection:

    CB apex_item. CheckBox (1, product_number)

    and

    apex_item. Text (2, QTY_TO_ORDER) QTY_TO_ORDER

    CB is the files checkbox and QTY_TO_ORDER is the editable field.

    It worked like a charm and I had my two fields in the report.
    To process the values, I've added this page process, which currently must store only the "product number" and the "QTY_TO_ORDER" fields in a table.

    BEGIN
    BECAUSE me in 1.APEX_APPLICATION. G_F01. Count LOOP
    insert into mytmptable values (APEX_APPLICATION. G_F01 (i), APEX_APPLICATION. G_F02 (i));
    END LOOP;
    commit;
    end;

    However, this does not work as I want it to work. When I check the boxes of the two rows, it will store two numbers of good product lines, but it will take the field QTY_TO_ORDER two albums from the table, regardless of who those are checked. I was able to solve this problem, by adding a rownum in the query and using the rownum as the value for the checkbox control. Because I still need that the areas of product_number and qty_to order I made them two text fields.

    I changed my page process of:

    BEGIN
    BECAUSE me in 1.APEX_APPLICATION. G_F01. Count LOOP
    insert into mytmptable values (APEX_APPLICATION. G_F02 (APEX_APPLICATION. G_F01 (i)),
    APEX_APPLICATION. G_F03 (APEX_APPLICATION. G_F01 (i)));
    END LOOP;
    commit;
    end;

    This seemed to solve the problem, and I have now received the good values in the table, unless I used in the report to sort... As soon as I've sorted the report in a different way from that of rownum, I had bad values in the table. The reason is of course that my insert simply selects the nth line in the table, and my rownums are not dynamic.

    I found a lot of examples on the internet using "#ROWNUM #" in the selection, which is expected to spawn a rownum in the report. It seems to work in normal report, but in interactive reports, literal values "#ROWNUM #" appears.

    Is it possible to fix this?

    Hello

    Try with 3 fields:

    CB apex_item. CheckBox (1, product_number).
    apex_item. Text (2, QTY_TO_ORDER) QTY_TO_ORDER,.
    prod_no apex_item. Hidden (3, product_number)

    The hidden field should be view as a hidden column.

    Then your process can be:

    BEGIN
    BECAUSE me in 1.APEX_APPLICATION. G_F01. Count LOOP
    J in 1.APEX_APPLICATION. G_F03. Count LOOP
    IF APEX_APPLICATION. G_F01 (i) = APEX_APPLICATION. G_F03 (j)) THEN
    insert into mytmptable values (APEX_APPLICATION. G_F01 (i), APEX_APPLICATION. G_F02 (j));
    "exit";
    END IF;
    END LOOP;
    END LOOP;

  • Need help from base with Acrobat and LiveCycle

    This is my first time using Acrobat and LiveCycle for design a form. Basically what I need is a title that is editable and that I want to insert a text box below so people can type in the box and then print the entire page with their comments. I can do all this, except that the problem is when I insert the text box, the cursor is justified to the left, but appears in the middle of the text box. So when people start to type, there is a huge gap between the title and what they typed. I want their typing will appear directly below the heading. What I am doing wrong? See attachment for a Visual explanation. Thank you.

    You can have the text in the jusitied high-field. This is controlled on the palette of fonts. Activate the palette of fonts in the menu window. Usually, it will appear at the bottom right of the screen. Now highlight the field you want to adjust. Make usre that the paragraph tab is slected. Click on the little drop-down list arrow indictaed in yellow in the screenshot and select "change value". Now click the upper justification as indicated by the arrow in the csreen turned.

    Paul

  • Help so require, with trigger and CLOB

    Hello world

    I have one set a global temporary table to collect data from a page of the apex and then I use a trigger to insert data into permanent tables on the same PB.

    One of the fields in the temporary table is a CLOB and I seem to be wrong, as the CLOB on the permanent table is not filled?

    I read the PDF of the Oracle large object and I can't seem to find what I'm doing wrong.

    I tried a number of things.

    What I like to see the before insert trigger for temporary tables is something like this:

    DECLARE

    tmp NUMBER;

    BEGIN

    tmp: =: NEW. DB_ID;

    INSERT INTO AA (DB_ID, DOC_DATA)
    VALUES (: NEW.) DB_ID, EMPTY_CLOB());

    UPDATED AA
    SET DOC_DATA =: NEW. DOC_DATA
    WHERE DB_ID = tmp;

    END BI_AB;

    I someone could put me on the right track, I would be very happy.

    Concerning

    Daniel

    Don't lose any time here. Especially if you work with someone who puts some effort into the other side.

    However, I will take this opportunity of not... I can't have a toad. I think the product is barely enough when he is free. To load for her given that many weaknesses such as totally evil explain plans, is on the edge. Personally, I do everything in SQL * more. But if you want a GUI... I'd go with Oracle SQL * Developer which is not only free, but an improvement on the toad.

  • Need help, a problem with IPSec and NAT - T

    We had a successful between a Cisco remote access client and the ASA connection.   The connection is more data transfer, but the Phase I and Phase II complete successfully.   There are several sections between separate networks for the remote user to the ASA, including hotlines of Verizon and Verizon's ISP.

    Troubleshooting Cisco guides strongly suggests, it is a problem of NAT - T, but when I turn on debugging 254 isakmp and debug ipsec 254, I get only a modest messages on NAT - T, which is "Recieved NAT-Traversal version 02 VID.   This message and connections, are when I disabled it on the ASA of NAT - T.

    If I enable NAT - T on the SAA, the remote client cannot establish Phase I or II; I was not able to gather debugs on this scenerio yet.

    The customer has a second laptop, both of them experience the same problem.  We have ensured that the Tunneling, UPD 4500 is activated.

    I suspect that an intermediary device or Verizon, changed something.

    What should be my next troubleshooting (unfortunately, I can't post the configs)?

    Kind regards

    j

    From my very limited experience, both sides must have the NAT - T enabled, otherwise the side who did not need NAT - t won't be able to read the part of the IP header because it is encrypted.

    Good luck!

    Pedro

  • 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

  • Not the users and groups folder under computer management

    Original title: no access to users and groups in Windows 8 Pro

    Right click on computer, select Manage

    There is no option in the management of the computer!

    WHY? How to view?
    Thank you
    Hi Johnny,.
     

    Looks like you are unable to get users and groups under computer management.

     
    I would like to gather information to help you:
     

     
    (1) how do you try to locate users and groups under computer management?
    (2) you are able to view other folders in the same section?
    (3) don't you make changes to the computer before this problem?

     
    I suggest you to check if the steps will help you to locate users and groups folder under Computer Management:
     

    (a) Windows and X set button, and then select computer management.
    (b) double click on system tools.
    (c) click on local users and groups.
    (d) check if you are able to find users and groups folder.
     
    Do we not respond with the status of this issue.
  • GROUP BY ROLLUP with subtotals category grouped

    Hello

    I need categories to have group totals as in the example below. Note that California has its own category subtotals and total.

    I could do with unions, a line type column, and the sort, but that would mean read the entire table for each subtotal total snd.

    Any suggestions?

    Thanks in advance for your help,

    Lou


    My data

    CITY STATE CATEGORY NBR
    California Los Angeles AA 1
    California Los Angeles BB 2
    Los Angeles, California 3 CC
    California San Diego AA 4
    California San Diego BB 5
    California San Diego 6 CC
    California San Francisco AA 7
    San Francisco California 8 BB
    California San Francisco CC 9


    Desired result

    CITY STATE CATEGORY NBR
    California Los Angeles AA 1
    California Los Angeles BB 2
    Los Angeles, California 3 CC
    California, Los Angeles 6
    California San Diego AA 4
    California San Diego BB 5
    California San Diego 6 CC
    California at San Diego 16
    California San Francisco AA 7
    San Francisco California 8 BB
    California San Francisco CC 9
    California, San Francisco 24
    California AA 12
    California BB 15
    California CC 18
    Grand Total 45

    Hello

    SELECT       state, city, category
    ,       SUM (nbr)               AS nbr
    FROM       table_x
    GROUP BY  CUBE (state, city, category)
    HAVING       GROUPING (state)   = 0
    ORDER BY  state, city, category;
    

    Basically what you want.

    The numbers aren't quite what you've posted.
    The "Grand Total" line, said "Califoirnia" instead. You can fix that with CASE and GROUPING.

  • Error of flow OR MAX and attribute camera out of reach

    I recently bought a camera Point Grey Grasshopper3, it seems to work fine at point software fly Cap Gris provides, but I get an error NI Max when I try to do a simple puncture (see below). This error appears every time I try to catch a time image the first after the opening OR MAX, even if the flow is set to maximum. Then I change the flow under control of the unit to any integer 125000000 max, and the camera works very well for MAX. It will capture images as much as I need. Then I save the camera output MAX, open MAX once again, it shows my saved settings, I'm going to capture images and I get the error again. If I change the range regardless of the number and it works again in the same session in MAX.

    I had a gray point Zebra2 work very well and he used in my program LabVIEW with IMAQdx to acquire images. When I try to use grasshopper3, LabVIEW returns error attribute camera out of reach of the VI camera configuration. I use to test the camera of the VI is the camera just to open, configure acquisition, start acquiring, get the picture, cancel the acquisition and nearby IMAQdx camera configuration. I did twice open MAX, change the flow, save the camera, close MAX without grasping an image and then was able to acquire images in LabVIEW in the first inning. I would run the VI once again and then it returns the error to attribute camera out of reach. I changed the packet size, resolution and the frame rate of the camera with a difference in errors.

    Since I am able to images of the stream from the camera to the gray point fly capture and Max after activating/deactivating the flow layout, it leads me to believe there is some sort of error MAX/LabVIEW that prevent me to capture the images.

    Any ideas? Has anyone else had this problem with MAX and LV?

    Looks like the point Grey cameras showed this error before the firmware on the basis. See this linkfor such a forum. I would monitor the camera (*.icd) file located in the data folder IMAQdx in public Documents to see if the actual value is be replaced after the configuration of the camera has been saved in MAX. There is a chance that the GigE. XML file which is transferred from the camera is overwrite these values in the unacceptable value. See this linkfor a KB about this error, which leads me to believe that this may be the problem.

Maybe you are looking for

  • My download folder is not accessible. Help!

    I'm under El Capitan. I had installed OS X Server and I wanted to turn on file sharing. The folder to be shared was downloads. I then removed the folder from the file sharing console. Now, my download folder is no longer available: at the command pro

  • Satellite 230cx - restoration of Windows 95 with no CD player

    Hello I have an old Toshiba Satellite 230cx (http://resource.toshiba-europe.com/europe/computers/flyers/satellite/satellite_230_e.pdf). I want to give it back its original factory configuration, I have the disks in the system and the driver, but unfo

  • HP Envy 700-500z: Question about wi - fi antenna tower for the wi - fi signal booster

    Hello I bought a wi - fi turn antenna to boost my wireless signal so I can use my Tablet outdoors during the summer.  The instructions provided with the said Tower if the computer has built in wi - fi or wireless card, do not install the antenna towe

  • My dissappered Favorites toolbar on the top of my computer, how do I get it back, Child1

    you know how you like a page, such as youtube or Netflix, do add you to favoirtes? Well, the bar Favorites on top of my computer Dissappeared, how can I get that back at the top where it should be, lost without her?

  • The name of this font?

    Can someone tell me the name of this font, I used years ago please? I work on homework for my graphic design class and want to use the same font, but do not remember the name of it and it is not in my favorites or downloaded list.