1
Hello! All right?
I have an image registration system on a portfolio page.
In my database I have a table with a column for the image path and a column called main which is a char(1) which can be’S' or 'N'.
On this system I need the record that has’S' in the main field to be the first line in the query result.
Because the main image needs to be the first record in the result of the SQL query in order to mount the gallery.
There is a way in Mysql to do this.
There is yes, put your query to help with that
– Leonardo Barros