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 replace not in with not exist?

3799


where the dff data will be stored

2537


Differentiate between unidentified receipt, unapplied receipts and on account receipts? : oracle accounts receivable

1832


Differentiate between earned discounts and unearned discounts? : oracle accounts receivable

1223


what are the types of LIST REPORTS in cognos8BI? and what is the mean and use of METRIC STUDIO in Cognos 8.3BI?

2261


key flexfield structure

2233


What is the meaning of "Modulus" and "Alignment" in a datafile. Data file might be from any database. Data file is created through unloading data from a table. So, while loading this data into my table, I need to use these keywords. Could any one can help me regarding this?

2248


what are basic modules required to implement oracle application in any oraganisation?

2259


How would you determine who has added a row to a table?

2384


HOW TO SPOT AHIERARCHY?

2346


which one is currently in used software cmpanies.

2199


Explain how to account for bank charges deducted from amount received against an invoice. : oracle accounts receivable

1345


what are the API of GL,PO,AP

2311


WHAT ALL DIFFERENT OPTIONS PRESENT IN WEBI?

3016


What is mrc and what is its use? : oracle accounts receivable

1305