SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
create table words ( Word varchar(64), Category varchar(64)); insert into words values ('human', 'social'), ('politic', 'social'), ('law', 'social'), ('artificial', 'science'), ('intelligence', 'science'); select concat(w.Word, ' - ', w1.Word) Words, w.Category from words w join words w1 on w.Category = w1.Category where w.Word < w1.Word ;
Stuck with a problem? Got Error? Ask ChatGPT!
Copy Clear