B
bgetson
Right now, I've got 5 different tables (A-E) that each have a field
for a Date, Name, and Profit.
I want to find a way to calculate each record's profit as a percentage
of the maximum across all 5 tables, restricted by records of the same
date. On top of that, I only want to display the records for the most
recent date.
I'm new with SQL, so I haven't yet figured out the syntax to deal with
unions and aggregate functions.
Any help is greatly appreciated.
-bgetson
for a Date, Name, and Profit.
I want to find a way to calculate each record's profit as a percentage
of the maximum across all 5 tables, restricted by records of the same
date. On top of that, I only want to display the records for the most
recent date.
I'm new with SQL, so I haven't yet figured out the syntax to deal with
unions and aggregate functions.
Any help is greatly appreciated.
-bgetson