select sp.item_id from shop_product sp where rownum=1 and sp.usable =2 and sp.item_code='testcode‘ 只查询1行 rownum 关键字