Smart completion in SQL (&shortcut:SmartTypeCompletion;) is aware of columns types, and primary and foreign keys.