A
A
andre77772017-08-22 01:36:09
MySQL
andre7777, 2017-08-22 01:36:09

How to update a column of a second sql table?

Table 1
id | file_id | filename | ...
Table 2
id | file_id | ...
Need to move the file_name column to the 2nd table by matching file_id (not a key)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Boris Korobkov, 2017-08-22
@BorisKorobkov

Would you like to translate from Russian into SQL? "Update" - update, "second table" - join, "by coincidence" - where.

V
vism, 2017-08-22
@vism

Show your code example, what worked and what didn't work.
And we will help you further.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question