Help with BBM Groups

Hello all,
My question pertains to BBM groups which isn't specific to either BlackBerry 10 nor BlackBerry 7 and earlier, and I was not sure which one forum location would be appropriate for this question, so I opted to post it to the Downloaded Software section in both the BlackBerry 10 and BlackBerry 7 and earlier spaces.  My appologies if this was not "the right way to do it".
My question is one that I also posted on CrackBerry.com forums but after some time it seems I may stumped the community over there with this one.
Here is what I wrote over there:
"I recently created two BBM Groups and posted them here on CrackBerry with minor fuss. Yay for me. In each forum post I included a QR Code / Bar code of each BBM Group so as to make them easier to join. Yay for me again.
What I realised thereafter was that though this makes joining easy for anyone reading the posts from a screen other than their BlackBerrys, it does NOT make it easy for someone actually reading the thread from their BlackBerry and thinking to themselves "Oh hey, I want to join that group". At least, not that I can tell. I don't think it's possible to scan a QR code on your BlackBerry screen from the same BlackBerry, right? That's my assumption. If someone knows otherwise, please let me know, that would solve my issue.
SO, if I am right in my assumption and one cannot scan a QR / Bar code from one's own BlackBerry when said code appears on the BlackBerry's own screen, I am looking for another way to make it easy for someone reading the post to just "tap or click here" to join the group, to make as easy for someone who would be scanning the QR / Bar code from another source.
I tried getting the text URL for the group from the code and pasting it into a thread, but when it comes up in the CrackBerry app on the BlackBerry, the link is not clickable / tappable. I then tried adding the CrackBerry post editor tool's "Link" too to make the URL text an actual URL, though the only effect that had was that the URL appears clickable / tappable in the BlackBerry's CrackBerry app, but tapping / clicking on it has no effect. After making this change I tried to view the same thread post in my browser both on computer and on the Z10. When I click it DOES react but on the Z10 browser I just get a message "Unable to open bbg:<yadda yadda>".
So I've shared a lot of detail but the point I am really focused on is "is there a way for BlackBerry users to be able to join my BBM Group, on their own, as easily as if they had scanned the bar code, when all they have access to is the phone itself, and no outside media from which to scan the code"?
I am trying to avoid things like "Send me your PIN" and such because that just creates so many more steps and acts as a barrier to entry. Similarly, I don't see myself telling the reader "Just take this bar code you see here, and arrange to print or display it somewhere other than on your BlackBerry screen and then scan it".
Any input on this would be most appreciated!"
Essentially, I'd like to be able to post something that a BlackBerry user can look at on their BlackBerry, and tap / click on it, and boom they're done (i.e. they are at the same place they would be if they had instead just scanned the QR code).

I think there is a case for it. With any luck someone from BlackBerry will see the suggestion and will pass it along.
If you want to thank someone for their comment, do so by clicking the Thumbs Up icon.
If your issue is resolved, don't forget to click the Solution button on the resolution!

