SupeSite info: MySQL Query Error

User: guest
Time: 2017-10-23 11:13pm
Script: /study/index.php

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