Skip to content

I have 3 table and need exclusive left join

Table_1: Table_2: Table_3: Using 2 left joins I got this: But I do group over the first column and 8 is accumulated twice, I wish to get: I also wish to avoid UNION ALL because my first table is actually a complex query, I wish to avoid its recalculation. https://dbfiddle.uk/?rdbms=postgres_12&fiddle=d601…

how to get single result in using 2 table data

i have to table 2 in same structure .i already get the result by using one table using following query this query will time devide in to the 2 part(time in and time out) .it work fine.now want to get the data from anther table also.it also have same structure attendancedata table. attendancedata table structu…

i can’t Merge two tables

i have one tables attendance main table i created 2 views from attendance table attend view and leaved view view:attend view:leaved after that i used this code to merge attend and leaved view the result was like this result i need each employee has attend time and leaved time in same day Answer This following…