Function getSQLType

Gets the SQLite type from either a simple type or another SQLite type.