• +91 9723535972
  • info@interviewmaterial.com

My SQL Interview Questions and Answers

Question - When would you use ORDER BY in DELETE statement?

Answer - When you’re not deleting by row ID. Such as in DELETE FROM techpreparation_com_questions ORDER BY timestamp LIMIT 1. This will delete the most recently posted question in the table techpreparation_com_questions.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners