What is the disadvantage of using subquery exact after a
select statement?ex.
select (select * from sometable)
Answer / sandeep
Main difference is the outer and inner querries are
independent each other. This executes inner querry for each
and every rows in outer querry. It is better to use joins
instead of sub querries where it is possible. But in some
cases we cud use subquerries
| Is This Answer Correct ? | 12 Yes | 0 No |
Do you know nested transaction?
i have table students with fields classname,studname select * from students classname studname 1 xxxxx 1 yyyy 1 zzzz 2 qqqq 2 tttt 3 dsds 3 www i want the output should be No of students in class 1 : 3 No of students in class 2 : 2 No of students in class 3 : 2
Explain microsoft sql server functions?
Give main differences between "Truncate" and "Delete".
Will sql server 2005 allow you to reduce the size of a column?
What is the cpu pressure?
What is the difference between Triggers and Stored Procedure?
What is key set driven?
What samples and sample databases are provided by microsoft?
How can we improve performance by using SQL Server profiler?
Get Current System Date Time
List all the types of user-defined functions?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)