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 traditional network library for sql servers? : Sql server database administration

892


On a windows server 2003 active – passive failover cluster, how do you find the node which is active?

1161


What is row_number function?

942


How to create and drop temp table in sql server?

1001


Explain about protocol layer present in SQL server?

1102


Do you know what is normalization of database? What are its benefits?

1028


What is use of @@ spid in sql server?

1144


How to identify current user in ssrs report?

390


what are the important architecture components of SSRS?

124


What is failover clustering overview?

1020


What do you understand by mirroring and mention the advantages of the mirroring?

1008


What is policy based management (pbm)? : sql server database administration

927


You want to be sure that queries in a database always execute at the maximum possible speed. To achieve this goal you have created various indexes on tables which other statement will keep the database in good condition?

986


Why union all is faster than union?

864


Explain rdbms?

979