Sql Query - TechRepublic
Question
January 25, 2007 at 06:50 AM
akshar108

Sql Query

by akshar108 . Updated 19 years, 5 months ago

i have one complecated sql quert please help me in that
the situation is like this i have one table like
bill(table name)id,date,status in that status
is always 1 or 0 and
other table like
billdetail(table name)
id,bill_id(fk of first table),itm_id(fk of third table),amount

other table is
itm(table name)
id,name

now i want to create one quert that can give me
name of item’s sales in between two date which i give monthwise and whose bill status is one

so please help me in this
id

This discussion is locked

All Comments