Added sql view for table programs