mysql for datatable helper