0
廣東話我們寫的子查詢中的SQL SELECT語句/視圖仁科如下着我們在仁科寫子查詢的select語句查詢
select t1.*,
(select count(id) from t as t2 where t2.id<=t1.id) as row_number
from t as t1 order by Id
感謝,
希亞姆
廣東話我們寫的子查詢中的SQL SELECT語句/視圖仁科如下着我們在仁科寫子查詢的select語句查詢
select t1.*,
(select count(id) from t as t2 where t2.id<=t1.id) as row_number
from t as t1 order by Id
感謝,
希亞姆
可以。
將您的記錄保存爲SQL View。查詢視圖類型用於使用查詢工具,該工具是一種更適合不熟悉SQL的圖形編輯器。它對於非標準的SQL結構有一定的限制。
在SQL視圖中,您可以直接寫下查詢SQL。