Cases and Group by

I tried to understand what is the problem with a large sql query that does not change what I do.
Have managed to isolate the part which is a failure, but I get the error message:

ORA-00979: not a GROUP BY expression

is not very useful.

I suspect there is something fundamentally wrong in what I'm trying to do.

I had to anonimise the names of the tables and fields that the data that I use is quite sensitive, but it should not forget the problem.

Here is the query:
select
case when a='100' and cost in (select cost from lookup) then '100' else b end as main,
count(*)
from 
data_table
group by 
case when a='100' and cost in (select cost from lookup) then '100' else b end
DATA_TABLE has (among others) of fields:
a, b, and the cost

search contains the field:
cost

All fields are VARCHAR2 (255)


If I remove the count (*) and any group of the query statement runs it is to say:
select
case when a='100' and cost in (select cost from lookup) then '100' else b end as main
from 
data_table
This shows that the stated case is valid - then why I can not combine the count and group of?
If this is a reason of syntax is there another solution that I can possibly use subqueries to work around the problem - I prefer to avoid this and can't really make the case in a decoding without him make mess.

Oracle version:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.

TIA

Published by: user8378443 on May 11, 2011 10:26

Try like this,

SELECT MAIN, COUNT (*)
  FROM (SELECT CASE
                  WHEN A = '100'
                   AND COST IN (SELECT COST FROM lookup)
                  THEN '100' ELSE b
               END
                  AS MAIN
          FROM data_table)
GROUP BY MAIN

G.

Tags: Database

