Re: Display only one value where there are more than one values for the first table
From: GD (NoSpam_g_du_at_comcast.net)
Date: 09/19/04
- Next message: GD: "Re: Display only one value where there are more than one values for the first table"
- Previous message: Joe Celko: "Re: Display only one value where there are more than one values for the first table"
- In reply to: nib: "Re: Display only one value where there are more than one values for the first table"
- Next in thread: Joe Celko: "Re: Display only one value where there are more than one values for the first table"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 18 Sep 2004 20:06:11 -0500
"nib" <nib@nibsworld.com> wrote in message
news:eH7be6dnEHA.132@TK2MSFTNGP09.phx.gbl...
> Display it in what?
Load it into a DataReader, then display it in a text box of a web
application using ADO.Net.
> GD wrote:
> > Hi,
> > Here is the query:
> > -------------------------------------------
> > select employees.LastName,orders.OrderID
> > from employees, orders
> > where employees.employeeID = orders.employeeID
> > ----------------------------------------------------
> >
> > It displays:
> > LastName OrderID
> > -----------------
> > Buchanan 10248
> > Buchanan 10254
> > Buchanan 10269
> > Callahan 10262
> > Callahan 10268
> > Callahan 10276
> > ------------------
> >
> > How can I display it like this:
> > LastName OrderID
> > -----------------
> > Buchanan
> > 10248
> > 10254
> > 10269
> > Callahan
> > 10262
> > 10268
> > 10276
> > ------------------
> >
> > Thanks.
> >
> > GD
> >
> >
- Next message: GD: "Re: Display only one value where there are more than one values for the first table"
- Previous message: Joe Celko: "Re: Display only one value where there are more than one values for the first table"
- In reply to: nib: "Re: Display only one value where there are more than one values for the first table"
- Next in thread: Joe Celko: "Re: Display only one value where there are more than one values for the first table"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|