Hi @Alice ,
What is your problem? Is there a problem when creating a job or is there a problem with writing the statement in the job?
If there is a problem creating a job, please refer to:Create a Job
If there is a problem with the statement, please share us your table structure (CREATE TABLE …) and some sample data(INSERT INTO …)along with your expected result? So that we’ll get a right direction and make some test.
Regards
Echo
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.