Similar Questions

  • Combine in a single line: check the box Case() and Group BY

    Hello

    I have a little problem and it seems my knowledge and possession is simply not enough good to slove it.

    To better understand my question here an example (the actual query is too large):
    Data:
    NAME, CASE_NO, GO_TAG
    Tom 10 GB
    Tom 15 GB
    Tom 20
    30 Tim
    Tim 40

    My query looks like this:
    SELECT NAME,
    CASE
    WHEN (GO_TAG IS NOT NULL) THEN wm_concat (CASE_NO)
    ANOTHER NULL
    END WITH_GO_TAG
    CASE
    When wm_concat (CASE_NO) (GO_TAG IS NULL) THEN
    ANOTHER NULL
    END WITHOUT_GO_TAG
    GROUP BY NAME, GO_TAG;


    Now what I get output:
    NAME, WITH_GO_TAG, WITHOUT_GO_TAG
    Tom, 10, 15', "
    Tom, ", '20'
    Tom, 10, 15', "
    Tom, cm, 30, 40'

    Here's my problem: I want a line instead of two lines for "Tom."
    It looks like: Tom, 10 ', 15', 20'

    Is this possible?

    You should know that I coded those SQL things to right directly in this forum to show you my problem... hope you can understand it :-)

    Hope someone can help me in this case.

    Oh, almost forgot, I (or better: my company) use Oracle Version: 10g

    See you soon,.
    Phil

    Hello

    Thank you. It's clearer.

    Did you count 5 lines of sample data, or 10?
    In SQL * Plus, when you finish an order with one; and then have a /, the / means "repeat the last command. So, when I run

    INSERT INTO EXAMPLE VALUES
    ('Tom', 10, 'go');
    / 
    

    I get 2 identical rows. I suppose you want only 1.

    When you say ' GROUP BY name, go_tag ', the output contains a line for each distinct combination of name and go_tag.
    If you want just one row for each distinct value of the name, just say 'GROUP BY name. If we are not group by go_tag, we must be careful that any reference to go_tag in the SELECT clause is like an aggregation function argument, like this:

    SELECT     NAME,
               STRAGG (NVL2 (go_tag, case_no, NULL))     AS with_go_tag,
               STRAGG (NVL2 (go_tag, NULL,    case_no))     AS without_go_tag
        FROM   EXAMPLE
    GROUP BY   NAME;
    

    NVL2 (a, x, y) is equivalent to
    CASES WHERE an IS NOT NULL THEN x ELSE y END to this problem, I found NVL2 easier than CASES to read and understand, but I don't maintain your code, then you should use your way of thinking is the best.

  • command and group numbers

    Hello

    I have a number of lines where each shows a quantity (in a single column) with a length of wood (in another column), say...

    3 4500

    2 3000

    1 6000

    9 3000

    1 4500

    is there a formula where I can create two additional columns with the sum total of all the required lengths? so, something like this...

    11 3000

    4 4500

    1 6000

    the order of length?

    also, it will not be fixed lengths, so ideally my formula will order and group some lengths come in the columns.

    hope that makes since, cheers, ric

    I think I could to make it simpler, in my second list "lengths", list all possible, according to the digital agenda, such as 3000, 3200, 3600, etc. 3800.

    in this case, I'm sure that there is a simple way to add the amount of items (in the first column of the first series) each time the length is displayed in the second column (in the first game)...? !

    I don't know the best function to use... :-/

  • tabs and groups of tabs are lost

    Closing Firefox and then restarting him, invariably all my tab groups seem to have lost their legs. Reopening of groups of Eve extended or closed (using the Group Manager add-on tab) will not help.

    It is not happened on my previous install but have since upgraded to Kubuntu 14.04 and Firefox 29 (to be precise Firefox to canonical 1.0), I keep losing my tabs and groups of tabs.

    Don't know what mistake I make.

    In case you use "clear history of Firefox closing:

    • do not erase browsing history

    Note that compensation "Preferences of Site" clears all exceptions for cookies, images, pop-up windows, installation of software, passwords, and other specific data from Web site.

    You can check for problems with the sessionstore.js and sessionstore.bak files in the profile folder of Firefox that store session data.

    Rename (or delete) the sessionstore.js file and possible sessionstore-# .js files with a number and sessionstore.bak in the Firefox profile folder.

    Delete sessionstore.js will cause App Tabs and groups of tabs open and closed tabs (back) to get lost and you will have to re-create them (take note or bookmarks if possible).

  • Suddenly can't access local users and groups permissions list

    In computer management (my computer / manage) "Local users and groups" icon has a red x on it and when I click on it I get this message:

    Local users and groups
    Unable to access the computer {computer name} toa. The error was: library not registered.

    How can I find which library is not registered, so I can register?

    BTW, this is one of several very similar problems that began to arrive after the last update of Microsoft Windows Vista.

    Hello GCCarvill,

    Thanks for posting your question in the Microsoft answers Forum.

    If you have a system restore point, before applying the updates would be the fastest way to restore the library file
    who is missing. Use the following article to restore to an earlier point in time. Don't forget to create a manual restore point before using an earlier version of the operating system.

    936212 KB - how to repair the operating system and how to restore the configuration of the operating system to an earlier point in time in Windows Vista
    http://support.Microsoft.com/kb/936212

    You can also create a manual system restore point so that you can restore in case of problems.
    How to create a system restore point manually:
    Right-click on the computer icon in the desktop, then choose Properties
    In the left pane, click System Protection
    Alternatively, to directly access the System Protection tab, click Start and type SystemPropertiesProtection.exe.
    If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    Click the System Protection tab and then click on create.
    In the System Protection dialog box, type a description, and then click on create.

    After the search for the other forums, I found another user having a similar problem. They used a tool called FileMon and after comparison, they discovered a file called activeds.tlb was missing. They have restored a copy in the system32 directory and
    was then able to access the local users and groups successfully. You can download a copy of FileMon of:
    http://www.sysinternals.com

    If please reply back and let us know if it helped to solve your problem or if you need further assistance.

    Thank you

    Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • FIX for generate lines of separation and GROUPING

    Oracle 11g Release 2

    I need to do this in SQL, not front-end app.

    CREATE TABLE tab2
    ( rule_order   varchar2(25)
     ,part_type_id varchar2(25)
     ,position_id  varchar2(25)
     ,note1        varchar2(500)
     ,group_id     varchar2(25)
     ,part_desc_id varchar2(25)
     ,line_cd      varchar2(25)
     ,checkup      varchar2(25)
    )
    /
    
    insert into tab2
    values(7,'AB777','LEFT',null,48,98,'ABC','NO')
    /
    
    insert into tab2
    values(12,'CC789',null,null,48,98,'EF3','YES')
    /
    
    insert into tab2
    values(14,'FFY3','REAR',null,50,99,'Y3Y','NO')
    /
    
    insert into tab2
    values(17,'789D',null,'escape',52,107,'CAB','NO')
    /
    
    insert into tab2
    values(19,'65ACD',null,null,52,107,'FAB','NO')
    /
    
    insert into tab2
    values(20,'888EF','FRONT','REMAN',52,107,'CH7','YES')
    /
    
    insert into tab2
    values(22,'760DB',null,null,72,12,'DEG','YES')
    /
    
    insert into tab2
    values(25,'535AF','FRONT',null,72,12,'BBB','YES')
    /
    
    commit;
    
    select * from tab2;
    
    RULE_ORDER   PART_TYPE_ID   POSITION_ID    NOTE1           GROUP_ID  PART_DESC_ID LINE_CD   CHECKUP
    ------------ -------------- -------------- --------------- --------- ------------ --------- ---------
    7            AB777          LEFT                           48        98           ABC       NO
    12           CC789                                         48        98           EF3       YES
    14           FFY3           REAR                           50        99           Y3Y       NO
    17           789D                          escape          52        107          CAB       NO
    19           65ACD                                         52        107          FAB       NO
    20           888EF          FRONT          REMAN           52        107          CH7       YES
    22           760DB                                         72        12           DEG       YES
    25           535AF          FRONT                          72        12           BBB       YES
    
    
    
    

    NEED OUTPUT:

    RULE_ORDER PART_TYPE_ID POSITION_ID NOTE1   GROUP_ID PART_DESC_ID LINE_CD CHECKUP
    ---------- ------------ ----------- ------- -------- ------------ ------- -------
             7        AB777        LEFT               48           98     ABC      NO
            12        CC789                           48           98     EF3     YES
             -
            17        789D              escape        52          107     CAB      NO
            19        65ACD                           52          107     FAB      NO
            20        888EF       FRONT REMAN         52          107     CH7     YES
            -
            22        760DB                           72           12     DEG     YES
            25        535AF       FRONT               72           12     BBB     YES
    
    

    RULES:

    Only interested in cases where the combination of GROUP_ID/PART_DESC_ID has two or more records.

    Then GROUP_ID/PART_DESC_ID 50/99 is not included in the output.

    Need to have a line empty (with a dash in RULE_ORDER) when GROUP_ID/PART_DESC_ID change

    ########################

    I tried to use GROUPING and CUMULATIVE, but I do not get the desired result.

    WITH  data
    AS
    (  SELECT rule_order, part_type_id,position_id,note1,group_id,part_desc_id,line_cd,checkup,
              CASE 
                  WHEN GROUPING(part_desc_id) = 0
                  THEN rule_order
                  ELSE '-'
              END   txt
       FROM (
                select rule_order, part_type_id,position_id,note1,group_id,part_desc_id,line_cd,checkup,
                       COUNT(*) OVER (PARTITION BY group_id,part_desc_id) cnt
                from   tab2
             )
       WHERE
                cnt >= 2
       GROUP BY
                group_id, part_desc_id, ROLLUP ((rule_order, part_type_id,position_id,note1,group_id,part_desc_id,line_cd,checkup))
    )
    SELECT *
    FROM   data
    order by
           group_id, part_desc_id,part_type_id,position_id ;
           
    RULE_ORDER   PART_TYPE_ID   POSITION_ID    NOTE1           GROUP_ID  PART_DESC_ID LINE_CD   CHECKUP   TXT
    ------------ -------------- -------------- --------------- --------- ------------ --------- --------- -------------------------
    7            AB777          LEFT                           48        98           ABC       NO        7
    12           CC789                                         48        98           EF3       YES       12
                                                               48        98
    19           65ACD                                         52        107          FAB       NO        19
    17           789D                          escape          52        107          CAB       NO        17
    20           888EF          FRONT          REMAN           52        107          CH7       YES       20
                                                               52        107
    25           535AF          FRONT                          72        12           BBB       YES       25
    22           760DB                                         72        12           DEG       YES       22
                                                               72        12
    
    

    It's not printing a '-' in RULE_ORDER and it must have the value NULL, GROUP_ID and PART_DESC_ID for the dividing line.

    Hello

    Rather than use the CUMULATIVE (or GROUPING SETS) fix for this, you should consider a UNION.  A branch of the UNION produced the data rows and the other lines of separation.  Foor example:

    WITH got_groups AS

    (

    SELECT tab2.*

    , COUNT AS group_cnt (*) OVER (PARTITION BY group_id, part_desc_id)

    , DENSE_RANK () OVER (ORDER BY group_id, part_desc_id) AS group_num

    Of THE tab2

    -WHERE - if you need any filtering, it's where he's going

    )

    full_data AS

    (

    SELECT *.

    OF got_groups

    WHERE group_cnt > 1

    UNION ALL

    SELECT '-', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, group_num

    OF got_groups

    WHERE group_cnt > 1

    GROUP BY group_num

    )

    SELECT rule_order, part_type_id, position_id, note 1

    group_id, part_desc_id, line_cd, health check

    OF full_data

    WHERE rule_order <> '-'

    OR group_num > 1

    ORDER BY group_num

    , LPAD (rule_order, 25)

    ;

    Output:

    BIRD BIRD

    GROUP POSITION RULE_ DESC_ LINE_ TYPE_

    ORDER ID _ID NOTE1 _ID ID CD CHECKUP

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

    7 AB777 48-98 ABC NO. LEFT

    12 48 98 EF3 CC789 YES

    -

    17 789 D escape 52 107 CAB No.

    19 65ACD 52 107 NO. FAB

    20 FRONT REMAN 52 107 CH7 888EF YES

    -

    22 72 12 DEG 760DB YES

    25 535AF BEFORE 72 BBB 12 YES

    This query generates only the lines of separation of G - 1 when there are groups of G, since you only want separators between groups, not before the first or after the last group.

  • Sorting and grouping - two months in this query

    Hi all

    Thanks a lot for JAC

    I am doing a project for the construction company, I faced this problem by grouping points according to the relationship between these points the
    Relationship is from 1 to 100. If the point between what means there is relationship between these points has come.

    resolve this question already, but the results does not correct when the table contains more data.

    SQL - sorting and grouping.
    Jac and thanks a lot to him.

    This example for more details

    for example, I have these points
    id   location         percentage   comments 
    1     loc 1,2          20%                that mean point  1 and 2 close to each other by 20%
    2     loc 1,3          40%              that mean point 1 and 3 close to each other byy 40%
    3     Loc 8,6          25%               that mean point 8 and 6 close to each other by 25% 
    4     Loc  6,10        20%
    5     LOC 11,10        10 %
    6     LOC 15,14         0%
    In addition, we can see the relationship between these points as follows
    -points 1,2,3 in a group why because close 1.2 and 1.3 a relationship which means 1.3 also hid the relationship.
    -Points 6,8,10,11 in the second group there are the relationships between them.
    - but no relationship between 1, 2 or 3 with any point of 6,8,9,10,11
    -as well as no relationship between 15, 14, which means 14 in the third group and 15 in the fourth group.


    Whati need?

    to group the points that growing a relationship according to the percentage value


    The most important part is to group the points. For EXAMPLE, the query below, the gropuing is not correct.

    I have the following table with data
    drop table temp_value; 
    create table temp_value(id number(10),location varchar2(20), percentage number(9)); 
     
     
    insert into temp_value values  (1,'LOC 1,2',10); 
    insert into  temp_value values (2,'LOC 1,3',0); 
    insert into  temp_value values (3,'LOC 1,4',0); 
    insert into  temp_value values (4,'LOC 1,5',0); 
    insert into  temp_value values (5,'LOC 1,6',0); 
    insert into  temp_value values (6,'LOC 2,3',0); 
    insert into  temp_value  values(7,'LOC 2,4',0); 
    insert into  temp_value values (8,'LOC 2,5',30); 
    insert into  temp_value values (9,'LOC 2,6',0); 
    insert into  temp_value values (10,'LOC 3,4',0); 
    insert into  temp_value values (11,'LOC 3,5',0); 
    insert into  temp_value values (12,'LOC 4,5',40); 
    insert into  temp_value values (13,'LOC 4,6',0); 
    insert into  temp_value values (14,'LOC 6,7',40);
    insert into  temp_value values (15,'LOC 7,2',0);
    insert into  temp_value values (16,'LOC 8,2',60);
    insert into  temp_value values (17,'LOC 8,3',0);
    insert into  temp_value values (18,'LOC 3,1',0);
    insert into  temp_value values (19,'LOC 9,6',30);
    insert into  temp_value values (20,'LOC 11,2',0);
    insert into  temp_value values (22,'LOC 12,3',10);
    insert into  temp_value values (23,'LOC 19,3',0);
    insert into  temp_value values (24,'LOC 17,3',0);
    insert into  temp_value values (24,'LOC 20,3',0);
    When I used this query, the results is not correct

     with t as
        (select percentage,loc1,loc2,sum(case when percentage = 0 then 1
                           when loc1 in (l1,l2) then 0
                       when loc2 in (l1,l2) then 0
                       when l1 is null and l2 is null then 0
                       else 1
                  end) over(order by rn) sm
        from (     select id,location,percentage,
                           regexp_substr(location,'\d+',1,1) LOC1,
                          regexp_substr(location,'\d+',1,2)  LOC2,
                         lag(regexp_substr(location,'\d+',1,1))
                          over(order by percentage desc) l1,
                          lag(regexp_substr(location,'\d+',1,2))
                          over(order by percentage desc) l2,
                  row_number() over(order by percentage desc) rn
          from temp_value
          order by percentage desc
            )
      )
       select loc,min(sm)+1 grp
         from(
           select loc,rownum rn,sm
           from(
           select percentage,decode(rn,1,loc1,loc2) loc,sm
           from t a,
                (select 1 rn from dual union all
                 select 2 from dual ) b
           order by percentage desc,decode(rn,1,loc1,loc2) asc
          )
       )
        group by loc
       order by min(sm),min(rn);
    results


    SQL > /.
    LOC                         GRP
    -------------------- ----------
    2                             1
    8                             1
    6                             2
    7                             2
    4                             3
    5                             3
    9                             4
    1                             5
    12                            6
    3                             6
    11                           13
    
    LOC                         GRP
    -------------------- ----------
    19                           14
    17                           15
    20                           22
    
    14 rows selected.
    SQL >


    but the just is
    Location        group No
    2                  1
    8                  1
    4                  1
    5                  1
    1                  1
    6                  2
    7                  2
    9                  2
    12                 3
    3                  3
    19                 4
    17                 5
    20                 6
    Thanks in advance.

    Published by: Isabelle on November 30, 2012 03:07

    OK, I thought an it once again and found out how to include with any such percentage points.
    In your example expected output you missed the 11 that's why we got 7 groups now.
    The order of the Group 2 and 3 is ambiguous, because the highest percentage of these groups is the same.

    with connects as (
    select distinct
     loc1
    ,loc2
    ,connect_by_root(loc1) grp
    ,percentage per
    from
    temp_value
    --start with
    --percentage != 0
    connect by nocycle
    (prior loc2 = loc1
    or
    prior loc1 = loc2
    or
    prior loc1 = loc1
    or
    prior loc2 = loc2)
    and
    percentage != 0
    and
    prior percentage != 0
    )
    
    select
     loc
    ,dense_rank() over (order by decode(per,0,1,0), grp) grp
    from (
    select
     loc
    ,max(grp) keep (dense_rank first order by per desc, grp) grp
    ,max(per) keep (dense_rank last order by per nulls first) per
    from (
    select
     loc1 loc
    ,grp
    ,per
    from connects
    union
    select
     loc2
    ,grp
    ,per
    from connects
    )
    group by
    loc )
    order by 2,per desc,1
    
    LOC     GRP
    2     1
    8     1
    4     1
    5     1
    1     1
    12     2
    3     2
    6     3
    7     3
    9     3
    11     4
    17     5
    19     6
    20     7
    

    Think we are done now ;-)
    Edited by: chris227 at 30.11.2012 16:46

    Edited by: chris227 at 30.11.2012 17:12
    order corrected

    Edited by: chris227 at 30.11.2012 17:15
    simplification, no need to rank in linking subquery

    Edited by: chris227 at 30.11.2012 17:26

  • 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
    
  • where can I find my id case and repair

    where can I find my id case and repair

    In order to find your Apple ID repair first, go to the Apple device repair status page. Then, enter your case or repair ID in the first field. Then, enter the zip code or serial number in the 2nd field. Finally, click on the submit button. To find your case number go on www. http://supportprofile.Apple.com

  • How can I restore my tabs and groups of tabs after a update to version 36.0?

    I work with many tabs when I use Firefox. I keep classified in groups of tabs, which helps to separate the different children to work I do and interests I have. I have been using this environment for years. When I started my job today, Firefox updated to v36.0, and noted the following behaviors:

    1. There is only one group of tabs when you try to display tabs at Panorama, as opposed to a dozen groups;

    2. normally if the hidden tabs (tabs in the same group as the startup group, and not the default page) downloading of content to what the user clicks on, icon, if any, and the name of the page will show on the tab currently, the tabs display 'New tab' and no icon. It seems, however, the number of tabs that exist across all groups of tabs, but are now ghosts this default value, a group of tabs. I must add, however, I do not count the number of tabs, so I can't be exactly. When you click on it, there is just a blank page. It is so strange that Firefox knows they are there but cannot simply attach the address.

    I tried to restore the following files from my backup of Windows Home Server to the folder AppData\Roaming\Mozilla\Firefox\Profiles\ .default < gobbletygook >:

    1. in the sessionstore-backups folder, I replaced the files previous.js, recovery.bak and recovery.js (not all of the upgrade ~) with the files yesterday and the day before yesterday.

    When that did nothing, I replaced

    2 sessionCheckpoints.json

    I do not see any file with a recent date that seems to be the one that I have to restore. I should add that I don't see hidden files. I thought about the restoration of the whole of the batch, but didn't know how it would affect the program v36.0 and the profile on 35.0.1 files.

    I have deadlines this week and must immediately restore my environment in order to make these possible. I have no address list on my Web pages to work in IE or other. Any help would be much appreciated.

    On a second note, I had been wondering recently if this tab group environment is an appropriate way to maintain my work environment. Sometimes, during the opening of Panorama, I would get an error saying a script takes too much time, but if I clicked on continue, it would display the groups in a few seconds. I considered bringing it in bookmarks, but it would be tedious and more difficult to access and open several tabs. Initially, I tried tabs groups thinking it was just a matter of maintaining a table of addresses (in tabs) with a name or an ID of tab group. How that might go wrong? Well, there, so it is obviously more complicated than that, and I did not know that upgrades would affect the data of a personal nature. That I should abandon the use of tab groups?

    With the help of information from the user, ptressel, in a post here on the existence of sessionstore.js when version 33 was released, I could easily get my tabs and groups of tabs as follows:

    1. close Firefox and, perhaps, wait a few seconds (30 years?) for any final closing of files;
    2. Check if you have a sessionstore.js file in your profile folder, named as I documented in my original post above.
    3. If this is not timestamped before the discovery of your problem, open the sessionstore-backups folder.
    4. Check if the recovery.js file is properly stamped and, if not, the recovery.bak.
    5. At this point, you are likely to find that none of them is before your problem occurring. If so, open your backups from this folder and go through steps 2 to 4 to find a file before your problem occurring.
    6. When you find a file, copy it to the root of your current profile folder and name it, "sessionstore.js.
    7. Open Firefox. Mine opened upwards as you wish.

    It is a solution for Windows. Sorry I can't comment on other platforms, but I'd bet it's just a copy of file and change of name, it is likely even.

    For Windows users, you can find you must sign out and sign in as administrator in order to access backups. You must not logoff your standard account, but do have Firefox closed as described above.

    Hope that helps.

  • Is it possible to save the current tabs and groups so that they can be recharged at any time?

    My Firefox crashes sometimes, and when I start it up again, my groups and tabs that I had are lost, so I need to recreate my history window. Is there a way I can save the groups that I have with the tabs on the inside so that I can retrieve them at a later date.
    "I say that Firefox does not save the whenever I close the browser, so I'm güssing there a file somewhere that contains this information, if I know how is called this file I could save it on my regular schedule and retrieve them if I had to, of course the best solution would be to have a ' save the groups ' & 'Support groups' in the menu.

    Thanks in advance
    DayoJ

    (PIN) App tabs and groups of tabs (Panorama) are stored in session data in the sessionstore.js file in the Firefox profile folder.

    You can use this button to go to the Firefox profile folder currently in use:

  • Research Protect deleted all my tabs and groups of Firefox

    I had about 200 tabs grouped together in about 30 groups of 31.0 Firefox (latest version). The Group appeared when I clicked on the icon to the left of the button "minimize" or press CTRL + SHIFT + E. It is called "your Firefox tabs - group". I also use Xmarks, but I have disabled Synchronization tab recently.

    Generally all the tabs and their groups have been saved when I closed Firefox. Today I opened Firefox and all tabs and groups disappeared! Instead, it opens some search engine called Trovi (www.trovi.com) with "bing results. Its the same in Chrome, Opera and IE.

    My OS is Windows 8.1 update 1 with all updates installed. My antivirus is Avast! with all updates installed. There was some malware installed of course, but I'm not awake me. I ran a 'full system test' in Avast! latest updates, which is the deeper analysis that I know (without my laptop HP ProBook 4730 s restaring). No viruses were found.

    I'm suspecting a program called 'Research Protect' version 2.16.10.61 'Client Connect Ltd. It was installed with PowerISO 6.0 x 64.

    I tried to run the system restore, but it seems that all the restore points I ever created are now deleted! I discovered this by opening the system properties-> system-> system restore Protection. However, 'Protection' is 'On' for my system disk.

    How can I restore my tabs and groups? It is extremely important for me.

    Accidentally, I posted my question twice - my apologies. I marked this as resolved and will continue to ask for help on the other.

    https://support.Mozilla.org/Ta/questions/1014087

    Thank you!

  • How can I remove comments from the users and groups

    I have my in my users and groups in the system preferences a user snd invited another user

    How can I remove them

    Go to Preferences system-> users and groups, and then press the lock to allow you to change the settings. Then choose 'user comments' in the sidebar and uncheck "Allow clients to connect to this computer". This will not make this option disappear, but after that you will not be able to use the Guest user.

    «Respect for the other user, simply choose it in the sidebar and press on the '-' button.» Make sure that no one uses this user.

  • Cases and protection for iPhone 5 &amp; 5 s fit iPhone SE

    Cases and protection for iPhone 5 & 5 s fit iPhone SE

    Yes.

  • Y at - it a lens which corresponds to Iphone 6 + with case and screen shield attached?

    Does anyone know of a lens wide angle for Iphone 6 + which allows that you keep the protector case and Iphone screen still in place? Most of those I've seen State the case and the shield cannot be still attached.

    Thank you

    As each case and screen protector can be a size and a different shape, I doubt there will be an iPhone lens that could correspond with them on.

Maybe you are looking for

  • What is the best source for the usage data?

    Trying to figure out what % of users on different devices browse with Mozilla Firefox.

  • Qosmio G30-141: want to change language from Russian to English Windows

    I have Toshiba Qosmio G30-141 series. I bought in my native country. Here all Toshibas are in Russian. I want English. Please help me to convert my Windows language. I need MUI for Windows Media Center. Please help me for the conversion of my languag

  • Digital IO ports on PXI-6025E support material timing?

    I need to use digital lines for tasks with calendar clock requiring hardware timing sample. PXI-6025E has this ability? If so, each independently configurable port with different sample at the same time clock timings? If this is not the case, what ca

  • How many sticks of ram are there in the HP ENVY m4-1115dx

    I bought a laptop computer refurbushied HP ENVY m4-1115dx and I thought that I had to get 2 places available RAM where one of them has a Giga RAM 8 stick, instead, I checked and found that I had 2 sticks of 4 gigabytes of RAM. I just want to know if

  • Shadows

    How to remove the shadows on the discription of the icon on the desktop? Thank you Joe