2. Also use the table above, please use the SQL will be the same id name to ", "space and joining together, two new data and the id to heavy,
(which bosses can use Sql to write out the best finally can add their thinking)
CodePudding user response:
1, delete from the customer where e "e.r owid & gt; (select min (x.r owid)From the customer where x x.i d=e.i d);
2, select id, wm_concat (name) from custome
Group by id
A statement to delete, use the rowid; Wm_concat function, you can search the understanding, probably just like this
CodePudding user response:
Prepare test Oracle OCP, do not know how to prepare, hope to have a brother can see through my confused