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 / sagar shinde

--Query for 1
update EMPLOYEE
set GENDER = decode(GENDER,'M','F','M')
/
--Query for 2
select GENDER,count(*)
from EMPLOYEE
group by GENDER

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is auto invoicing? Explain : oracle accounts receivable

1126


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

2103


How would you determine what sessions are connected and what resources they are waiting for?

2127


which one is currently in used software cmpanies.

2155


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

1092


Differentiate between standard remittance and bills receivable remittance : oracle accounts receivable

1145


HOW TO SPOT AHIERARCHY?

2296


Tell me about entire study of finacle software as soon as possible? give me the idea about questions which coulb be asked in interview of pnb it officers?

7972


1. What is PO rate variance gain and loss?

2921


What are the different tools available for hot backups in Oracle? Is it preferable to take it manually all the time or it depends on the size of the database?

1349


what ASIS BUSINESS PROCESS IN ORACLE FINANCE

2281


i am pursuing mca and i want to do oracle apps technical in hydrabad, plz guide me tne best institue in hydrabad those have excellent knowledge in oracle apps.

2313


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

1173


what is difference between inner join & nested query or subqueries

3040


What is the use of transaction flexfield in autoinvoice? : oracle accounts receivable

1153