sql - Shortening GROUP BY Clause -


Is it possible to shorten a group with a clause, so that you do not need to repeat the differences in the selected clause ad ? For example:

  SELECT field1, field2, field3, field4 from Table Group to field 1, field 2, field 3, field 4: SELECT field1, field2, field3, field4 Select from table From the group *  

... or something for this effect. I am writing a question which will use the sp_executesql () stored procedure and I am running out of available space in my variable. Thank you very much

Choose whether you are looking for SELECT DISTINCT or DISTINCTROW ?


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -