SELECT * from inventory where hfdcat='3'and subcat='9' and catnr='2' and name='name' ORDER BY datetime DESC