Handle an empty SQL table