Revert "Delete unwanted sql file"

This reverts commit e0d2f50f7e74f8f7f9142334916d5f282efec18d.
Exchange queries fix