6

Gosh!! Do not want to look at my shitty face in the mirror when i get to know that there is a DESC syntax in SQL for sorting data automatically even after i manually finished sorting them in Php.. #Fuckmylife #newbie

Comments
  • 1
    Some magic happens when you realize that by knowing a bit more SQL you can save yourself a TON of work. Not to mention make your data access layer portable (I like to jump between PHP, NodeJS and Java).
  • 1
    @Seethe yeah man!! Being a newbie to something is hardest part. Just chin up and need to work hard :)
  • 1
    sql is very powerful, there's so much I've been able to do in it after trial and error the last year that I used to do in php. sorting, combining multiple rows and columns into 1, running 1 query instead of doing php and running another one.
  • 0
    @elraE same here. In fact I've been able to basically remove the model logic layer from most of the languages I use and deliver faster, more consistent results from the database layer than I ever could using object or array manipulation. I'll never go back to an ORM style.
  • 0
    Research before implementing something, it serves me well :)
Add Comment