How to reach vertically on a result of calculated the same column table

Hello

I use the application below to get the results for total tasks. I want to add the number of completed next to her with just a different where clause (filled is not null). How is it possible with the query below. I want it to look like this

Last name Name_E user Code region Code Total jobs tasks completed

Select u.first_name |' '|| u.last_name last_name, tt.name_e, u.user_code, t.region_code, count (*)-total_tasks, tc.*, t.task_code, u.first_name, u.last_name, t.region_code

of canfis.canfis_tasks t, canfis.canfis_task_checkouts tc, canfis.canfis_users u, canfis.canfis_task_types tt

where t.task_code = tc.task_chekout_code

and tc.dfo_user_code = u.user_code

and t.task_type_code = tt.task_type_code

Group of u.first_name |' '|| u.last_name, TT.name_e, t.region_code, u.user_code

order of u.first_name |' '|| u.last_name, TT.name_e, t.region_code, u.user_code

Maybe NOT TESTED! (just a guess)

Select u.first_name |' '|| u.last_name as the name,

TT.name_e,

u.user_code,

t.region_code,

Count (*) total_tasks,

Count (completed_date) completed_tasks

of canfis.canfis_tasks t.

CANFIS.canfis_task_checkouts tc,

CANFIS.canfis_users u,

CANFIS.canfis_task_types tt

where t.task_code = tc.task_chekout_code

and tc.dfo_user_code = u.user_code

and t.task_type_code = tt.task_type_code

Group of u.first_name |' '|| u.last_name, TT.name_e, t.region_code, u.user_code

order of u.first_name |' '|| u.last_name, TT.name_e, t.region_code, u.user_code

Concerning

Etbin

Tags: Database

