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...

1.In a table Gender is a column in that male and female are
the two data.In a single statement i have to modify all male
to female and all female to male vice versa.
2.In a single query i need the count of male data,count of
female and total count

Answer Posted / kd

2.
select gender, count(*)
from employee
group by gender
union
select 'total' as gender, count(*)
from employee

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

HOW TO SAVE UNIVERSES AND DOCUMENTS IN THE REPOSITORY?

2017


3. Steps in UAT?

2373


difference of using cursor for loop and open,fetch,close.which one is better

1739


How I can load an image into image item on Forms. I want to know about built-ins and procedure. and also code for it.

2112


How many segment are present in Oracle Manufacturing

2262


Explain the difference between $ORACLE_HOME and $ORACLE_BASE.

7574


Explain accounting for invoice in advance and arrears. : oracle accounts receivable

1024


What is auto invoicing? Explain : oracle accounts receivable

1056


I need a Technical evaluation between Oracle and SAP ? please do a need ful.

1960


Give two methods you could use to determine what DDL changes have been made.

6689


what are the API of GL,PO,AP

2218


what are all the conversion and interfaces in GL,AP,AR,HRMS with example? otherwise send send link for these

2276


what are the tools used for oracle 10g in real time.

2377


What is autocashrule set? : oracle accounts receivable

1297


while creating requisitions i am unable to see the list of organisation can anyone help me out ?

2099