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

python - Strange behavior using PyQt4's 'pyqtSlot' decorator before another decorator -

c# - UnhandledExceptionMode.ThrowException for AppDomain.UnhandledException -

c# - Process.Kill() returns access denied -