Monday, August 8, 2022
HomeWordPress DevelopmentMethods to write SQL question to get knowledge by a number of...

Methods to write SQL question to get knowledge by a number of situations?


I have no idea English in any respect, so I’m writing by way of a translator. My data could be very restricted

There are posts on wordpress, these are orders, on these orders 4 fields are created by way of the Superior Customized Fields plugin: rab-1, rab-2, sum-rab-1, sum-rab-2.

Every order may be carried out by one or two employees, so the fields rab-1, rab-2 imply the primary line and the second line of labor, additionally relying on the road, sum-rab-1, sum-rab-2 are paid.

The rab-1, rab-2 fields include the worker’s knowledge, his id (for instance, 981,982,983), and the earnings within the sum-rab-1, sum-rab-2 fields.

enter image description here

On the output, I would really like the next for worker 981

enter image description here

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments