Run query to database query client files main