unknown column 'course' in 'where clause'

by Adrianna Kreiger 3 min read

Re: Unknown column 'm.course' in 'where clause' by Sarang Nair - Thursday, 16 April 2020, 1:47 PM Hi @James, This issue occurs when all the files of Edwiser Forms are not installed on your end. If you install all the files of Edwiser forms then it will resolve the issue.

Full Answer

Is it possible to use temporary column in where clause?

It is quite possible to use where clause and having clause in a single query as they are not related to or dependent on each other.Suppose we have a table Customers with columns CustomerId and City.Then a query like the one below with both where and having clause is perfectly valid

How to use different where clauses for each column?

SQL Query Examples on Multiple WHERE Conditions

  • IN – List
  • GT – Greater than
  • LT – Less than

How to get value containing special symbol in where clause?

  • Any lower case character [a-z]
  • Any upper case character [A-Z]
  • Any number [0-9]
  • Any space “ “ (not multiple spaces-just one)
  • Period “.”
  • Ampersand “&”
  • Open Bracket “ (“
  • Close Bracket “)”
  • Underscore “_”
  • Dash “-“

How to use null in where clause?

WHERE Country = ‘India’ Output:

  1. SELECT ID, Name, Product, City, Country
  2. FROM Customers
  3. WHERE Country = ‘India’

Unknown column 'm.course' in 'where clause'

Hi All, I'm facing this issue when attempting to delete a course and would appreciate any tips or suggestions on how to resolve it:

Re: Unknown column 'm.course' in 'where clause'

Ken, as usual thanks for the pointers. Would a collation mismatch have something to do with it? I shall try fix that before I continue in any case (it's *long* overdue).

Re: Unknown column 'm.course' in 'where clause'

But you would need to supply more information on how you got to this point. Also Edwiser is not a part of core Moodle and so you are more likely to get help from the people who create it.

Re: Unknown column 'm.course' in 'where clause'

Thanks Marcus appreciate the feedback, I've submitted it to to the plugin developers for their feedback too. As for how we got here: trying the delete a course that at some point in time used the RemUI course theme, and then getting the above errors even when changing the course theme to topics.

Re: Unknown column 'm.course' in 'where clause'

This issue occurs when all the files of Edwiser Forms are not installed on your end. If you install all the files of Edwiser forms then it will resolve the issue.

image