mysql中爲查出來的數據加序號,以及left join序號混亂解決辦法

mysql給查詢出來的信息再加一個字段顯示序號。html mysql中能夠這樣寫java SELECT a.id id, a.client_id clientId, a.create_time createTime, a.update_time updateTime, @y:=@y + 1 AS num FROM (SELECT @y:= 0) c, app_info a 這樣寫直接
相關文章
相關標籤/搜索