mysql - Add all the columns of a consult in SQL -


मेरे पास कॉलम के साथ एक टेबल है

  [a1, a2, a3, a4, a5 .... a]   

सभी मान संख्यात्मक होते हैं और मुझे एक सलाह चाहिए जो देता है:

  [a1, a2, a3, a4, a5 .... a, s]   

कहां एस = a1 + a2 + a3 + ... + a

एस गणना में स्तंभ नाम निर्दिष्ट किए बिना ऐसा करना संभव है?

वैसे भी मैं सबसे अच्छा समाधान का उपयोग कैसे कर सकता हूं?

पहले से धन्यवाद

  SELECT a1, a2, a3, ..., a, (a1 + a2 + ... + ए) एस एस आपके कॉलम से    

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

c# - Confused over DLL entry points (entry point not found exception) -