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 / kart

select max(col1) col1,max(col2) col2,max(col3) col3
from table;


col1 col2 col3
dinesh suresh prkaesh

Is This Answer Correct ?    11 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the rollback statement?

1072


Which is faster view or stored procedure?

1012


What is the maximum number of columns in sql table?

1232


what is the command used to fetch first 5 characters of the string? : Sql dba

1687


Difference between truncate, delete and drop commands?

1145


Explain spool.

1219


Why do we go for stored procedures?

1128


What is not equal in sql?

1198


Why do we use set serveroutput on?

1015


What is full join?

1024


How do I find duplicates in sql?

984


Why use subqueries instead of joins?

1138


what is self join and what is the requirement of self join? : Sql dba

1194


How many sql commands are there?

1161


Define a temp table?

1082