SQL distinct ID and everything else -


मान लीजिए मेरे पास एक तालिका है जिसमें निम्नलिखित है:

  CUS_ID AB 1 1 0 2 2 0 3 3 1 3 1 3 4 2 0  

क्या एक चयन बयान लिखने और सभी विशिष्ट cus_id को पकड़ने का कोई तरीका है? तो मूल रूप से यह केवल cus_id 3 के लिए एक रिकॉर्ड वापस लाएगा।

  तालिका_नाव से सीआईएस_आईडी चुनें ;  

Comments

Popular posts from this blog

sql - Find last match with latest inserted name in table -

c# - XML serialize base class without knowing derived class -

ios - Invalid IPA: missing embedded provisioning profile. Are you sure this is an ad hoc? -