A
A
allaga2019-06-20 06:20:10
Time Management
allaga, 2019-06-20 06:20:10

Should a person be multitasking at work?

Hey!
Recently, the issue of multitasking at work has begun to bother, i.e. you don't have to wait for one task (for example, the process of downloading and installing software) to finish if you can do a lot of small useful actions during the wait, such as reading a blog, setting up other software, making a cup of tea, making a plan, etc. To make the most of the time you are waiting
for Question: if during the download and installation of the software to divert attention from the main work, then productivity will not fall?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
archelon, 2019-06-20
@allaga

Everyone is different.
And the work is different (rendering or compilation is an integral part of the workflow for many).
And a person has his own characteristics. Someone should be distracted for a second - and that's it, fell out of the stream, lost for the rest of the day. The other, on the contrary, needs to constantly switch between tasks, otherwise he does not know how.
So see for yourself.

T
TyzhSysAdmin, 2019-06-20
@POS_troi

hrishb0i4o1eqayrtod7yl6jm5y.png

O
opencart-russia, 2017-08-17
@karjan

forum.opencart-russia.ru/threads/vyvedenie-novyx-t...

A
Andrey Nikolaev, 2017-08-15
@gromdron

Readable Code
$sql = "SELECT
      p.product_id,
      (
        SELECT AVG(rating) AS total 
        FROM " . DB_PREFIX . "review r1 
        WHERE r1.product_id = p.product_id AND r1.status = '1' 
        GROUP BY r1.product_id
      ) AS rating,
      (
        SELECT price 
        FROM " . DB_PREFIX . "product_discount pd2 
        WHERE 
          pd2.product_id = p.product_id 
          AND pd2.customer_group_id = '" . (int)$this->config->get('config_customer_group_id') . "' 
          AND pd2.quantity = '1' 
          AND ((pd2.date_start = '0000-00-00' OR pd2.date_start < NOW()) AND (pd2.date_end = '0000-00-00' OR pd2.date_end > NOW())) 
        ORDER BY pd2.priority ASC, pd2.price ASC LIMIT 1
      ) AS discount,
      (
        SELECT price 
        FROM " . DB_PREFIX . "product_special ps 
        WHERE 
          ps.product_id = p.product_id 
          AND ps.customer_group_id = '" . (int)$this->config->get('config_customer_group_id') . "' 
          AND (
            (ps.date_start = '0000-00-00' OR ps.date_start < NOW()) 
            AND 
            (ps.date_end = '0000-00-00' OR ps.date_end > NOW())
          )
        ORDER BY ps.priority ASC, ps.price ASC LIMIT 1
      ) AS special";

And the question arises: what is the date of the product?
Suppose you have a table p (or whatever you have, the main thing is that p is a table or alias), there is a field "created_at", which stores the same "product date"
Then after the query you can add:
And then it will issue those same data but sorted by descending "product date"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question