General developer forum

how sql query with moodle

This discussion has been locked because a year has elapsed since the last post. Please start a new discussion topic.
Picture of Alexandr Zhuikov
Re: how sql query with moodle

In my script:

replace ... INNER JOIN mdl_log L ON = L.userid ...

with ... INNER JOIN {log} L ON = L.userid ...

It'll be work fine, when you want to change DB table's prefix.

Average of ratings: -