Need help/suggestions

hi ,
i need to develop a report --
a report with columns: emp_id, emp_name, manager_number
Basically i have 4 tables -- dept_table, emp_table, time_table, role_table
dept_table has columns ---> dept_id, dept_name
emp_table has columns --> emp_name, dept_number, emp_key, emp_id
time_table ---> time_key, year
role_table --> time_key, emp_key
joins:
emp_table and role_table are joined thru ---- emp_key
role_table and time_table are joined thru ------ time_key
dept_table.dept_id = emp_table.dept_number
parameter of the report:
year from time_table.
for example
the dept_table has 20 depts => 20 dept ids
the emp_table has 100 employees.
these 100 employees wud be assigned to one of the 20 depts. (some employees might be given a wrong dept id which actually doesn’t exist)
Now i need to develop a report with the field columns of the emp_table: emp_id, emp_name, dept_number
where dept_number is not a valid dept_number (i.e. dept_id not present in dept_table)
how shud i proceed?
In discoverer admin, how shud i create the join between the database folders dept_table and emp_table like
master_item detail_item
dept_table.dept_id = emp_table.dept_number (???)
or the other way round???
under options of create join: what shud be the join details which i need to select ??
thanks
Message was edited by:
boyz
Message was edited by:
boyz
Message was edited by:
boyz

Hi Rodwest,
Thanks for the suggestion. But did not work.
(i) For all the employees that are not assigned to a department.
I have created the join and the report as u suggested. I have put 4 fields from emp_table and 1 field (i.e. dept_table.dept_id).
There I could see the employees who are not assigned to any dept has dept_table.dept_id as NULL. So, when I apply the condition dept_table.dept_id IS NULL to pick up all employees without a valid department, it still shows some employees with valid depts.
i dont understand what to do.
(ii) I have proceeded just as u suggested. But I dont see all the depts. some depts are filtered by the parameters (this is the main issue).
I need to have all the depts. and its corresponding employee count irrespective of the parameters.
Some depts are filtered by the parameters. the dept_table doesnt have any of the parameters. There are three parameters, one from time_table and 2 from emp_table. These 3 parameters are filtering the dept_id s and is not allowing all the depts to show up.
awaiting ur response.
Thanks

