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 / nishadks
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:
-------
DDD
| Is This Answer Correct ? | 19 Yes | 2 No |
Post New Answer View All Answers
What are the different types of upgrades that can be performed in sql server?
What is the difference between count and distinct count?
Can a stored procedure call itself or recursive stored procedure? How many levels sp nesting is possible?
Difference between 2NF &3NF ?
Describe the functionalities that views support.
Explain nested join?
What is the dbcc command and why is it used?
Give me a SQL Query to find out the second largest company?
What are the differences between lost updates and uncommitted dependencies?
What stored by the tempdb ? : sql server database administration
Define a cross join?
What to check if a User database is locked?
Tell me the phases a transaction has to undergo?
Please explain what is “asynchronous” communication in sql server service broker?
When is the use of update_statistics command?