1046 - No database selected

select count(*) as total from dal_territorio r, dal_territorio_description rd where r.pages_id = rd.pages_id

[TEP STOP]