Error: No database selected

select * from 2p_flashcontent where flagshow ='Active'