SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
create table a (id int, b text, c int); insert into a values (1, 'abc', 5), (1, 'cde', 5), (1, 'cde', 5), (1, 'qwe', 5); select min(id), min(b), min(c) from a group by b having count(b) = 1;
Stuck with a problem? Got Error? Ask ChatGPT!
Copy Clear