SupeSite info: MySQL Query Error

User: guest
Time: 2017-5-25 4:41pm
Script: /study/index.php

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