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 important architecture components of SSRS?
Write a query to include a constraint, to check whether the employee salary is greater than 5000?
What is the osql utility?
What are the indexes in sql server?
What is full outer join in sql server joins?
What are the common performance issues in sql server?
I have triggers,views,functions,stored Procedures for a table. When I am dropping that table which objects are deleted?
What is an example of a foreign key?
Explain what are sparse columns?
Find first and last day of current month in sql server
What is the difference between lock, block and deadlock? : sql server database administration
what are the disadvantages of cursors? : Sql server database administration
What is use of dbcc commands?
What is normalization? Explain its different types?
How to automatically create a log when an exception is being received into SQL Server?