SQLite не работает белый синтаксис %@
, но использует ?
FMResultSet *resultOfDesiredCuisine = [db executeQueryWithFormat:@"SELECT * FROM dishes WHERE cuisineId IN (SELECT cuisineId FROM cuisines WHERE LOWER(cuisineName) like ?) AND
categoryID IN (SElECT categoryID FROM categories WHERE LOWER(categoryName) LIKE ?)", cuisineName, categoryName];