select * from mdl_course where id =1971' at line 1 mysql> select * from mdl_course where id =1971; +------+----------+-----------+----------+----------+-----------+----------+---------+--------+------------+---------+-----------+---------+----------+---------+----------+-------+------------+-------------+-------------+--------+----------+-------------+---------+----------------+-----------+----------------+------+-------+------+----------+-------------+--------------+------------+-----------+-----------------+--------------+-----------------+----------------+------------+----------------+--------------+-------+-------------+ | id | category | sortorder | password | fullname | shortname | idnumber | summary | format | showgrades | modinfo | newsitems | teacher | teachers | student | students | guest | startdate | enrolperiod | numsections | marker | maxbytes | showreports | visible | hiddensections | groupmode | groupmodeforce | lang | theme | cost | currency | timecreated | timemodified | metacourse | requested | restrictmodules | expirynotify | expirythreshold | notifystudents | enrollable | enrolstartdate | enrolenddate | enrol | defaultrole | +------+----------+-----------+----------+----------+-----------+----------+---------+--------+------------+---------+-----------+---------+----------+---------+----------+-------+------------+-------------+-------------+--------+----------+-------------+---------+----------------+-----------+----------------+------+-------+------+----------+-------------+--------------+------------+-----------+-----------------+--------------+-----------------+----------------+------------+----------------+--------------+-------+-------------+ | 1971 | 0 | 1001 | | | | | | | 0 | NULL | 0 | | | | | 0 | 1200268800 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | | | | | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | | 0 | +------+----------+-----------+----------+----------+-----------+----------+---------+--------+------------+---------+-----------+---------+----------+---------+----------+-------+------------+-------------+-------------+--------+----------+-------------+---------+----------------+-----------+----------------+------+-------+------+----------+-------------+--------------+------------+-----------+-----------------+--------------+-----------------+----------------+------------+----------------+--------------+-------+-------------+ 1 row in set (0.01 sec) mysql>