查询price大于5636.36的结果为什么要加id和name列?
SELECT goods_id,goods_name,goods_price FROM tdb_goods WHERE goods_price>=5636.36;
为什么要加上goods_id和goods_name列呢?直接查goods_price不就行了吗?
SELECT goods_id,goods_name,goods_price FROM tdb_goods WHERE goods_price>=5636.36;
为什么要加上goods_id和goods_name列呢?直接查goods_price不就行了吗?
2016-08-22
举报