distinct rows


Posted on 16th Feb 2014 07:03 pm by admin

Hi
version 10.2.0.3

I have a query output something like the following
Did you know?Explore Trending and Topic pages for more stories like this.

ID name
1 aaaa
1 axbd
1 adga
2 sgfd
2 dfdg
3 dfdff
4 dfdff

my desired result is

ID name
1 aaaa
2 sgfd
3 dfdff
4 dfdff

could yo help me please on the query please?

Thanks
No comments posted yet

Your Answer:

Login to answer
305 Like 13 Dislike
Previous forums Next forums
Other forums

Warning: mysql_num_rows() expects parameter 1
When i add quote at the end of this link
example:http://localhost/articlemania/category.php?cid=3

foreach and array need help combining
Hi guys.

Here's the code

Code: array(
'tag' => 'code',<

Filtering Tables
Hello Thanks for any help any one can give Im very new to PHP..

I need to pull data for clien

Two warning messages
Quote<b>Warning</b>: mysql_real_escape_string() expects parameter 1 to

simple php table loop
Hi all,

I've the following code

<?php // Create category options

Greek characters in php
Hi,

I'm making a script and I m using for first time greek characters.
I started to write

understanding functions and classes
Code: [Select]
class person {
var $name = "Jimmy Goe";

function get_nam

Mysterious Timeouts
I've deployed a few simple AJAX-enabled web page to a local server that is accessed through the Inte

rename the file
File.txt

Code: ***DOCUMENT***
..DN:
000044255
..CB:
..SN:
..PY:
2009
..E

close site for maintenance
i get a tutorial, saying the following code can put our site offline, and only the developer can vie

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash