add the function that we can get the one array with the sql  sentence and get the first or only one array.