There are two tables t1 and t2.
t1
| user_id | nick | message | | - | user_1 | text | | - | user_2 | text |
t2
| user_id | nick | | 23 | user_1 | | 45 | user_2 |
How to create a query to fill the user_id column in t1 using t2 data? Thank.
There are two tables t1 and t2.
t1
| user_id | nick | message | | - | user_1 | text | | - | user_2 | text |
t2
| user_id | nick | | 23 | user_1 | | 45 | user_2 |
How to create a query to fill the user_id column in t1 using t2 data? Thank.
Source: https://ru.stackoverflow.com/questions/777583/
All Articles