Posts by Alexandre Saura • 3 points
3 posts
-
0
votes1
answer113
viewsA: How to exchange a column id for the name in the same table in Mysql?
I got it, that was the code: select d1.id_numero_depto, d1.nm_depto, d2.nm_depto from tb_depto d1, tb_depto d2 where d1.id_numero_depto_superior = d2.id_numero_depto and d1.id_numero_depto_superior…
mysqlanswered Alexandre Saura 3 -
0
votes1
answer113
viewsQ: How to exchange a column id for the name in the same table in Mysql?
I want to select and instead of receiving the top number I want his name which is nm_depto. How can I do this? SELECT d.id_numero_depto, d.nm_depto, d.id_numero_depto_superior FROM tb_depto AS d;…
mysqlasked Alexandre Saura 3 -
0
votes1
answer526
viewsQ: How to make ul inline responsive?
I want to make this code responsive, but always stop being responsive when there are two lines and three columns. nav li { display: inline-block; } nav a { display: block; padding: 1em; margin:…