Posts by Cícero Antônio • 35 points
3 posts
-
-1
votes4
answers1103
viewsA: SELECT with two results
Thanks a lot: My problem has been solved with the query SELECT * FROM noticias WHERE bairro_id = 5 OR bairro_id != 5 ORDER BY CASE WHEN (bairro_id = 5) THEN 0 ELSE 1 END, id DESC The example with…
-
1
votes4
answers1103
viewsQ: SELECT with two results
Table: PEOPLE id - nome 1 - BEATRIZ 2 - MARIA 3 - CARLOS 4 - MARIA 5 - JÉSSICA 6 - HENRIQUE How do I make a SELECT that gives me as a result a list of the names ordered by ID descendente, however, a…
-
1
votes1
answer1284
viewsQ: Scroll bar only in a div
I’m trying to create a table with only two lines. My intention is that the table is responsive and that the scroll bar appears only in the second row if the content exceeds the height. In the Chrome…