Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

2. Display the item number and total cost for each order
line (total cost = no of items X item cost). Name the
calculated column TOTAL COST.

Answer Posted / ajit

select itemnum,totalcost
from <tab name>
group by cube(itemnum, totalcost);

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to drop an existing view in oracle?

903


How to convert characters to dates in oracle?

1023


Is it possible to set second Primary Key Constraint in a table in Oracle Database ?

1056


Explain the difference between sap and oracle?

974


Explain what are clusters?

1041


What is meant by raw datatype?

1003


Differentiate between translate and replace?

1038


How to drop a tablespace?

982


How to create a new table in oracle?

1065


What are the different types of synonyms?

1077


How to create a table index in oracle?

1082


What are the various oracle database objects?

1091


how to clone 9i Database on to 10g Database.

2285


What is a sub query? What are its various types?

1078


how to use select statement as formal parameter in procedure specification?(someone said that using string) ex:-procedure(a in number,select ename from emp ) i am asking syntax like this?

1948