Using the prepare_yql() to build the yql.