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