grouping with more than 1 field

dear all, i just want to know, it is posible to make a group base on the dataset but using multiple field like <q1."isManager"> and <q1."isFieldWorker">, other than using nested group for each condition.

thanks and regards,
ryan

Comments

  • edited 3:04AM
    One suggestion would be to join or concatenate your two fields into one and group on that calculated field.

    Something like this within your query:

    Select isManager+isFieldWorkder as MasterGroup,isManager,isFieldWorker
    From MyTable
    Group by MasterGroup

    Regards,

    Django
  • edited 3:04AM
    thanks for the solution, that's what i do now. it working perfect. ;)

Leave a Comment