Jump to content

Query trouble


kfurlong

Recommended Posts

 

        • Hello everyone,
          I am having trouble writing a query. I can write simple ones, but I am getting a little overwhelmed with these. Basically here is what I have
          completion_counter_data:
Date | Status_Name | Department | Cell | Assembly |
Todays Date Completed New Department Cell Assembly
Todays Date Completed Rework Department Cell Assembly

Todays Date Failed Department Cell Assembly
Todays Date Failed Department Cell Assembly
Todays Date Failed Department Cell Assembly
Todays Date Failed Department Cell Assembly

 
Basically I want to select the number of rows for each Status_Name for each Assembly for each cell with a static department in a specific date range.  So the example table above would return
---------------------------------
Department
---> Cell
----------->Assembly
-------------------->Completed New
------------------------------>1
-------------------->Completed Rework
------------------------------>1
-------------------->Failed
------------------------------>4

 

 

 

 

 

But there will be more assemblies. in each cell and more cells in a static department.

 

I have another query problem, but maybe it can be solved by knowing th answer to this.

 

Any help is greatly appreciated!

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.