L
L
lexa_gorchakov192018-09-20 11:16:58
MySQL
lexa_gorchakov19, 2018-09-20 11:16:58

How to insert a value into the database at a specific id?

I have ID and AVATARKA columns.
How to insert AVATARKA path only for ID with value '213?'

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ilya Loginov, 2018-09-20
@lexa_gorchakov19

UPDATE `table` SET `AVATARKA` = '...' WHERE `table`.`id` = 213;

O
ortsuev33, 2018-09-20
@ortsuev33

insert into <table name> ([<Column name>, ... ]) values ​​(<Value>,...) Where id=213

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question