Four or more tables need to be combined such that the query can be run on all tables with one Query to produce DISTINCT text, sums, counts, etc.
I have three queries that process correctly by simply changing the table. (FROM “Table1”) The results are grouped by unique values as sums and counts. This situation is not addressed by any Libre documentation and attempts to implement any JOIN kill both BASE and CALC.
Example:
– Stairs Weight-- Works with “Stairs”, “Decking”, “Frame” and “Guard” tables.
SELECT DISTINCT
“Assembly”,
COUNT( “Weight” ),
“Section”,
SUM( “Weight” )
FROM
“Stairs”
– Adding
– "“Decking”, “Frame” and “Guard” Kills LibreBASE and LibreCalc
GROUP BY
“Assembly”,
“Section”,
“Object type”
HAVING
“Object type” = ‘Part’ OR
“Object type” = ‘Simple Extrude’ OR
“Object type” = ‘ACIS Solid’
ORDER BY
“Assembly” ASC,
“Section” ASC;
Any suggestions??
Thank You - Jerry