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

wirte a query to remove null? following table are

col1 col2 col3
dinesh null null
null suresh null
null null prakesh
i want the output like

col1 col2 col3
dinesh suresh prkaesh

Answer Posted / apsar

select distinct((select col1 from z1 where no is not null))col1,(select col2 from z1 where sal is not null)col2,select col3 from z1 where col is not null) from z1
Hint:z1 is Table Name

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why plvtab is considered as the easiest way to access the pl/sql table?

1194


Define sql delete statement.

989


How to create a menu in sqlplus or pl/sql?

1101


Can we use views in stored procedure?

1019


What is normalisation and its types?

989


What does the sign mean in sql?

967


What is a relationship and what are they?

1128


what are date and time functions in mysql? : Sql dba

964


Is a table valued function object?

999


What is cursor in pl sql?

1097


What are the basic techniques of indexing?

1050


How can we optimize a sql query?

1031


what is unique key constraint? : Sql dba

1022


What is an invalid partition table?

1011


What is difference between table and view?

1033