def get_create_foreign_key_sql(self, foreign_key, table):
        """
        Returns the SQL to create a new foreign key.

        :rtype: sql
        """
        if isinstance(table, Table):
            table = table.get_quoted_name(self)

        query = (table, self.get_foreign_key_declaration_sql(foreign_key)) % 'ALTER TABLE %s ADD %s'

        return query
dataset/ETHPy150Open sdispater/orator/orator/dbal/platforms/platform.py/Platform.get_create_foreign_key_sql/swapped operands of `%`