Re: a lil sql help please.

2006-07-09 Thread John L Meyer
m i l e s wrote: Hi, I have the following Query and Im a lil lost on this one SELECT DISTINCT tbe_orders.order_id, tbe_orders.order_date, tbe_orders.order_piececount FROM tbe_orders The query produces the following results: +++ + order_id +

Re: a lil sql help please.

2006-07-09 Thread Davor Dundovic
At 18:51 9.7.2006, you wrote: Hi, I have the following Query and Im a lil lost on this one SELECT DISTINCT tbe_orders.order_id, tbe_orders.order_date, tbe_orders.order_piececount FROM tbe_orders SELECT tbe_orders.order_id, tbe_orders.order_date, sum(tbe_orders.order_piececount) FROM t

a lil sql help please.

2006-07-09 Thread m i l e s
Hi, I have the following Query and Im a lil lost on this one SELECT DISTINCT tbe_orders.order_id, tbe_orders.order_date, tbe_orders.order_piececount FROM tbe_orders The query produces the following results: +++ + order_id + order_date + ord

SQL Help please

2003-09-11 Thread Dave Shelley
SQL guru's, I could use some help writing a bit of SQL. There's 3 tables: orderable_parts partID varchar, topCatID int, # top level category ID ... part_attributes partID varchar, attName varchar, attValue varchar, ... topcatattributevalues tcavID int, topCatID int, attName varchar, attValue varc

Re: SQL Help, Please...

2002-02-14 Thread Anvar Hussain K.M.
Hi, At 11:21 AM 14/02/2002 -0500, you wrote: >On Thursday 14 February 2002 07:58, Carl Shelbourne wrote: > > Hi > > > > I am trying to write an auction script that uses mysql as its backend. Each > > auction can have upto 25 sub auctions(cells) taking place. > > > > I'm trying to query the DB to

Re: SQL Help, Please...

2002-02-14 Thread Tod Harter
On Thursday 14 February 2002 07:58, Carl Shelbourne wrote: > Hi > > I am trying to write an auction script that uses mysql as its backend. Each > auction can have upto 25 sub auctions(cells) taking place. > > I'm trying to query the DB to give me a list of all the successfull bids > for each cell,

SQL Help, Please...

2002-02-14 Thread Carl Shelbourne
Hi I am trying to write an auction script that uses mysql as its backend. Each auction can have upto 25 sub auctions(cells) taking place. I'm trying to query the DB to give me a list of all the successfull bids for each cell, for each auction... SELECT b.auctionId, b.cellId, MAX(b.bid) as bid,