Added new table  and made corresponding changes in SQL queries. Also updated SQL file and used _SERVER variable wherever required