Similar Messages

  • WM/Menu/Panel - Need Help/Suggestions

    At the moment, I'm running KDE 3.5... with OpenBox3 as the window manager. I like the KDE apps, and the OpenBox look and feel. I really, really like Xfce4's panel and right click on desktop menu, and was wondering if it is possible to give up the DE and just have OpenBox with Xfce4's menu and panel. I could still use the KDE apps but I would not use the DE. I do not like the OpenBox menu, even if it is xml/standard. I know the panel is possible, but not so sure about the menu. I don't want to have to download all of Xfce4 though. I don't need Terminal or Thunar or that stuff.
    If anyone has any ideas or suggestions I'd appreciate it.
    Thanks,
    Zack

    If you want to run XFCE and just substitute Openbox as the window manager, you can look here:
    http://icculus.org/openbox/index.php/Help:XFCE/Openbox
    It's also possible to run Openbox, and then launch the XFCE panel on top of it (xfce4-panel).
    I'll also second that the XFCE apps (Thunar and their terminal program) are quite light and fast.  If you don't want them, they shouldn't get in the way. 
    Chris
    Sjoden wrote:At the moment, I'm running KDE 3.5... with OpenBox3 as the window manager. I like the KDE apps, and the OpenBox look and feel. I really, really like Xfce4's panel and right click on desktop menu, and was wondering if it is possible to give up the DE and just have OpenBox with Xfce4's menu and panel. I could still use the KDE apps but I would not use the DE. I do not like the OpenBox menu, even if it is xml/standard. I know the panel is possible, but not so sure about the menu. I don't want to have to download all of Xfce4 though. I don't need Terminal or Thunar or that stuff.

  • I need help/suggestions with the HTC Rhyme

    Hello,
        I have the HTC Rhyme and I am so unhappy with it.  I hate knowing I have to wait until 2014 until I can upgrade.  I am wondering if anyone else has the issues I have with mine.  1.)  Drops calls alot even when I have all bars.  2.) It is very slow if I try to pull something up online.  3.)  My phone numbers seem to disappear at nothing.  3.)  My phone cuts off randomly without my knowing it.  4.)  My charge never lasts long at all.  In fact I had straight talk before and that phone stayed charged forever and it was a smart phone as well.  5.) My apps disappear as well.  6.) When I am talking to family and friends they are always asking me to repeat myself or I cant hear them. 7.)  Trying to send a picture is like pulling teeth about near impossible for me to do.  8.)  Text messages gets to where they are going sometimes and sometimes not.  9.)  And try to find a decent case for this phone is not easy.  In fact I've not found one yet that I like thats not plastic or silicone.
       Is anyone else having these problems.?? I believe my phone is a lemon if I'm the only one having these problems.  I am not a person to complain about things but even my family and friends say I have a piece of crap for a phone.  What do I do??  Just got the phone in May.

    I totally agree with Ginny.  I have had my phone for about a month.  It won't hold a charge.  Someone suggested turning it off overnight to see if it will take a full charge.  After I did, it wouln't come on.  Still didn't get a full charge.  When I place it in the docking station, it gets so hot I can't hold it to my ear.  It is dropping calls even when I have the full bars.  At times, my phone shows that I am still connected on the call, but the other person can't hear me and hang up.  This is crap.  I can't go until 2014 to get a decent phone.  I want a different phone.  I had a little crappy Samsung Galaxy with TMOBILE and it stayed charged, never over heated, seldom dropped calls and I gave it up for THIS?  Surely you people must have some kind of replacement plan with this phone given all the people that are having the same issues that apparently are not getting fixed.  When I switched from TMOBILE, the guy that helped me with my new phone and plan swore by this phone.  I had done my homework and had seen all the negative responses to the phone, so when I asked him about it during his sales pitch, he assured me everything had been updated and it wasn't happening any longer.  Given that he was a Verizon representative, I believed him.

  • Need help / suggestion in creating realistic thunder particle effect

    I has a lot of problem in creating realistic thunder particle
    effect:
    1) The "particle" I use is a tiny white square, when it
    duplicating it create weird thunder...simply say ithe lighting
    effect look very fake.
    2) The motiton of thunder is too "sharp", it make the thunder
    look like "zip zap"
    3) So far I only can create one thunder bolt but I cannot
    make it split into few thunder bolt and move to different
    direction.
    Can anyone give me some suggestion, either in graphic, math
    or logic?
    Here is my swf file:
    http://www.mediafire.com/?3tayypgnwya

    I has a lot of problem in creating realistic thunder particle
    effect:
    1) The "particle" I use is a tiny white square, when it
    duplicating it create weird thunder...simply say ithe lighting
    effect look very fake.
    2) The motiton of thunder is too "sharp", it make the thunder
    look like "zip zap"
    3) So far I only can create one thunder bolt but I cannot
    make it split into few thunder bolt and move to different
    direction.
    Can anyone give me some suggestion, either in graphic, math
    or logic?
    Here is my swf file:
    http://www.mediafire.com/?3tayypgnwya

  • Need help/suggestion in performance tuning

    hi,
    I have the following
    OVERALL TOTALS FOR ALL RECURSIVE STATEMENTS
    call     count       cpu    elapsed       disk      query    current        rows
    Parse      460   4700.00    5239.96          2          6          0           0
    Execute  6234640362100.0040673190.99  102043906  110604822     123086       49656
    Fetch    150442561100.0011454381.51     515184   13365552          0       92801
    total    7785042927900.00 9183139.50  102559092  123970380     123086      142457
    Misses in library cache during parse: 27
    Misses in library cache during execute: 14
       40  user  SQL statements in session.
      585  internal SQL statements in session.
      625  SQL statements in session.
       10  statements EXPLAINed in this session.Can some one suggest how to check

    Aman.... wrote:
    What do you want us to say about it since it's a summary of the session's trace file? Do you have any particular query which you think is not performing well?
    It's a summary that records an elapsed time of 9.1 million seconds - that's about 106 days - which is quite a long time for a single session running 40 end-user statements.
    Regards
    Jonathan Lewis

  • Need help/suggestions for an older Macbook a1342 display

    I dropped my A1342 and the display went dead... I could still get video to an external monitor from the side port but the lcd was completely out. It also had a small crack on the top corner so I just assumed that the LCD was shot, but I just replaced it with a new one and the display is still dead. What else could I be missing or should I try?

    These are the directions of OS 10.7. Some of the details are different on other OS.
    1. On your husband's computer, go to System Preferences / Users & Groups and click the padlock to unlock.
    (U & G was called Accounts in older OS - not sure what you have on that older Macbook.)
    2. Click the + sign. That will give you a new pane.
    3. In New Account, select Administrator ( the default is "Standard").
    4. Complete all the other fields.
    After this is done, close that pane. Now back in U & G, select Login Options.
    Set Automatic login to your husband's name.
    Restart the computer, and select your husband's name. Check that all is well.
    You can now, if you wish, go back to U & G, unlock and select your own name and click the - sign. That will remove your name from the computer.
    You will also need to configure Mail for your husband's email with his password. When he first clicks on Mail he will be guided through the setup steps.

  • Getting Rid of my Old 14" Analog TV-Need Help & Suggestions

    I am thinking about getting rid of my old 14" analog TV and Verizon provided me with a digital box. I want to replace the TV but it has to be smaller in size. Right now, I have just a white cable going into it.
    1) When I buy a new digital (I need it small in size), will I be able to simply plug this white cable back into the new TV?
    2) I believe I have to return the digital converter but I don't see anywhere on the website on how to do this.
    I am limited in space and would need the same type of connection (not using HDMI). Can anyone recommend a TV small and thin in size that would work?
    Thanks in advance!

    Try searching (Google, Amazon,) or looking at R/S, Target, Best Buy, etc for a "portable HDTV".  Mostly all have AC/DC capability and a wall wart so you can plug it in for power.  Then look for one that has a coax connection for a signal in so that you can use a box and won't need to use the antenna provided.
    Most are like small tablets, with a stand.
    On the other hand, there are small (15") HDTVs out there.
    Anything you get in the digital world should be much thinner than your SD.  I'm running  12" and a 15" RCAs SD, and even my 55" HDTV is thinner than either of those
    You will find that you will undoubtedly need a box and when you get an HD box, it will be larger.  That may change your mind
    Otherwise, you can look at thrift stores, etc, to see if there is an old smaller used SD around.
    HTH,
       starrin

  • Needed help / suggestions. on query

    Hi ,
         I have sql query.
         select count(cd) from bqcusthierarchy h1, bqcusthierarchy h2,
              bqcustomerdeal cd where h1.child = ?
              and h1.parent = h2.parent and h2.child = cd.customer
         Gobal Account     
    Regional Account 1     Regional Account 2     Regional Account 3
    Deal11     Deal21     Deal31
    Deal12     Deal22     Deal32
         Deal23     Deal33
              Deal34
    If h1.child is passed with Regional Account 3,
    will i get count of Regional Account 1 & 2 deals ie. Deal11 + Deal12 + Deal 21 + Deal22 + Deal23 = 5.
    Kindly assist.
    Sachin Srivastava

    When you ask a question, give a complete picture of the problem.
    1) describe your tables.
    2) What does the below data means ???? I
    Gobal Account
    Regional Account 1 Regional Account 2 Regional Account 3
    Deal11 Deal21 Deal31
    Deal12 Deal22 Deal32
    Deal23 Deal33
    Deal34

  • Need Help Putting Together a rMBP so I Have Everything I Need...

    Hello-
    I am having trouble getting the right kind of help from "Chat Now" on apple.com and calling in to get my questions/needs taken care of so that when I get the rMBP I will be sure I wil have what I need to go right online and teach the online courses. I even went to the local apple store and woked with a couple sames guys there, but they were not clear in a couple situations on what I would need with the different options the rMBP gives. so I am truning to the great apple forum for additional help.  this might be too much to ask even for tis forum, but if I can learn a little at a time, maybe I can gradually gain the knowledge I need to have a complete and functioning home office for my personal computing needs and my needs as an online teacher at a university back East. My technical knowledge is not the best, so as far as the rMBP goes, a big problem for me is that I do not have the knowledge to make sure I order everything I need with the changes a new rMBP will bring to my current setup (which is just a basic MBP using a wireless router and a USB cable for the printer that I just connect when I need to print). I realizee my current set up on my desk is not the most advanced, but I would need a pro to come to my office and help me get the best set-up for what I am curently using. It seems that the agents I chat with and/or talk to on the phone are aslo lacking in knowledge to help me put together a rMBP that will be ready to fully use and have with the order all that I need so that I do not have to order additional items in a mad rush to be ready for the courses I am teaching online. I have read several articles about the rMBP so that I cold have some knowledge about what I will need but as I said my techie knowledge is lacking. I am looking at the 15" rMBP with all of the full upgrades that the configure option allows one to get. I am not clear if I do run into trouble with my wi fi and have to use my ethernet cable what I will need to do this. I also have programs that are older that I am guesing I will need to install using a DVD player. I would like to hook up the printer I have or a new Canon printer and use it wirelessly, but for now I will most likely be using it with a USB cable. I am not clear on the thunderbolt technology and if I should get any of these cables for any of the connections. I also would like to get a great speaker system and will need to hook that up, but I am not clear on the best way to do this. I have been wanting an iMac, but I am not sure what is a good slection to get and how to connect it to the rMBP or one of the other 2 older MBPs I currently have.
    If somebody could list for me what I would need to have a complete rMBP that will allow me to do these hookups and connections and explain what would be the best way to complete the various connections so that I have all that I will need to get up and running, I would really appreciate it. Because I do not have any USB 3.0 cables or cables for various additional connections, I would need help/suggestions in this area. I realize this is hard to do not seeing my office, but since I will be starting new with the purchase of the new rMBP and hopefully an iMac (and a new Canon printer and new set of great sounding speakers) getting some advice on what I should order for the various connections would be a hugh help. Part of the problem is with the rMBP and not having used one of these in the past. I know some of the differences with this machine like the lack of an internal SuperDrive and the new ports, but I do not know what cables I will need that will utilize the newer technology this machine and an imac will bring to my office.
    Any suggestions are greatly appreciated, even if you do not give me specific answers, but an idea, for example, of what I might need to connect the speaker system (knowing the best way the new speaker system shold be connected to the rMBP and/or the iMac. I am not even clear if I do want to use the iMac with the rMBP for teaching with a larger display what I will need to connect the imac to the rMBP. is this done by an HDMI cable and if so is there a specific type or example you could mention that is on apple.com?

    There are many differences with the new rMBP. There are ports that I am not sure what I would use them for.  Even the ethernet cable I use now to get the internet will not work with the rMBP.  I thought there would be some additional help on here.  as far as configuring the rMBP there are just a few options but the differences between an older MBP and the new rMBP is great.  No need to reply I will turn off email notifications. I gave as much information as I did because in the past I was told to give more information.

  • So the left side of my iPhone isn't working at all and I even tried turning it off for 5 minutes about 10 million times but nothing is working. Any suggestions on what to do I need help like ASAP!?

    So the left side of my iPhone isn't working at all and I even tried turning it off for 5 minutes about 10 million times but nothing is working. Any suggestions on what to do I need help like ASAP!?

    Have you performed a reset? Tap and hold the Home button and the On/Off button for approximately 10-15 seconds, until the Apple logo appears. Release both buttons and await restart.

  • I need to run an iphone restore from itunes but i don't remember the backup password. any thoughts/help/suggestions?

    i need to run an iphone restore from itunes but i don't remember the backup password. any thoughts/help/suggestions?

    Try entering the password on your iPhone

  • FormsCentral retiring in July???!!!  Are you freaking kidding me?  My clients use this feature all the time.  What do you suggest I do now?  What service do I go with that is comparable to it?  I need help with this asap!

    FormsCentral retiring in July???!!!  Are you freaking kidding me?  My clients use this feature all the time.  What do you suggest I do now?  What service do I go with that is comparable to it?  I need help with this asap!

    I would suggest checking out http://www.logiforms.com. They have really good PDF support for both hosted PDF's and generating PDFs. You can:
    populate PDF forms from a web form submission
    Merge multiple PDF's together using conditional logic
    Include uploaded images in the generated PDF
    Get Electronic signatures on PDF's
    Use conditional logic when creating PDF's
    Convert HTML to PDF. You design in HTML and CSS and use form field wildcards and generate the PDF
    More of the PDF features are explained here:
    PDF Form Creator | PDF Form Maker | V3.Logiforms.com
    They are also offering a 25% discount to anyone coming from Forms Central...

  • My iphone 4 was working good until IOS6 update, now I can't hear anything, my ear phone donot response ...Speaker are ok..if some one call me...they can hear me ...but I can't hear them.....please desperately need help...plz suggest...all reset is done...

    My iphone 4 was working good until IOS6 update, now I can't hear anything, my ear phone donot response ...Speaker are ok..if some one call me...they can hear me ...but I can't hear them.....please desperately need help...plz suggest...all reset is done...except restore ...

    Anyone? . . . :S

  • Just bought an AirPort Extreme, in need for some help/suggestions.

    Hello all.
    Just purchased an AirPort Extreme today, very excited about it as my old router was getting worse and worse.
    Just finished setting up the basics of the extreme right now, set up the network name, password, and all that.
    I obviously know this is a DualBand router, and want to take advantage of it!
    I have two main questions...
    1.  How do I exactly set up the "two" different networks?
    2.  I wanted help/suggestions on what devices I should connect to what network to get the best performance out of it.
    My list of devices in the household:
    - 2012 iMac
      - (2) 2008 Unibody MacBook's.
      - iPad
      - A few iPhones
      - Apple TV
      - PS3
    Most of the time we have two of the Mac's running at the same time, as well as a few iPhones connected based on who's home or not.
    For my Apple TV and PS3, I love to get the best performance possible... Therefore I usually have those running a wired connection to the router.
    Any kind of help/suggestions would be greatly appreciated.
    I'm pretty computer friendly, just want to know the best ideas for the best performance!
    Thanks again.

    1.  How do I exactly set up the "two" different networks?
    Do exactly nothing. By default, both the 2.4 GHz and 5 GHz bands are already broadcasting a signal with the same wireless network name.
    2.  I wanted help/suggestions on what devices I should connect to what network to get the best performance out of it.
    Do exactly nothing. Wireless devices will automatically connect to the 2.4 GHz or 5 GHz band based on their capabilities (an older iPhone cannot connect to 5 GHz, for example)...and...the relative distance between the wireless device and AirPort Extreme.
    If you have newer devices that are capable of connecting using 5 GHz, they will connect at that frequency if they are in the same room or close proximity to the AirPort Extreme.  If you walk your laptop a few rooms away, it will probably connect to 2.4 GHz, since those signals are much stronger than 5 GHz signals.
    The point is, you do not need to be concerned about this. Devices connect to the best signal quality automatically.

  • Hi! Need help on mail can't send or receive tried Bal checked everything I can think of any suggestions? Thank you

    HI need help on mail Mac OS X leopard- can't send or receive anymore have tried checking Bal etc -everything seems ok- there is just a weird icon next to in box a sort of bell which I believe means no  mail setup but I'm stuck any suggestions are welcome thank you regards

    Most of the time I'd suspect one of 2 other things...
    orange.fr has changed their authentication without telling their users.
    Malformed eMails clogging up both ways.
    So anyway, did Connection Doctor say it connected or not? What was exact error if there were some?
    Can you login to their Webmail in a Btowser?
    http://messagerie.orange.fr/mail.html

Maybe you are looking for

  • Can I order more than one keepsake at a time, sent to same address?

    I would like to order several cards and calendars for gifts. Is there anyway to order all the keepsakes at once, having them sent to my address? If not, it looks like $2.50 shipping for each which makes it not very cost effective. Since you can indiv

  • Spotlight won't work after clean install

    I did a clean install of a 10-seat licence of 10.5 server on the primary partition of a Mac Mini. Logged in with the admin account (the only account), I cannot get Spotlight to find anything at all (even searching for something that it should find, l

  • How to use Word

    I want to make a double list o

  • Delivery date not changed in ME22n but only in ME21n.

    Hi all, I have an issue with the PO transaction. In ME21n,if I change the shipping instructions under the delivery tab,via an enhancement the planned delivery time (no of days) changes and hence the delivery date also. However this behaviour is not o

  • INSTALLING ORACLE APPS 12X ON VISTA HOME BASIC

    ive been spending too much time struggling to newly install oracle R12x on windows vista home basic on my laptop HP 4GB RAM but in vain. I successfully installed VMWARE but i cant get it launched, the IE fails to start from there i really dont know w