SupeSite info: MySQL Query Error

User: guest
Time: 2015-3-4 8:40pm
Script: /index.php

SQL: SELECT * FROM [Table]spaceitems WHERE itemid='505139'
Error: No database selected
Errno.: 1046