Add from_sql constructor to SqlTable.