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; create table users_update ( usr1 int, usr2 int ); insert into users_update values (1, 5), (2, 6), (3, 7); update users_match join users_update on users_update.usr1 = users_match.usr1 set users_match.usr2 = users_update.usr2; select * from users_match;
Stuck with a problem? Got Error? Ask ChatGPT!
Copy Clear