SupeSite info: MySQL Query Error

User: guest
Time: 2017-10-22 1:34am
Script: /study/index.php

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