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

difference between select column name from table name where
serviceid=2; and select max(column name) from table name
where serviceid=2;
IN ORACLE

Answer Posted / manish

Let's Say Struct of Table_Name is
Column_name Varchar, Service_id Int

Values:('Z',2),('Y',2),('B',2),('C',2)

ANS:
select column name from table name where
serviceid=2
Will be 'C'

ANS:
select max(column name) from table name
where serviceid=2;
Will Be 'Z'

Is This Answer Correct ?    3 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a trace frag?

1068


Explain how does the report manager work in ssrs?

942


What are the 2 types of classifications of constraints in the sql server?

1109


Explain different types of BACKUPs avaialabe in SQL Server? Given a particular scenario, how would you go about choosing a backup plan?

1023


How many types of database relationship in sql server?

1037


What are the different authentication modes in sql server?

1096


What is function of CUBE ?

1020


Tell me what is difference between clustered and non clustered index?

932


What is the recommended total size of your memory optimized tables?

959


Can a stored procedure call itself or a recursive stored procedure? How many levels of sp nesting is possible?

1060


How would you choose between a clustered and a non-clustered index?

955


How do you delete a data source?

995


Can you explain various data region available in ssrs with their use?

963


What is @@error in sql?

1047


What are the properties of sub-query?

1063