Similar Questions

  • an alphabet by typing in a cell gives drop down suggestions from previous hits on the same column. But how the drop down to choose the suggestions of the other columns and other sheets.

    an alphabet by typing in a cell gives drop down suggestions from previous hits on the same column. But how the drop down to choose the suggestions of the other columns and other sheets.

    Hi mdsavol,

    Your observations are accurate. The 'suggestions' are previous entries in the same column that correspond to what has been entered so far in the active cell. The only direct user control is to activate the function turn on or off in numbers preferences > general.

    There are other ways to include or exclude items of suggestions:

    • To remove typos in the suggestions list, the user must correct the typos in the cell above the active cell. If they are more in the list, they won't be presented as suggestions.
    • To include selections added to the list, the user must enter these suggestions in the individual cells above the active cell and column where they are wanted as suggestions.

    There was a request here a while there is a list of suggestion 'live' similar to those of some websites, which offers a descending list of possible entries as a type in an input box.

    The only way I see to reach a solution similar to what you have asked is to use as many lines at the top of the non-en-tete of the table section to list the items likely to repeat in your table, and then hide the lines. You'll need a list for each column where you want to use this feature with a list previously planted. Existing items will then require a likely hit up to three, then a click to choose from a list small enough to enter a value into a cell. News he will need to enter in full the first time, but after that it will be put on the list and answer the same thing as the terms preseeded.

    While your setting upward (or decide not to do), consider going on the menu of number (in numbers), choosing to provide feedback from numbers and writing a feature in Apple request. Describe what you want. Explain how he could help the average user numbers, and then hope for the best.

    Kind regards

    Barry

  • How many users can connect to Apple TV at the same time?

    How many users can connect to Apple TV at the same time?

    Your question is a little vague, what do you mean by "users that connect to AppleTV?

  • How can I work with two icloud ID on the same pc?

    How can I work with two icloud ID on the same pc?

    Define "work".

    What exactly do you want to accomplish?

    You can use the iCloud Panel to connect to iCloud account and use a browser to go to icloud.com and sign in with another account.

  • How to share files & folders with other users on the same PC

    We have 2 users on our PC I can find how to 'share' on a network, but not on the same PC (I'm a user 'low tech') all the headings of 'aid' seemed to refer to a network of more than 1 PC

    Files/folders that you want to share between users on the same machine should be placed in the Public, C:\Users\Public directory. That is what concerns the Public directory. MS - MVP - Elephant Boy computers - don't panic!

  • How many times can I reinstall windows 7 on the same computer by using a product key?

    OT: Reinstall Windows 7.

    How many times can I reinstall windows 7 on the same computer by using a product key?

    How many times can I reinstall windows 7 on the same computer by using a product key?

    You can reinstall on the same computer as many times as you want.

    Eventually you may need to activate by using the telephone option.

    Concerning

  • How to apply different fonts to text (words) in the same field

    Please help, how to apply different fonts to text (words) in the same field. I want to select text and apply the font, size and color on the selected text in the field, this code below, the setFont method changes all the text in a field (message) of a select statement to the police. Help, please

            message = new AutoTextEditField("","",maxNumChars,editableStyle)
            {
                protected void layout(int width, int height)
                {
                    super.layout(width, height);
                    this.setExtent(550, 250);
                }
            };
            message.setBorder(border);
            message.setMargin(xyEdgeForMargin);
            message.setPadding(xyEdgeForPadding);
            message.setFont(_menuFont);
    

    Just write your edit as field

    SerializableAttribute public class RichEditField extends BasicEditFields

    {

    int [] offsets = null;

    Are police [] = null;

    String text = null;

    RichEditField (label As String, String text, int [] offsets, make police [])

    {

    Super (label, text);

    This.Text = Text;

    This.Label = Label;

    Offsets = this.offsets;

    This.font = do;

    Add validation for offsets and text here

    }

    RichEditField (label As String, String text)

    {

    Super (label, text);

    This.Text = Text;

    This.Label = Label;

    This.offsets = {0};

    This.font = {g.getDefaultFont ()};

    Add validation for offsets and text here

    }

    / * Here is a method to add customization of fonts as

    setFont (offset, length);

    setFont (offset);

    public void paint (Graphics g)

    {

    g, Clear ();

    for (int i = 0; i)<>

    {

    calculate it according to x, y using offset

    int length = 0;

    g.setFont (do [i]);

    If (i<>

    length = offset [i + 1] - offset [i];

    on the other

    Length = Text.length () - offset [i];

    g.drawText (text.substring (0, length), x, y);

    Super.Paint (g);

    }

    }

    This method is not compiled may have errors and may have many features according to your needs.

  • before I unpack my 7520 one.how while many pages will be it scan at the same time

    before I unpack my 7520 one.how while many pages will be it scan at the same time

    Maybe a maximum of 50 sheets of paper are loaded in the ADF feeder at the same time.

  • How to write a query to return rows with the varchar column that contains even a single occurrence of the characters, such as Ÿ and

    How to write a query to return rows with the varchar column that contains even a single occurrence of the characters, such as Ÿ and

    I have a table whose columns with values such as

    MINNEAŸPOLIS and ¿VV ¿A

    Only the characters that are allowed in this column are alphabets, numbers, spaces, points and supports.

    Please help to write a SQL SELECT with Regexp_like query or any other option.

    Thanks to you all! Under query worked for me. Thank you Frank to explain the concept of hooks inside regexp_like.

    SELECT * FROM testspecial, WHERE REGEXP_LIKE (sampletext, "[^] ^ A - Z ^ a - z ^ 0-9 ^ [^.]") ^ {^} ^]') ;

  • How can I copy and paste a page in the same DC Adobe .pdf?

    How can I copy and paste a page in the same DC Adobe .pdf?

    Open the Page thumbnails. You can select the pages and then drag the pages. When you hold down the CTRL key you can copy pages.

  • How can I animate various mouse Tracker points at the same time during a recording?

    Hey,.

    I'm trying to animate my character so that his left arm cross out his right elbow, and then the fear character and she jumps on the side. I can't animate the arms at the same time in a single record. How can I animate various mouse Tracker points at the same time?

    Playing right now I seem to be only able to animate a point Tracker of mouse at the same time (i.e. his right arm) and when I return to 're-save' so I can animated left arm, right arm recording is saved on and now only point left mouse Tracker.

    Hope that makes sense, let me know if you need me to develop. Thank you.

    Currently, you'll want to separate Tracker mouse behaviors for each hand. Select the puppet in the project Panel, and then add the second behavior mouse Tracker via the add behavior button ("+") in the properties panel. Then, during recording, make sure to disarm one of them so that other behaviors can control the hand that you drag. We are studying ways to improve this workflow for future versions overview.

  • How can I add Lightroom to another account on the same computer mac user?

    How can I add Lightroom to another account on the same computer mac user?

    If you have installed normally he is already there. Simply go to the folder applications and double up until it clicks.

  • can anyone tell how to compare two documents with two controlled with the same mouse pointers

    can anyone tell how to compare two documents with two controlled with the same mouse pointers?

    Windows and OS X can only display a mouse pointer - it is created by the operating system, not the application.

  • Apple TV Audio, how to get both Bluetooth and HDMI Audio at the same time...

    First of all: I'm impressed by Apple TV4, Santa has finally delivered our...
    Saw our first film, OddDog and Australian production turned to the side of the wild South.
    Found by Siri, virtually instant response; Magic really.
    I can highly recommend it, for a light hearted but serious 'real story '...

    Second: my very real problem...
    Santa also gave my wife a pair of Bose SoundLink of Bluetooth around-ear headphones II.
    Brilliant, peeling of Bose to multiple devices is really easy, with built-in cute voice prompts to guide the user, on the headphones for both volume and pause/play control.
    But to my dismay, I can't find a way to have the audio from Apple TV4 on the Bose headphones AND my Sony TV at the same time.

    The Bose headset was designed to allow my wife to listen to his favorite volume, while the rest of us in the room to listen to Sony TV

    Anyone know what I'm doing wrong.
    Apple TV4 parameters lists the option of 'Headphones Bose' or 'Apple TV' as Audio output, not both?

    It is so, even if HDMI might be audio video offering to my Sony TV.

    Moreover, Apple TV4 reaches Bluetooth audio to two Bluetooth headsets simultaneously?

    Anyone know what I'm doing wrong.

    No, this is how it is that I'm afraid.

    Moreover, Apple TV4 reaches Bluetooth audio to two Bluetooth headsets simultaneously?

    Not that I know of.

    If you have any suggestions that you think might improve Apple TV you can send your feedback here at Apple

  • How to make the comparison operation in the same column

    Hello

    here to fix vi I want to make the comparison of the 3rd column operation.

    I tried with different ways, but I didn't want to result.

    Please guide me how to compare the column value with the previous measured all 3rd.

    I want to compare the current value with the previous value, and if the current value is less, one of the previous then LED must be OFF.

    Thank you very much.

    Same basic idea, but less code...

Maybe you are looking for

  • My Safari has been corrupted

    Apple security warning *. Browser blocked for security reasons. Apple has detected that a * virus has infected your system and trying to steal images, data and social network passwords. It is a serious problem of piracy. Remedy immediately as soon as

  • Can not see my active fonts open Type

    I used FontExplorer X Pro years as our font management tool.  In addition, we have had no problems to see in Active FCPX open Type fonts.  However, sometimes recently - an update for Final Cut Pro, or an OS to El Capitan, etc etc - update none of my

  • U430p camera problem

    Dear Lenovo community, I would like to ask for your help. I recently bought a Lenovo IdeaPad U430p laptop, which I am very happy. But unfortunately, while adapting to meet my needs, I accidentally deleted the camera easy to the software list. I was v

  • problem writing series cRIO

    I want to communicate between cRIO-9073, and PC, the master will cRIO. Now am with VISAS for communication, my problem is when I write from PC and read in RIO I can do. But when I write of RIO and read from PC I could not able to read. No value is co

  • Drag items to burn the list do not work in Media Player

    My Windows (in Windows XP service pack 3) player doesn't let me drag items from the library to the burn list album list. A response in January 2010 in this Forum doesn't help - everything he says is refer to the indications, which do not address this