group by clause

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to create a group by clause but I have more than 10 field names.
Can this be done with 30+ field names?
 
Try SELECT DISTINCT * from YourTable;

I'm sorry to say that if you are grouping by 30 fields, there's a very, very
good chance that your tables are not normalized properly.
 
Yes, you can have more than 30 fields in the group by clause of a query.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top