Similar Messages

  • Help with a group query

    I have the following table
    EX_ID
    EX_NAME
    EX_SURNAME
    EX_FLAG
    1
    TOM
    JONES
    Y
    1
    JIM
    SLIM
    N
    1
    BO
    SELECTA
    Y
    2
    AIRES
    BEARS
    N
    2
    JIM
    DAVIES
    Y
    3
    PAUL
    BALL
    N
    3
    YOU
    KNOW
    N
    I need to create a query that only displays one of the ex_id’s, it doesn’t matter which one.  When the query has been run it will look like below:
    EX_ID
    EX_NAME
    EX_SURNAME
    EX_FLAG
    1
    TOM
    JONES
    Y
    2
    AIRES
    BEARS
    N
    3
    YOU
    KNOW
    N
    Can anyone help with this query?

    SELECT * FROM
    SELECT *,ROW_NUMBER () OVER (PARTITION BY ex_id ORDER BY (SELECT 0))
    FROM tbl
    ) AS Der WHERE rn=1
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Need Help with Photomerge Group Shot

    I'm trying to photomerge a group shot and having trouble with it.  The person I'm trying to cut out of the source photo gets plopped into the middle of the final photo and I can't line her up with in final shot.  Is there a way I can relocate the section that gets pasted into the final photo?   I'm also have trouble with aligning the photo--how do you know what points to select in the fist and second photo?  I've been playing with it, but the photos get terribly distorted.
    Appreciate any help.  I was expecting Photoshop Elements 10 to make this easy, and so far, it hasn't impressed me.
    Thanks,
       Terri

    OK, here we go:
    Make a selection (in the main image) of the area you want to be replaced:
    Open your other image, select the head to use, and copy it to the Clipboard.  (I simply used another one of the heads in this photo.)
    Back in the main image, use Edit...Paste into Selection:
    Change to the Move Tool and move the pasted-in image to where it looks best:
    You already know what to do next with the Clone Tool.   (Probably have to use Layer...Flatten Image to get rid of all the selections and layers so the Clone Tool can do its work....)
    Ken
    P.S.,  Looks like you did a real good job with the girl on the left.
    P.P.S.,  The image is a bit too small for us to do precision work (but it's OK for this example).  Next time you can try something about 2 or 3 times larger and see if the forum software accepts it.

  • Help with processing groups of records in database

    Ok i'm at work right now trying to finish up a project for my class and what it is is a basic class to process an inner join sql statement generated table from access and order it by the student id in order to group each student together. I have written the sql statement and logic to access the database and return the array of row objects to the command line so i know it is grouping and returning info properly. I have written the conditional if statement to get the gradePoints for A = 4, B = 3, C = 2, D = 1, and F = 0 in a class method (KEEP IN MIND THE GENERATED TABLE CONSISTS OF SID, NAME, COURSE#, COURSETITLE, AND LETTERGRADE) now I just need to process each group of students individually and calculate their overall gpa's. Here in lies the problem. I imagine i need to define current student variables as like
    currentID = s[0].getStudentID();
    currentName = s[0].getStudentName();
    then loop through the values of the array with something like
    for(int j = 0; j < s; ++j)
    if(s[j].getStudentID != currentID)
    Process the grade records for the group Then reset the
    current student to the next in line with another variable
    assignment like
    currentID = s[j].getStudentID();
    currentName = s[j].getStudentName();
    }(end of if)
    Process the row object for the student created by this loop and then add it to the output string
    } (end of for loop)
    Ok so where i need help is the logic to process the grade records for the individual groups and then processing the row object. We haven't gone over anything like this in class and it is the last thing on my list to to do so any help would be appreciated. Also, if you think i'm an idiot keep it to yourself please it's not fun for people who really need help and really would like to know for future reference how to do something to be belittled. Thanks again
    Matt
    Message was edited by:
    djmd02

    sorry i guess is hopuld explain this better...I know
    sql relatively well and the sql statement for my
    query string is rediculously long with two inner
    joins and what it returns is the sid, name,
    coursenumber, coursename, and lettergrade So if you know SQL so well, why haven't you created a ViEW using this "ridiculously long" query and made your life easier?
    Two inner joins? Nothing extraordinary about that.
    this query
    generated table is then used to populate an array of
    objects for each entry in the table. They are already
    put in order depending on sid by the sql statement
    (for example)
    11111 matt deClercq 3380 intro to java A
    11111 matt deClercq 3382 database management A
    11112 john doe 3380 intro to java A>
    and so on. The problem i am having is within the for
    loop to detect the end of each student and process
    their grades for each class and calculate the gpa for
    the whole group of grades that that student has.SQL is a declarative language, not procedural. If you're "looping", it suggests to me that you're pulling all that data into the middle tier and doing the calculation in Java.
    I'm suggesting that there's a perfectly good way to do this calculation in SQL without using your ridiculous query. You might be better served if you try and figure out what that is.
    Hope this makes things a little more clear and makes
    me look a little bit more intelligent than i seemStop worrying about what people think and concentrate on your problem. You're a student. It's unlikely that you're going to appear to be on the level of Bill Joy at this point in your career. I'd be a lot more impressed if you'd stop whining about how people perceive you.
    %

  • PSE 8 - Help with Editing Group Layers

    I am working with some templates right now that are apparently set up in Grouped layers.  I've looked into it, and the best result I can find is that I hav eto "simplify" the group in order to be able to edit the layers.  That doesn't seem to allow me to edit the layers individually, though. 
    If layers are "grouped," does that mean I can't edit the layers?  Please Help!
    Thank you!

    Here is an action someone made just for that.
    http://www.elementsvillage.com/forums/showthread.php?t=48026&highlight=layer+groups
    This action opens the layer groups by deleting the layer group (set) while leaving
    the layers inside.
    So the layers will no longer be in layer groups (sets), but at least you will be able to see
    what's inside the layer groups and edit those layers.
    MTSTUNER   

  • Need Help With Work Group Wiki Page (404)

    I am somwhat of a novice with all this server stuff so I will try to explain....
    I have done a standard server install of OS X 10.5.6 Server on my Xserve. Everything seemed to work like a charm. The only problem I am having is when I select my home page to be my Workgroup Wiki page (inside the standard server prefences window). When I select this and try to test the page with the link under the drop down (open home page), it opens Safari and the header looks right but the page says "Not Found. 404: No group with that name (workgroup) hosted on this server).
    I have a Workgroup and then two other groups....print and interactive. I want people to be able to log-on and see the main work group wiki page and then be able to select to go to one of the other two groups. I have had this working before but had to reformat my hard drive and reinstall the OS.
    From the page that comes-up, I CAN click on the "groups" link in the header bar and that does take me to a working page, but I want to be able to have people go to this workgroup page first.
    Any help would be MUCH appreciated. Thanks in advance.

    Hi,
    If you have the original index.html file installed in the /Library/WebServer/Documents/ folder then your wikid server will use it to display the web service groups.
    If you have changed the index.html file or substituted a different index.html then wikid will not be able to perform its display action.
    HTH,
    Harry

  • Help with excel grouped data and sorting to keep data intact

    I have a master spreadsheet with lots of data. I am trying to grouped the data based on physical address/city, add the values and once done sort it by valuation based on descending order by valuation but my data keep messing up.
    So in Row 1/col A: Address 1; Col B City: XXX; Col C: Valuation $$$
    Row 2/col A: Address 1; Col B City: XXX; Col C: Vauation $$$
    Row 3/col A: Address 2; COl B City: YYY; Col C:  Valuation $$$
    SO I sort by city and in ROw 1/2 same city with same address, I grouped it.  THen I created a new row below Row 3 and add up the grouped data (i.e. ROw 1 and 2).  I go through the entire list to finalize the grouped locations.  
    But when I am done and I sort by Valuation, all my data messed up coz I created a new row with addition of grouped location valuation and the formula gets messed up.
    Any one with ideas please help.  My deadline for this project is just a week away and I am freaking out.
    THanks in advance.

    it seems upload a sample is more clearly about the required.
    KR

  • Help with bbm

    hi can someone help please i have a bbm contact speak everyday yesterday i send a message and it just had the tick next to it and not delivered i sent a few yesterday and today and the same. I tried to pin him but it came up server blocked.  He updates his status all the time and he hasnt since i last spoke to him.  Can anyone tell me what has happened i take it he hasnt deleted as he would have disappeared out of his contact list. 

    If this is occurring with a specific user, it could be a possibility that they don't have service/access to BBI. Try sending the person a text and verify if they are experiencing service challenges with their carrier.
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • Help with nesting groups

    Hey there...
    I have the following set up on OS X 10.4 Server:
    Group1 = gods - members: god1
    Group2 = generals - members: general1
    Folder1 = GodsFolder - Should be available for "gods" only
    Folder2 = GeneralsFolder - Should be available for "gods" and "generals"
    Sharing Settings for the Folders:
    drwxrwx--- admin:gods GodsFolder
    drwxrwx--- admin:generals GeneralsFolder
    So far so good. So What?
    "gods" can not access the "GeneralsFolder"... no matter what I tried. Sometimes at least "gods" could mount the Folder, but the group was never able to write...
    I tried to give the user "God1" "gods" as primary group and added him to "generals", too and vice versa... or I tryed to nest the groups one in each other... Neither way I could get it to work...
    Anyone with a suggestion?

    I tried to start from scratch and disabled Open Directory and deleted all users and activated the services again...
    Here are screenshots and remarks of my new setup:
    http://axellerator.homeip.net/
    I am pretty sure it will be just one click to get this done...

  • Need Help With SQL GROUP BY and DISTINCT

    I am working on a project and need to display the total of each order based on the order id. For instance I want to display the order id, customer id, order date, and then the extension price (ol_quantity * inv_price).
    I would then like a total displayed for order # 1 and then move on to order #2.
    Here is my SQL code :
    SELECT DISTINCT orders.o_id, customer.c_id, inv_price * ol_quantity
    FROM orders, customer, inventory, order_line
    GROUP BY orders.o_id, customer.c_id, inv_price, ol_quantity
    ORDER BY orders.o_id;
    When my code is run it displays the order id, customer id and inv_price * quantity (extension price) but no order total for the order number and a new group is not started when a new order number is started....they are all clumped together.
    Any help is greatly appreciated!!

    Hi,
    user12036843 wrote:
    I am working on a project and need to display the total of each order based on the order id. For instance I want to display the order id, customer id, order date, and then the extension price (ol_quantity * inv_price).
    I would then like a total displayed for order # 1 and then move on to order #2.
    Here is my SQL code :
    SELECT DISTINCT orders.o_id, customer.c_id, inv_price * ol_quantity
    FROM orders, customer, inventory, order_line
    GROUP BY orders.o_id, customer.c_id, inv_price, ol_quantity
    ORDER BY orders.o_id;
    When my code is run it displays the order id, customer id and inv_price * quantity (extension price) but no order total for the order number and a new group is not started when a new order number is started....they are all clumped together.
    Any help is greatly appreciated!!Sorry, it's unclear what you want.
    Whenever you post a question, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using.
    Do you want the output to contain one row for each row in the table, plus an extra row for each distinct order, showing something about the order as a whole (e.g., total inv_price or average extension_price)? If so, you need GROUP BY ROLLUP or GROUP BY GROUPING SETS .
    If you want one row of output for each row of the table, but you want to include something that reflects the group as a whole (again, e.g, total inv_prive or average extension_pcie), then you can us analytic functions. (Most of the aggregate functions, such as SUM and AVG have analytic counterparts that can get the same results without collapsing the result set down to one row per group.)
    Here's an example of how to use GROUP BY GROUPING SETS.
    Way we're interested in employees' salary and commission from the scott.emp table:
    SELECT       deptno
    ,       ename
    ,       sal
    ,       comm
    FROM       scott.emp
    ORDER BY  deptno
    ,            ename
    ;Output:
    `   DEPTNO ENAME             SAL       COMM
            10 CLARK            2450
            10 KING             5000
            10 MILLER           1300
            20 ADAMS            1100
            20 FORD             3000
            20 JONES            2975
            20 SCOTT            3000
            20 SMITH             800
            30 ALLEN            1600        300
            30 BLAKE            2850
            30 JAMES             950
            30 MARTIN           1250       1400
            30 TURNER           1500          0
            30 WARD             1250        500Now say we want to add the total income (sal + comm, or just sal if there is no comm) to each row, and also to add a row for each department showing the total sal, comm and income in that department, like this:
    `   DEPTNO ENAME             SAL       COMM     INCOME
            10 CLARK            2450                  2450
            10 KING             5000                  5000
            10 MILLER           1300                  1300
            10                  8750                  8750
            20 ADAMS            1100                  1100
            20 FORD             3000                  3000
            20 JONES            2975                  2975
            20 SCOTT            3000                  3000
            20 SMITH             800                   800
            20                 10875                 10875
            30 ALLEN            1600        300       1900
            30 BLAKE            2850                  2850
            30 JAMES             950                   950
            30 MARTIN           1250       1400       2650
            30 TURNER           1500          0       1500
            30 WARD             1250        500       1750
            30                  9400       2200      11600(This relies on the fact that ename is unique.) Getting those results is pretty easy, using GROUPING SETS:
    SELECT       deptno
    ,       ename
    ,       SUM (sal)          AS sal
    ,       SUM (comm)          AS comm
    ,       SUM ( sal
               + NVL (comm, 0)
               )               AS income
    FROM       scott.emp
    GROUP BY  GROUPING SETS ( (deptno)
                             , (deptno, ename)
    ORDER BY  deptno
    ,            ename
    ;Notice that we're displaying SUM (sal) on each row. Most of the rows in the output are "groups" consisting of only one row from the table, so the SUM (sa) for that goup will be the sal for the one row in the group.
    Edited by: Frank Kulash on Nov 23, 2011 2:03 PM
    Added GROUPING SET example

  • Help with Radio Group and Web Service

    Hi,
         I created a Radio Group with Dynamic Entry List (Web Service).  It seems my list keeps coming back empty.  I am on SP10. 
         When I deploy I get warnings that "Entry List is missing output fields mapping.  I think this is a warning only because I don't have my form connected to any other components.  I just want to see the radio group populated. I don't think this is the cause. 
    I see references out there to this "Dynamic List" not working until SP12?  Can anyone add some insight to what is wrong?  unsupported until later?
    Thanks!

    I created a new model and the new model works fine.  Something must be cached.

  • Need help with copying group policy links to a new OU

    Good Morning everyone. I hope you can help (pretty sure you can). I am working on a powershell script to copy the OU structure from an existing OU and create a new one and then apply the same group policies to the newly created OU. I have the creation portion
    working fine.  The script creates the OU and all sub OU's however I have not been able to figure out how to get the GP links to copy from anything other than the root OU.  I found this snippet online but I can only get it to work on the root of the
    OU.  The full script is at the bottom.  Right now I am just manually applying the links but I would like to not have to edit this script every time a new GPO is created so I want it to read all of the GP links from the whole OU structure like the
    first part of the full script does.  Thanks in advance for any and all help!
    Roger
    import-module GroupPolicy
    $SourceOU = "Computers"
    $DestinationOU = "OU=computers,OU=MSP,OU=NA,DC=testeucs,DC=local"
    [xml]$gpos = Get-GPOReport -all -ReportType xml
    foreach ($gpo in $gpos.gpos.gpo) {
    if ($gpo.LinksTo.SOMName -eq $SourceOU) {
    New-GPLink -Name $gpo.name -Target $DestinationOU
    #--------Config
    $RegionOU = Read-Host "Enter Region: NA, ASIA, or EULA"
    $NewSiteOU = Read-Host "Enter name of new site"
    $sourceOU = "OU=NBKWin7,OU=NA,DC=testeucs,DC=local"
    $destinationOU = "OU=$NewSiteOU,OU=$RegionOU,DC=testeucs,DC=local"
    $DestCompOU = "ou=Computers,$destinationOU"
    $DestUserOU = "OU=Users,$destinationOU"
    #--------Main
    $adPath= "LDAP://" + $destinationOU
    import-module activedirectory
    Import-Module GroupPolicy
    #Create OUs
    $objDomain=New-Object System.DirectoryServices.DirectoryEntry($adPath)
    $ObjSearch=New-Object System.DirectoryServices.DirectorySearcher($ObjDomain)
    [array] $OUs = @()
    $OUs = dsquery * $sourceOU -Filter "(objectCategory=organizationalUnit)" -limit 0
    $OUsorted = $OUs | sort-object { $_.Length}
    for ($k=0; $k -le $OUsorted.Count -1; $k++)
    $OUtoCreate = ($OUsorted[$k] -replace $sourceOU,$destinationOU).ToString()
    $OUSearch = ($OUtoCreate -replace '"',"").ToString()
    $ObjSearch.Filter = "(&(objectCategory=organizationalUnit)(distinguishedName="+ $OUSearch + "))"
    $allSearchResult = $ObjSearch.FindAll()
    if ($allSearchResult.Count -eq 1)
    "No changes were done on = " + $OUtoCreate
    else
    dsadd ou $OUtoCreate
    "OU Creation = " + $OUtoCreate
    New-GPLink -Name KerberosDESEncryption -Target $destinationOU -Domain testeucs.local -LinkEnabled Yes -Order 1
    New-GPLink -Name WIN8_InternetExplorer -Target $destinationOU -Domain testeucs.local -LinkEnabled Yes -Order 2
    New-GPLink -Name WIN7_DCMSENABLE -Target $DestCompOU -Domain testeucs.local -LinkEnabled Yes -Order 1
    New-GPLink -Name DNS_Suffix -Target $DestCompOU -Domain testeucs.local -LinkEnabled Yes -Order 2

    Here is how to get the current GPO links so you can copy them:
    http://gallery.technet.microsoft.com/scriptcenter/Get-GPlink-Function-V13-b31253b4
    ¯\_(ツ)_/¯

  • General help with material groups, UNSPC codes etc?

    Please could you guys help me explore the following or point me to where I may get more info on:
    Understanding concepts of Material Group and Product Category and exploring the option of having different material groups based on different purchasing organisations and plants
    Effective usage of UNSPC codes especially for determining the correct Material Group
    Setting up more than 1 company code and purchase organisations in the SRM system
    Setting up the business partner and establishing connectivity to R/3 in order to successfully create a PO in R/3.

    Hi
    <b>Please go through these links -></b>
    Re: differece between product categories in SRM and Material Group in MM
    Re: SRM5.0 Not possible to list replicated product categories in SRM
    Re: material group replication from R/3 to EBP
    Re: Material/Product replication - table & field names
    Regards
    - Atul

  • Need Help with an Group By Count

    I'm having some difficulties with a query.
    My results are as follows:
    Acct_num - Route_ID - Service
    12345678 - 1112222 - Gas -
    12345678 - 1112222 - H20 -
    12345678 - 3334444 - Elec -
    98765432 - 8889999 - Gas -
    98765432 - 8889999 - H20 -
    98765432 - 8889999 - Elec -
    What i need to do is write a script that will show me, any acct_num's where the route_id is different. All Route_id's should be the same for all services, but in some cases, they were entered incorrectly and i need to find the invalid ones, so i can correct them.
    Ideally, i would only like to see one row, but if i can just get my results to show me all the acct_num for the ones where the route_id is different, that would be a great start
    I have been trying to use a distinct and do a count on the acct_num, but my counts are ignoring the distinct.
    This is the code i have been using so far, but i don't think it is on the right path:
    SELECT distinct SA.SERVICE_ACCOUNT_NUMBER,
           MR.METER_ROUTE_ID,
    --       ECAT.SERVICE_TYPE--,
           count(SA.SERVICE_ACCOUNT_NUMBER) as ACCT_NUM_COUNT
    FROM SERVICE_ADDRESS SADD,
         SERVICE_ACCOUNT SA,
         SERVICE_SERVICE_ACCOUNT SSA,
         EQUIPMENT E,
         EQUIPMENT_CLASS EC,
         EQUIPMENT_CATEGORY ECAT,
         EQUIPMENT_LOCATION EL,
         EQUIPMENT_LOCATION_EQUIP ELE,
         EQUIPMENT_LOCATION_ROUTE ELR,   
         EQUIPMENT_TYPE ET,
         METER_ROUTE MR       
    WHERE SADD.SERVICE_ADDRESS_ID = SA.SERVICE_ADDRESS_ID
    AND SSA.SERVICE_ACCOUNT_NUMBER = SA.SERVICE_ACCOUNT_NUMBER
    AND SSA.END_DATE IS NULL                             
    AND SSA.SERVICE_ID = E.CURRENT_SERVICE_ID
    AND ET.EQUIPMENT_CLASS = EC.EQUIPMENT_CLASS
    AND EC.EQUIPMENT_CATEGORY = ECAT.EQUIPMENT_CATEGORY
    AND EL.EQUIPMENT_LOCATION_ID = ELR.EQUIPMENT_LOCATION_ID
    AND EL.EQUIPMENT_LOCATION_ID = ELE.EQUIPMENT_LOCATION_ID
    AND ELE.EQUIPMENT_ID = E.EQUIPMENT_ID
    AND E.EQUIPMENT_TYPE_ID = ET.EQUIPMENT_TYPE_ID
    AND EC.EQUIPMENT_CATEGORY LIKE '%METER'
    AND ELE.END_DATE IS NULL
    AND MR.METER_ROUTE_ID = ELR.METER_ROUTE_ID
    AND SA.SERVICE_ACCOUNT_NUMBER IN (6051, 124899)
    GROUP BY SA.SERVICE_ACCOUNT_NUMBER, MR.METER_ROUTE_ID
    --HAVING COUNT(sa.service_account_number) > 1thanks in advance

    If you take your query more or less as it is:
    select <code> SA.SERVICE_ACCOUNT_NUMBER,MR.METER_ROUTE_ID</code>
    FROM (rest of your query) take your query more or less as it is:
    select <code> SA.SERVICE_ACCOUNT_NUMBER,MR.METER_ROUTE_ID</code>
    FROM (rest of your query) and then wrap around it:
    select <code>SERVICE_ACCOUNT_NUMBER</code>,count(*)
    from (your query above)
    GROUP BY saervice_account_number
    having count(*) &gt; 1
    that should give you what you want.
    The inner query gives you all of the account#/route combinations.
    The outer query picks those account#s with more than one route.
    Jon                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Help with order/group by (beginner)

    Hi.
    Im trying to learn SQL developer in school and now I really got a problem.
    I wont be able to talk to my teacher for a couple of days and Im want to do this at home, so
    I can paste my code and describe my problem.
    select ko.ordnr as ordnr, max(sum(a.pris * o.antal)) as summa
    from kund k, kundorder ko, orderrad o, artikel a
    where k.knr = ko.knr
    and ko.ordnr = o.ordnr
    and o.artnr = a.artnr;
    This is in some swedish, but the main thing is that I need to get the maximum price out of
    the order that is the most expensive. But then I need "group by" because its nested and I dont know how to do it.
    If I just write "group by ordnr" I get - 00918. 00000 - "column ambiguously defined", which I dont understand.
    I hope you understood my explanation and hope you can help me!
    Thanks in advance!

    Hej, och välkommen till forumet!
    961354 wrote:
    Warren: Do you want me to post the tables and data, and the expected result for you? Maybe it will be easier for you to help then?Yes, it always helps if you post a little sample data, and the results that you want from that data. Explain how you get those results from that data.
    Always say which version of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}
    If you can illustrate your problem using commonly available tables, such as those in the scott schema, then you don't have to post any sample data; just the results you want and the explanation.
    Let's use the scott.emp table, which contains this data:
    SELECT       deptno, sal
    FROM       scott.emp
    ORDER BY  deptno, sal
        DEPTNO        SAL
            10       1300
            10       2450
            10       5000
            20        800
            20       1100
            20       2975
            20       3000
            20       3000
            30        950
            30       1250
            30       1250
            30       1500
            30       1600
            30       2850If you wanted to find out what the highest total sal for any one department was, and which department had that total, you could do it this way:
    SELECT       MAX (deptno) KEEP (DENSE_RANK LAST ORDER BY SUM (sal))
                                     AS d
    ,       MAX (SUM (sal))       AS s
    FROM       scott.emp
    GROUP BY  deptno
    ;Output:
    `        D          S
            20      10875Here's what happens when you nest aggregate fucntions (such as "MAX (SUM (...)))"). First, all the inner aggregates are computed, using the GROUP BY clause, so it's as if Oracle was running this query:
    SELECT       deptno
    ,       SUM (sal)     AS total_sal
    FROM       scott.emp
    GROUP BY  deptno
    ORDER BY  total_sal
    ;and getting these results:
    `   DEPTNO  TOTAL_SAL
            10       8750
            30       9400
            20      10875Then the outer aggregate functions are applied to that result set. The final result set, when you nest aggregate functions, always has exactly 1 row. Notice that if you had a 3-row table like this, and you said
    SELECT  deptno
    ,       MAX (total_sal)
    FROM    table_x;you would get an error, because deptno is the the SELECT clause, but it's not an aggregate, or a GROUP BY expression.
    Until you post your tables, I can't test it, but I think this is what you're trying to do.
    select MAX (ko.ordnr) as ordnr   --  *****  Added MAX here  *****
    ,       max(sum(a.pris * o.antal)) as summa
    from kund k, kundorder ko, orderrad o, artikel a
    where k.knr = ko.knr
    and ko.ordnr = o.ordnr
    and o.artnr = a.artnr
    group by ko.ordnr;ko.ordnr is a GROUP BY expression, but the GROUP BY only applies to the first pass, when the inner aggregates are computed. That's why you can use ko.ordnr by itself in the SELECT clause.

Maybe you are looking for

  • My G5 reverted to factory settings on its own!

    In the middle of a typical day Mail got locked up... I quit it, then quit all other apps and restarted. Now my G5 restored itself to the original factory settings and my mail is nowhere to be found, it wants me to set up all my mail accounts again. A

  • Need help - MDM -XI - SAP R/3

    Hi, we have got requirment that is to transfer chart of accounts from MDM to SAP r/3 through XI. As i have not worked on MDM Side, can anybody suggest some points , how to do that. Regards, Raghu.

  • Xorg 7.1 new

    are you happy for new Xorg?

  • Saving Purchase order as PDF

    Hello all, we would like to save our purchase orders as pdf file on the pc. We use SAPscript to create the POs. I have already searched the forums, but I didn't find a solution for me so far. I don't wanna use the way over the spool requests and the

  • 9iR2: User can't browse ora_home

    Dear Experts, I installed oracle 9iR2 on my machine (W2K) logged as admin. Then I created a User (no specific rights) on this machine. I logged on with this user and I can't browse the D:\Oracle\ora92. I didn't have this issue with 8i. Is there any r