(fix) read SQL table