Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

[1/2HS] mysql : copier une ligne d'une table =?utf-8?q?=C3=A0_une?= autre

3 réponses
Avatar
ajh-valmer
Bonsoir,

Comment copier (ins=C3=A9rer) une ligne compl=C3=A8te (toutes colonnes)
du mail <jean@rezo.net> de la table1 vers la table 2.

Vainement cherch=C3=A9 sous Google, rien ne fonctionne.

Merci et bonne fin de soir=C3=A9e.

A. Valmer

3 réponses

Avatar
fab
'lut,
Comment copier (insérer) une ligne complète (toutes colonnes)
du mail de la table1 vers la table 2.

si table1 a la même structure que table2:
insert into table2 select * from table1;
https://mariadb.com/kb/en/library/insert/
a+
f.
Avatar
ajh-valmer
On Friday 13 December 2019 23:16:30 fab wrote:
Comment copier (insérer) une ligne complète (toutes colonnes)
du mail de la table1 vers la table 2.

si table1 a la même structure que table2:
insert into table2 select * from table1;
https://mariadb.com/kb/en/library/insert/

Je veux insérer une seule ligne complète, celle de
Avatar
Jean-Marc
--Signature=_Fri__13_Dec_2019_23_35_29_+0100_mMN9j7AsTwPAUByZ
Content-Type: text/plain; charset=UTF-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Fri, 13 Dec 2019 23:30:30 +0100
"ajh-valmer" écrivait :
On Friday 13 December 2019 23:16:30 fab wrote:
> Comment copier (insérer) une ligne complète (toutes colonne s)
> du mail de la table1 vers la table 2.

si table1 a la même structure que table2:
insert into table2 select * from table1;
https://mariadb.com/kb/en/library/insert/

Je veux insérer une seule ligne complète, celle de et>

insert into table2 select * from table1 where <ta clause where>;
Jean-Marc
https://6jf.be/keys/ED863AD1.txt
--Signature=_Fri__13_Dec_2019_23_35_29_+0100_mMN9j7AsTwPAUByZ
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEEWjgcRC0dCXkfm9hQHHLXC3pxPwFAl30EjEACgkQQHHLXC3p
xPyYOQ/6A1ps6nD7C+g2SCfGGQUgkUDMgH4sJJjPpr17jLYyjvBDQ6sM3MGvIBn0
gQNLSsxZ+MlfTxQJDshGf/RuO47CQfjN0dP9F8BamerkWp/7SchxE9JQ0w/8uLfP
mggQvh1hwpyyR4tBBGMn9XOWtt4iWK0lHlpxe9d4CdweHs+NGZWu04G7YgcPdEY0
gd5qRJMyNk4z2NgQuYfIUlbGtICSyX9YvYp8hjnBIcw1PsYQfO6qtKxWJr2mIM7n
dymvO8R/JLDaDbl76B8n6IZ7wwW7vDT1c0yITiceh4zBP7oKSVEmOp/aKaMikDLT
+C5dcLdv4HiLKxFGuxM5zEySrVAA2XH4Yv+EuhbPo0Y3kDghynk/KjTVI9jtMDLc
En8UlVED5Hjk7F+oADG0crq7GImQ4H4AmLVTlqvX6XrLTSZr0yV3Phwskya4JVFF
5wJ6YZ0NgpMga+qp6ZRrHuKFHx1rHa7zT/0BN3gcphX4YcEJR9uPcrJDn6Ky3CQ2
uJ1tElur+MEPW7D21rwMqE7pz7nAJSKmn7H3oWD1VMsvKhdsHgK36SNwjlbs5AZe
ppcCv1jSJePVH9SnnmKTSaxeViFpLKpyW4L7u9tQwUDbsu8QSshdkzSWl/gNfj5m
b79jY8zHB4WikdEFPDNkjEvUS+OUpeZPEqZUCJXRhbZWuNI2TgM =djYL
-----END PGP SIGNATURE-----
--Signature=_Fri__13_Dec_2019_23_35_29_+0100_mMN9j7AsTwPAUByZ--