Select id from tbl_noticias where urlfriendly='viva-el-18disfruta-sanamente-las-fiestas-patrias' No database selected