MySQL Forums
Forum List  »  PHP

array two of a kind
Posted by: Pedro Valente
Date: July 09, 2015 10:02AM

Hi, it is possible to build a query that give me two of each.
I have a table with id, user and name.
id is primary key, but user an name could be repeated.
I need two of each user with name. it must be random.

the result will be two row of each user and the name.

tks

Pedro Valente

Options: ReplyQuote


Subject
Written By
Posted
array two of a kind
July 09, 2015 10:02AM
July 10, 2015 04:25PM
July 10, 2015 08:25PM
July 11, 2015 08:29AM
July 11, 2015 12:16PM
July 11, 2015 01:19PM
July 11, 2015 01:53PM
July 11, 2015 01:58PM
July 12, 2015 04:24PM
July 12, 2015 08:04AM
July 13, 2015 06:00AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.