SupeSite info: MySQL Query Error

User: guest
Time: 2021-7-31 7:58pm
Script: /study/batch.common.php

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