> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mindsdb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Remove a Job

## Description

The `DROP JOB` statement deletes the job.

## Syntax

Here is the syntax for deleting a job:

```sql theme={null}
DROP JOB [IF EXISTS] [project_name.]job_name;
```

The `project_name` value is optional. The `job_name` value indicates the job to be deleted.

Let's look at some examples:

```sql theme={null}
DROP JOB my_project.retrain_and_save_job;
```

Here we drop the `retrain_and_save_job` that resides in the `my_project` project.

And another example:

```sql theme={null}
DROP JOB create_table_job;
```

Here we drop the `create_table_job` job that resides in the current project.

To learn more about projects in MindsDB, visit our docs [here](/sql/project).
