Added sql search