1046 - No database selected

select r.pages_id, r.pages_status, r.pages_date_event, r.pages_image, rd.pages_name, rd.pages_autore, rd.pages_sottotitolo, rd.pages_date, rd.pages_description from idee_e_opinioni r, idee_e_opinioni_description rd where now() < r.pages_date_event and r.pages_status = 1 and r.pages_id = rd.pages_id order by r.pages_id desc limit 10

[TEP STOP]