• +91 9723535972
  • info@interviewmaterial.com

My SQL Interview Questions and Answers

Question - If the value in the column is repeatable, how do you find out the unique values?

Answer - Use DISTINCT in the query, such as SELECT DISTINCT user_firstname FROM users; You can also ask for a number of distinct values by saying SELECT COUNT (DISTINCT user_firstname) FROM users;

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners