I have four tables and I would need to extract data from them to calculate the percentage
Table1
ID FK1 FK2 ------------------ 1 1 1 2 2 2 3 3 3