Glushk wrote:if you have 12 columns to summ up - it's fine. What if you have them for last 30 years? 360, it would be annoying to type all 360 column names...
Если это ваш дизайн - поменяйте
![Mentor :umnik1:](./images/smilies/umnik.gif)
А вообще в SQL Server есть computed columns and views
![HBZ :pain1:](./images/smilies/pain25.gif)
Glushk wrote:if you have 12 columns to summ up - it's fine. What if you have them for last 30 years? 360, it would be annoying to type all 360 column names...
Glushk wrote:May be somebody had the same problem. There are two the same (identical) rows in the table in SQL. For example , we got this table from Excell. Initially, it was a record of guests viting the restorant, and for whatever reason, we duplicate one row.
We need to have just one row. Problem: How to delete one row?
Thank you.