Updated code for SQL vs Table example