SupeSite info: MySQL Query Error

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

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