ERR_PARAMETERselect count(*) from chinadynasty d, china t where d.chinadynastyid = 30 and t.chinadynastyid = d.chinadynastyid