benten
05/07/2022, 2:20 AMMuezz
05/07/2022, 8:20 AMbenten
05/08/2022, 11:00 PMbenten
05/08/2022, 11:02 PMbenten
05/08/2022, 11:02 PMbenten
05/08/2022, 11:02 PMbenten
05/08/2022, 11:02 PMMuezz
05/09/2022, 6:50 AMbenten
05/09/2022, 7:11 AMbenten
05/09/2022, 7:11 AMbenten
05/09/2022, 7:16 AMMuezz
05/09/2022, 7:21 AMSELECT * FROM complext_query;
any time you want to run that complex query.
This is only a convenience thing that you might find easy to use. As for the problem about duplicates, it is likely that you are using the wrong kind of JOIN
. There are five or six kinds of joins in total i think.benten
05/09/2022, 7:22 AMMuezz
05/09/2022, 7:22 AMMuezz
05/09/2022, 7:22 AMbenten
05/09/2022, 7:23 AMMuezz
05/09/2022, 7:23 AMbenten
05/09/2022, 7:23 AMMuezz
05/09/2022, 7:23 AMbenten
05/09/2022, 7:23 AMbenten
05/09/2022, 7:26 AMbenten
05/09/2022, 7:27 AMbenten
05/09/2022, 7:28 AMMuezz
05/09/2022, 7:32 AMbenten
05/09/2022, 8:28 AMbenten
05/09/2022, 8:28 AMSELECT other_id as id, user_id, campaign_id, title, null as world FROM public.other
UNION
SELECT location_id, user_id, campaign_id, name, world FROM public.locations
benten
05/09/2022, 8:29 AMMuezz
05/09/2022, 9:07 AMbenten
05/09/2022, 9:07 AMbenten
05/09/2022, 9:09 AMMuezz
05/09/2022, 9:37 AMbenten
05/09/2022, 9:48 AM