I want to make an sql statement -
sqlStatement = [NSString stringWithFormat:@\"SELECT * FROM movies where title like \'%%@%\'\",searchKeyword];
Try :
sqlStatement = [NSString stringWithFormat:@"SELECT * FROM movies where title like '%%%@%%'",searchKeyword];
"%%" is the way of printing the '%' character.