SupeSite info: MySQL Query Error

User: guest
Time: 2017-4-30 3:08pm
Script: /study/index.php

SQL: SELECT * FROM [Table]categories WHERE catid='1'
Error: No database selected
Errno.: 1046