new sql scripts for all studies page

Added new sql scripts for study_general and study_periods. New dataset is required to view the detail studies panel