mysql查詢select部分進行子查詢-小結

sql模版:select *,(select xx from tableName) from tableNamesql 子查詢使用要注意的:it 只能返回一個值 必定要使用別名區別表,除非使用的表屬性都不重名 再說個最近遇到的問題sql:table select abc.id, (select c.collect_supervisor_id from (select bx.id from t_bi
相關文章
相關標籤/搜索