SupeSite info: MySQL Query Error

User: guest
Time: 2021-12-5 7:32am
Script: /study/batch.common.php

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