SupeSite info: MySQL Query Error

User: guest
Time: 2021-10-18 11:29am
Script: /study/batch.common.php

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