sql - Merging Row_Number column with other column -


मेरे पास लोग नामक तालिका है, जिसमें दो कॉलम हैं, नाम & amp; उम्र । मैं एक क्वेरी लिखना चाहूंगा जो नाम पंक्ति को row_number के साथ प्रत्येक पंक्ति में मिला दिया जाएगा। ऐसा कुछ: -

  नाम ------------------- [ROW_NUMBER] स्टेन [ROW_NUMBER] एलेक्स [ROW_NUMBER] स्टीवन  

यह संख्या जो मैंने कोशिश की

  चुनें ('[ '+ row_number () ओवर (नाम से क्रम) +'] '+ नाम से लोग    

varchar (100)) + ']' + लोगों से नाम

Comments

Popular posts from this blog

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

jsp - No mapping found for HTTP request with URI with annotation config Spring MVC and Jetty -

sql server ce - Is there some way to make sqlce3.5 and 4.0 co-exist in the C# project -