SupeSite info: MySQL Query Error

User: guest
Time: 2021-10-23 8:17pm
Script: /study/batch.common.php

SQL: SELECT itemid FROM [Table]spaceitems WHERE itemid <'1698' AND catid='18' ORDER BY itemid DESC LIMIT 1
Error: No database selected
Errno.: 1046