SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
-- Hint: use Ctrl+Enter for SQL autocomplete create table users_match ( usr1 int, usr2 int ); insert into users_match values (1, 123), (2, 123), (3, 123), (4, 123); select * from users_match; update users_match set usr2 = case when usr1 = 1 then 5 when usr1 = 2 then 6 when usr1 = 3 then 7 else usr2 end; select * from users_match;
Stuck with a problem? Got Error? Ask ChatGPT!
Copy Clear