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

Does group by sort data?

859


How to make conditional sum in ssrs?

177


How many joins in sql server?

914


How to create a ddl trigger using "create trigger" statements?

1084


How to drop an existing schema in ms sql server?

1044


Explain transaction server implicit?

939


What is the name of the Database which IBM mainframe uses?

957


How to link tables in sql server?

903


What is the security principal at the database level that represents your session?

909


How do I run a trace in sql server?

950


How should i optimize the time for execution of stored procedure having single input and many output from the different tables?

1867


What happens if null values are involved in boolean operations?

955


What is the datatype of rowid?

892


How can you set the threshold at which sql server will generate keysets asynchronously?

955


How to convert numeric values to integers in ms sql server?

1025