Error: 1054 Unknown column 'keyword_relationships.rank' in 'order clause'
The following SQL statement was executed:
select * from (select distinct properties_office.* from properties_office,property_keywords where property_keywords.keyword_id='371' and property_keywords.property_id=properties_office.id and properties_office.id!='26674' and properties_office.block is null and properties_office.status!='n' order by property_keywords.rank desc ) sponsors union select * from ( select properties_office.* from properties_office, keyword_relationships
where properties_office.keyword_id=keyword_relationships.related_keyword_id
and keyword_relationships.keyword_id='371'
and properties_office.block is null and properties_office.status ='n' and properties_office.id!='26674' order by keyword_relationships.rank desc, properties_office.id desc ) normal limit 0,8
Error: 0
The following SQL statement was executed:
select count(*) counter from properties_office where telephone = '13913863872' and block is null
|
发布日期:2008年01月21日
|