I need a help on build a report by using the SQL.
I have a two tables
1) Document table
2) Fields table
The relation between these tables are
in both the tables..
Basically I need the SQL to get the report as shown in the spread sheet. ( Attached excel sheet)