Enhancement

Added functionality to manage SELECT queries