0
I’m trying to ride a SELECT
that displays the person at the top of the list, I did so more is showing her at the end of all "SELECT * FROM usuarios ORDER BY id != ? DESC"
, I’ll give an example, I have a div that shows the names of people logged in example Bruno(eu), maria, rosa, joaquina etc....
I want you to show the name of the person who is always logged in above the others as I would ride this select
?
Per person logged in, you say only you, who is doing the query while logged in? Or all logged in to your system?
– David Alves
all logged in, for example, ta logged in Bruno and Maria, on my screen shows me above Maria, and on Maria’s screen shows her above me, understood ?
– goio
How is it identified that the person is logged in within the table?
– Paulo R. F. Amorim