I ned help creating a query that shows the number of days left before the end of the term. I need the following functions to accomplish this: CONCAT, DAYOFYEAR, NOW. So far I have this for my query:

SELECT CONCAT('There are ',DAYOFYEAR(NOW()),' ',DAYOFYEAR(NOW())) AS `Days Left`;

The result is supposed to say: There are 69 days left before school ends for the spring term!!!

The result I got was: There are 79 79

To calculate the number of days left before the end of the term, you need to use the DAYOFYEAR function to get the current day of the year and subtract it from the total number of days in the term. Here's an example of how you can modify your query to achieve this:

```sql
SELECT CONCAT('There are ', (total_days - DAYOFYEAR(NOW())), ' days left before school ends for the spring term!!!') AS `Days Left`
FROM your_table;
```

Replace `your_table` with the actual name of the table where you store the term information.

In this example, `total_days` is the total number of days in the term. You need to replace it with the actual value. You can calculate this value beforehand or use a separate query to get it from your database.

After making these changes, your updated query will look something like this:

```sql
SELECT CONCAT('There are ', (total_days - DAYOFYEAR(NOW())), ' days left before school ends for the spring term!!!') AS `Days Left`
FROM your_table;
```

Remember to substitute `your_table` with the correct table name and `total_days` with the actual number of days in the term.