We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
select id, pdate, ptype, count(*), sum(amount), from payment PA computer ba, network ca, other da where PA.pdate BETWEEN TRUNC(sysdate) AND TRUNC(sysdate) + .99999 need to join with computer table if ptype =computer and pa.id=ba.id(+) need to join with netork table if ptype =network and pa.id=ca.id(+) need to join with other table if ptype =other and pa.id=da.id(+) group by id,pdate,ptype
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
|Merge two rows in SQL||4||33|
|Query - Duplicate dates with different activities counts||10||45|
|MSSQL join different row from other table||14||66|
|Get data from two MySQL tables||6||27|