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 / raghu
Let's Say Struct of Table_Name is
Column_name Varchar, Service_id Int
Values:('AAA',2),('BBB',2),('CCC',2),('DDD',2)
ANS:
select column name from table name where
serviceid=2
ANS:
Column_name
----------------------
AAA
BBB
CCC
DDD
select max(column name) from table name
where serviceid=2;
ANS:
-------
AAA
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
What are different types of data sources?
Can you create a logon trigger in sql server 2005 express edition?
What are the types of user defined functions in sql server?
Do you know how to implement service broker?
Mention the different types of triggers?
Write a program to fetch first 10 records from a file?
what is new philosophy for database devises for sql server 7.0? : Sql server database administration
Can we call stored procedure in trigger?
Explain unique key in sql server?
What is resource governor in sql server?
How to get the definition of a view out of the sql server?
How to create a new login name in ms sql server?
What are difference between Cluster index and Non-Cluster index?
What are orphan records?
is it important for a database administrator to understand the operating system and file access? : Sql server administration