|
I have an unusual problem where I have a list of fruits (apple, orange, banana, grapes, etc etc). They can be organized into small groups for example:
Group 1: apple, green_apple, pineapple Group 2: grapes, banana, strawberries, apple Group 3: orange,...
Started by erotsppa on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Changed it in the future so that an item could be in multiple groups (like a regular price group it's called) method rather than pointer equality when determining keys, so you might have: 2
Another way is to use NSMutableDictionary....
|
|
I'm a MySQL user who is trying to port some things over to MS SQL Server.
I'm joining a couple of tables, and aggregating some of the columns via GROUP BY.
A simple example would be employees and projects:
select empID, fname, lname, title, dept, count...
Started by DanM on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Also you"it ....
That's the only way to do it * - just copy and paste the non-aggregated columns into the group by clause, remove = e.empID
This way you avoid the extra group by operations, and you can get any data you want.
|
|
I have those maps in my repository.
public IQueryable<AwType> GetAwTypes() { return from awt in _db.AwTypes select new AwType { Id = awt.Id, Header = awt.Header, Description = awt.Description }; } public IQueryable<Aw> GetAws() { return from...
Started by spinodal on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This can only be done by listing every single field in a table in the group statement, so in your caseYou can group....
Each AwType in that query is a unique reference, so n.
Be a bad idea to group on that reference type...
|
Ask your Facebook Friends
|
I have been working on my own in programming with the exception of stackoverflow.com and I was wondering is there a way to prepare for group programming if I want to go into a company or programming group?
Started by H4cKL0rD on
, 11 posts
by 11 people.
Answer Snippets (Read the full thread at stackoverflow):
Not only does it give you an easier way to practice working with other developers people's code (take....
Here are a few tips that should help you fit in with a group:
Learn software project.
In the correct way will reap big rewards.
|
|
Hello everyone.
Im current implementing the permission like this:
Permission UserPermision User PNAME PID PID UID PVAL UID UNAME
This concept work fine, but at somepoint, we will want to add a Permission grouping like admin, guest, power user, or something...
Started by DucDigital on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
So perms map n-n to roles, roles map n-n to users User UID UNAME
An alternative could be to introduce a new Group table and create a GroupPermissions/UserGroups table to map permissions....
But it is nightmare on maintenance as it scales).
|
|
I'd like to conduct a group Kata session, to get my software developer group to pick up the practice.
I'm thinking of giving some of the sample problems out there, and splitting the group into two teams. The solutions may be developed in different languages...
Started by mparaz on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
I went ahead with the group.
Also see Pragmatic Dave's 21 Code Katas.
Aren't Katas basically practicing the same procedure over and over again?
So a true code Kata would article, Practicing Programming .
|
|
We just started a .NET Users Group in Missoula, MT. It seems hard to get members to speak, but many people like to attend. What is the best way to encourage attenders to become speakers?
We usually have two 1-hour presentations per meeting.
Started by Lance Fisher on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
You can also get external speakers to come if they only have to present... .
(Groups are also great practice for conferences.) A lot of people who would never volunteer to speak will do so with a bit of gentle nudging.
It to the group.
|
|
I have a table that holds products, another that holds variations and a third that hold product variations (many products can have many variations..both ways). I want to display (group by) each product and show the variations.
what i've read is just looping...
Started by kdmgolfgod on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
The group by clause , or order by clause may be your friend here request // output the contents of the cache....
Onetomany
I would suggest modifying your SQL to show the data you want, that way there should be no need manually modify the data.
|
|
I need to select a number of attributes for all of the users in a particular group from a PHP application. I realize that I could query the 'member' attribute of the group to get the dn of every member and then make a separate LDAP query for the attributes...
Started by Adam Franco on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Could you show the code of the relevant ldap_search() you .
As a way of isolating the problem.
|
|
I have a table which contains a book and then multiple prices about the book (this is a highly simplified sample):
ID BOOK PRICE 1 BOOK1 10 2 BOOK1 15 3 BOOK1 12 4 BOOK2 8 5 BOOK2 2
I am easily calculating the average, but there must be a nice way to ...
Started by NoahD on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
There is no built in function - so you have to use code to loop through the records and calc],"SentTo") AS [Median Sent] FROM Statistics GROUP BY Statistics.Month;
And a User Defined Function.
|